manojpec commented on a change in pull request #3974:
URL: https://github.com/apache/hudi/pull/3974#discussion_r747720123



##########
File path: 
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieFileIndex.scala
##########
@@ -129,7 +129,7 @@ case class HoodieFileIndex(
 
     // To support metadata listing via Spark SQL we allow users to pass the 
config via SQL Conf in spark session. Users
     // would be able to run SET hoodie.metadata.enable=true in the spark sql 
session to enable metadata listing.
-    properties.put(HoodieMetadataConfig.ENABLE,
+    properties.setProperty(HoodieMetadataConfig.ENABLE.key(),

Review comment:
       Previously we were putting the object, and now it is prop string, 
otherwise both `put()/setProperty()`  should work 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