deniskuzZ commented on code in PR #6853:
URL: https://github.com/apache/hive/pull/6853#discussion_r4410059441


##########
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/ptf/VectorPTFOperator.java:
##########
@@ -315,6 +316,7 @@ protected void initializeOp(Configuration hconf) throws 
HiveException {
     currentPartitionDecimals = new HiveDecimalWritable[partitionKeyCount];
     currentPartitionTimestamps = new Timestamp[partitionKeyCount];
     currentPartitionIntervalDayTimes = new 
HiveIntervalDayTime[partitionKeyCount];
+    currentPartitionValues = new Object[partitionKeyCount];

Review Comment:
   doesn't it duplicate `getPartitionKey()`?
   getPartitionKey() already builds this Object[] and is passed to 
finishPartition



-- 
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