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

Wrong simplification in query with multiple IN clauses

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              jcamachorodriguez Jesus Camacho Rodriguez Assign to me
              Reporter:
              odraese Oliver Draese

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment