Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4160 Vectorized Query Execution in Hive
  3. HIVE-5877

Implement vectorized support for IN as boolean-valued expression

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      Implement support for IN as a Boolean-valued expression, e..g.

      select col1 IN (1, 2, 3) from T;

      or

      select col1
      from T
      where NOT (col1 IN (1, 2, 3));

      This will also automatically add support for NOT IN because NOT IN is automatically transformed into NOT ( ... IN ... ) by the parser.

        Attachments

        1. HIVE-5877.1.patch
          38 kB
          Eric N. Hanson
        2. HIVE-5877.2.patch
          37 kB
          Eric N. Hanson
        3. HIVE-5877.3.patch
          37 kB
          Eric N. Hanson
        4. HIVE-5877.4.patch
          37 kB
          Eric N. Hanson

          Issue Links

            Activity

              People

              • Assignee:
                ehans Eric N. Hanson
                Reporter:
                ehans Eric N. Hanson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: