Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15456 Umbrella JIRA for all subquery redesign related tasks and issues
  3. HIVE-15758

Allow correlated scalar subqueries with aggregates which has non-equi join predicates

    XMLWordPrintableJSON

Details

    Description

      Queries such as

       select * from part where p_size <> (select count(p_size) from part pp where part.p_type <> pp.p_type); 

      are currently not allowed since HIVE doesn't know how to rewrite such queries to preserve the correctness for cases when there is zero row

      Attachments

        1. HIVE-15758.1.patch
          46 kB
          Vineet Garg
        2. HIVE-15758.2.patch
          45 kB
          Vineet Garg
        3. HIVE-15758.3.patch
          46 kB
          Vineet Garg

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: