slinkydeveloper commented on a change in pull request #17544:
URL: https://github.com/apache/flink/pull/17544#discussion_r739053775
##########
File path:
flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/filesystem/FileInfoExtractorBulkFormat.java
##########
@@ -93,10 +129,36 @@ public boolean isSplittable() {
}
private Reader<RowData> wrapReader(Reader<RowData> superReader,
FileSourceSplit split) {
- // Fill the metadata row
- final GenericRowData metadataRowData = new
GenericRowData(metadataColumnsFunctions.size());
- for (int i = 0; i < metadataColumnsFunctions.size(); i++) {
- metadataRowData.setField(i,
metadataColumnsFunctions.get(i).getValue(split));
+ // Fill the metadata + partition columns row
+ final GenericRowData metadataRowData =
Review comment:
Named `fileInfoRowData`
--
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]