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

Vectorization: Fix NULL / Wrong Results issues in Filter / Compare

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Hive
    • Labels:
      None

      Description

      Write new UT tests that use random data and intentional isRepeating batches to checks for NULL and Wrong Results for vectorized filter and compare.

      BUGS:

      1) LongColLessLongColumn SIMD optimization do not work for very large integers:
      -7272907770454997143 < 8976171455044006767
      outputVector[i] = (vector1[i] - vector2[i]) >>> 63;
      Produces 0 instead of 1...

      Also, add DECIMAL_64 testing. Add missing DECIMAL/DECIMAL_64 Comparison and IF vectorized expression classes.

        Attachments

        1. HIVE-20207.01.patch
          280 kB
          Matt McCline
        2. HIVE-20207.02.patch
          331 kB
          Matt McCline
        3. HIVE-20207.03.patch
          393 kB
          Matt McCline
        4. HIVE-20207.04.patch
          468 kB
          Matt McCline
        5. HIVE-20207.05.patch
          469 kB
          Matt McCline
        6. HIVE-20207.06.patch
          469 kB
          Matt McCline
        7. HIVE-20207.07.patch
          624 kB
          Matt McCline
        8. HIVE-20207.08.patch
          624 kB
          Matt McCline

          Issue Links

            Activity

              People

              • Assignee:
                mmccline Matt McCline
                Reporter:
                mmccline Matt McCline
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: