yihua commented on code in PR #11302:
URL: https://github.com/apache/hudi/pull/11302#discussion_r1614727283


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/HoodieSparkParquetReader.java:
##########
@@ -69,7 +69,7 @@ public HoodieSparkParquetReader(HoodieStorage storage, 
StoragePath path) {
     this.storage = storage.newInstance(path, storage.getConf().newInstance());
     // Avoid adding record in list element when convert parquet schema to avro 
schema
     this.storage.getConf().set(ADD_LIST_ELEMENT_RECORDS, "false");
-    this.parquetUtils = FileFormatUtils.getInstance(HoodieFileFormat.PARQUET);
+    this.parquetUtils = new 
HoodieSparkIOFactory(storage).getFileFormatUtils(HoodieFileFormat.PARQUET);

Review Comment:
   Yes.  Given this Spark so I hardcoded it.  Fix now. 



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