aturoczy commented on code in PR #4379:
URL: https://github.com/apache/hive/pull/4379#discussion_r1214699760


##########
storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/Decimal64ColumnVector.java:
##########
@@ -136,12 +136,12 @@ public void setElement(int outputElementNum, int 
inputElementNum, ColumnVector i
           decimal64ColVector.vector[inputElementNum], 
decimal64ColVector.scale);
       scratchHiveDecWritable.mutateEnforcePrecisionScale(precision, scale);
       if (scratchHiveDecWritable.isSet()) {
-        vector[inputElementNum] = scratchHiveDecWritable.serialize64(scale);
+        vector[outputElementNum] = scratchHiveDecWritable.serialize64(scale);

Review Comment:
   Wong indexer? It was not covered with unit test?



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