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

queries with star and gby produce incorrect results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      ctas_colname test uses these, for example
      This errors out:

       select key, sum(key) from src;

      But this passes:

       select *, sum(key), count(value) from src;

      It looks like it returns 2 sums and 2 counts

      Attachments

        1. HIVE-8512.01.patch
          60 kB
          Sergey Shelukhin
        2. HIVE-8512.patch
          33 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: