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


##########
hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieFileReaderFactory.java:
##########
@@ -70,7 +75,7 @@ public HoodieFileReader getFileReader(HoodieConfig 
hoodieConfig, StoragePath pat
                                         Option<HoodieSchema> schemaOption) 
throws IOException {
     switch (format) {
       case PARQUET:
-        return newParquetFileReader(path);
+        return newParquetFileReader(path, schemaOption);

Review Comment:
   since we have assumption that Flink only supports variant on 2.1 release 
with parquet 1.15.2+, do we still need to pass around these schemas? the 
parquet data type already has the type annotation right?



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