trushev commented on code in PR #5443:
URL: https://github.com/apache/hudi/pull/5443#discussion_r874317481
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/util/RowDataProjection.java:
##########
@@ -61,7 +68,10 @@ public static RowDataProjection instance(LogicalType[]
types, int[] positions) {
public RowData project(RowData rowData) {
GenericRowData genericRowData = new
GenericRowData(this.fieldGetters.length);
for (int i = 0; i < this.fieldGetters.length; i++) {
Review Comment:
Faire enough. Fixed. I extended RowDataProjection instead of
`project(RowData rowData, CastMap castMap)` because it is convenient to keep
the `CastMap` inside the projection
--
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]