Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2113

[Storm SQL] 'OR' and 'AND' operators cannot handle more than 2 operands

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • storm-sql
    • None

    Description

      When we use 'IN' statement, Calcite is converting this statement of 'OR' with multiple arguments.

      While testing I found current 'OR' implementation cannot handle more than 2 parameters, which effectively introduce a bug on 'IN' (and 'NOT IN').

      It should be fixed to support 'IN' properly. Also need to consider applying 'short curcuit' on that.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kabhwan Jungtaek Lim
            kabhwan Jungtaek Lim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment