Hive
  1. Hive
  2. HIVE-4160 Vectorized Query Execution in Hive
  3. HIVE-6186

error in vectorized Column-Column comparison filter for repeating case

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      FilterColumnCompareColumn.txt contains this code:

      } else if (inputColVector1.isRepeating && inputColVector2.isRepeating) {
      if (nullPos1[0] || nullPos2[0])

      { batch.size = 0; }

      This code examines nullPos1[0] and nullPos2[0] without checking that noNulls==false for the appropriate vector. This could lead to incorrect results.

      We should review the case analysis for this template more generally to make sure that all combinations are covered:

      left.noNulls right.noNulls
      T T
      F T
      T F
      F F

        Activity

          People

          • Assignee:
            Eric Hanson
            Reporter:
            Eric Hanson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development