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

Scalar subquery with group by missing sq_count_check UDF

    XMLWordPrintableJSON

Details

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

    Description

      Query such as

      explain  select * from part where p_size > (select max(p_size) from part group by p_type);
      

      is missing sq_count_check UDF which ensures there is at most one row coming from subquery.

      This problem was originally reported as part of HIVE-16793

      Attachments

        1. HIVE-16851.1.patch
          19 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: