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

MAX/MIN aggregates yield incorrect results

    XMLWordPrintableJSON

Details

    Description

      With the dataset attached by Tony, running:

      select max(ctinyint), max(csmallint), max(cint), max(cbigint), max(cfloat), max(cdouble) from alltypes_orc;

      this is the result in rowmode:
      OK
      62 16379 1073737829 2146661184 62.0 16376.0

      This is the result in vector mode:
      OK
      1 16379 1071926788 -106115134 62.0 16361.0

      Attachments

        1. HIVE-4931.1.patch
          18 kB
          Remus Rusanu

        Activity

          People

            rusanu Remus Rusanu
            rusanu Remus Rusanu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: