Aggarwal-Raghav commented on PR #6239:
URL: https://github.com/apache/hive/pull/6239#issuecomment-3664306856

   **Explanation:**
   
   In `Vectorizer.java` the `hashTableKeyType`is getting set as `DATE` for 
`DATE` column type
   
https://github.com/apache/hive/blob/5410b7338cacf7f31612a7c475f0cf5fa2e9c6bd/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java#L3455
   
   But the `DATE` type is not present 
`VectorMapJoinOuterGenerateResultOperator` in :
   
https://github.com/apache/hive/blob/c23751026698d130e8ba1a1b156c4cd7f2681992/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinOuterGenerateResultOperator.java#L821
   
   For `Double` and `Timestamp` Columns, they are working without the patch as 
well because the default hashTableKeyType is `MULTI_KEY` 
https://github.com/apache/hive/blob/5410b7338cacf7f31612a7c475f0cf5fa2e9c6bd/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java#L3429
 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to