Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4160 Vectorized Query Execution in Hive
  3. HIVE-4687

incorrect result for max aggregate over int column

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • vectorization-branch
    • None
    • Query Processor
    • None

    Description

      select max(dnumbertables23008) from factsqlengineam_vec_orc where ddate = "2013-01-08 00:00:00";

      result: 241012

      select max(dnumbertables23008) from factsqlengineam_orc where ddate = "2013-01-08 00:00:00";

      result: 1052436

      Result is also 1052436 for text version of table.

      Also, for this query:

      select ddate, max(dnumbertables23008) from factsqlengineam_vec_orc group by ddate;

      the MAX result is correct for all ddate values (about 365 of them) except for ddate = "2013-01-08 00:00:00", when compared with the result for text.

      Let me know if you need help to set up this repro.

      Attachments

        Issue Links

          Activity

            People

              rusanu Remus Rusanu
              ehans Eric N. Hanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: