danny0405 commented on code in PR #13632:
URL: https://github.com/apache/hudi/pull/13632#discussion_r2239465958


##########
hudi-hadoop-common/src/main/java/org/apache/hudi/common/util/AvroOrcUtils.java:
##########
@@ -496,13 +497,41 @@ public static Object readFromVector(TypeDescription type, 
ColumnVector colVector
       case SHORT:
         return (short) ((LongColumnVector) colVector).vector[vectorPos];
       case INT:
-        return (int) ((LongColumnVector) colVector).vector[vectorPos];
       case LONG:
-        return ((LongColumnVector) colVector).vector[vectorPos];
+        long longValue = ((LongColumnVector) colVector).vector[vectorPos];
+        switch (avroSchema.getType()) {
+          case INT:

Review Comment:
   I meant for the column pruning, not schema evolution I think, they are not 
very related?



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

Reply via email to