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

Wrong simplification in query with multiple IN clauses

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 4.0.0
    • Component/s: CBO
    • Labels:
      None

      Description

      Simple test to reproduce:

      select * from table1 where name IN(‘g’,‘r’) AND name IN(‘a’,‘b’);
      

        Attachments

        1. HIVE-21685.patch
          4 kB
          Jesus Camacho Rodriguez
        2. HIVE-21685.patch
          4 kB
          Jesus Camacho Rodriguez
        3. HIVE-21685.patch
          4 kB
          Jesus Camacho Rodriguez
        4. HIVE-21685.patch
          4 kB
          Jesus Camacho Rodriguez

          Activity

            People

            • Assignee:
              jcamachorodriguez Jesus Camacho Rodriguez
              Reporter:
              odraese Oliver Draese
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: