XMLWordPrintableJSON

Details

    Description

      Currently HIVE doesn't allow correlated EXISTS/NOT EXISTS subqueries which has aggregate without group by e.g.

       select *
      from src b 
      where exists 
        (select count(*) 
        from src a 
        where b.value = a.value  and a.key = b.key and a.value > 'val_9'
        ) ;
      

      Such queries could be rewritten to replace EXISTS/NOT EXISTS predicate with true or false based on aggregate.

      Attachments

        Issue Links

          Activity

            People

              kkasa Krisztian Kasa
              vgarg Vineet Garg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m