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


##########
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:
   I guess there is also no need to add schema for COW write path.



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