jonvex commented on code in PR #13503:
URL: https://github.com/apache/hudi/pull/13503#discussion_r2190412234


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/streaming/HoodieStreamSourceV2.scala:
##########
@@ -52,6 +55,10 @@ class HoodieStreamSourceV2(sqlContext: SQLContext,
 
   private lazy val tableType = metaClient.getTableType
 
+  private lazy val useNewParquetFileFormat = 
parameters.getOrElse(HoodieReaderConfig.FILE_GROUP_READER_ENABLED.key(),
+    
HoodieReaderConfig.FILE_GROUP_READER_ENABLED.defaultValue().toString).toBoolean 
&&
+    !metaClient.isMetadataTable

Review Comment:
   It's enabled for the actual MDT. But for Spark Datasource it is prevented. 
https://github.com/apache/hudi/pull/13509 I created a pr where I got rid of 
that restriction to see the failing tests. It seems like it is an issue with 
spark schema vs avro schema. I think it's a related issue that this pr is 
trying to tackle: https://github.com/apache/hudi/pull/13288. There is a gap 
between avro and spark schema that we still need to close.



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