LuciferYang commented on code in PR #36616:
URL: https://github.com/apache/spark/pull/36616#discussion_r900787363
##########
sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnVectorUtils.java:
##########
@@ -105,6 +106,73 @@ public static void populate(WritableColumnVector col,
InternalRow row, int field
}
}
+ /**
+ * Fill value of `row[fieldIdx]` into `ConstantColumnVector`.
+ */
+ public static void fill(ConstantColumnVector col, InternalRow row, int
fieldIdx) {
Review Comment:
Yes, the other `populate` can be deleted after a similar change to `Orc` is
completed
--
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]