Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14194

Investigate optimizing the query compilation of long or-list in where statement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      If a query has a long OR-list, when possible, the OR-list can be optimized with IN-list to have better performance during compilation (resolved by HIVE-11424).

      select * from src 
      where key = 1
      or key =2
      or ....
      

      But for the cases which can't be converted e.g., if it contains key < 2, we will still have performance issue during compilation. Investigate if we can optimize it.

      Attachments

        Issue Links

          Activity

            People

              aihuaxu Aihua Xu
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: