geserdugarov commented on code in PR #12796:
URL: https://github.com/apache/hudi/pull/12796#discussion_r1957587073
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bucket/BucketStreamWriteFunction.java:
##########
@@ -121,21 +126,34 @@ public void snapshotState() {
}
@Override
- public void processElement(I i, ProcessFunction<I, Object>.Context context,
Collector<Object> collector) throws Exception {
- HoodieRecord<?> record = (HoodieRecord<?>) i;
- final HoodieKey hoodieKey = record.getKey();
- final String partition = hoodieKey.getPartitionPath();
- final HoodieRecordLocation location;
+ public void processElement(HoodieFlinkInternalRow record,
+ ProcessFunction<HoodieFlinkInternalRow,
Object>.Context context,
+ Collector<Object> collector) throws Exception {
+ RowData row = record.getRowData();
+ // [HUDI-8969] Analyze how to get rid of excessive conversions, should be
a subtask of RFC-88
Review Comment:
Need some time to think about it. Actually, it would be another step towards
our common goal, which is good.
--
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]