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

Correlated IN subquery with aggregate asserts in sq_count_check UDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      Reproducer

      create table t(i int, j int);
      insert into t values(0,1), (0,2);
      
      create table tt(i int, j int);
      insert into tt values(0,3);
      
      select * from t where i IN (select count(i) from tt where tt.j = t.j);
      

      Attachments

        1. HIVE-16002.3.patch
          4 kB
          Vineet Garg
        2. HIVE-16002.2.patch
          2 kB
          Vineet Garg
        3. HIVE-16002.1.patch
          2 kB
          Vineet Garg

        Issue Links

          Activity

            People

              vgarg Vineet Garg
              vgarg Vineet Garg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: