jinxing64 commented on code in PR #5534:
URL: https://github.com/apache/hudi/pull/5534#discussion_r879055918


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/catalyst/catalog/HoodieCatalogTable.scala:
##########
@@ -274,15 +274,15 @@ class HoodieCatalogTable(val spark: SparkSession, val 
table: CatalogTable) exten
       }
     } else {
       extraConfig(HoodieTableConfig.HIVE_STYLE_PARTITIONING_ENABLE.key) = 
"true"
-      extraConfig(HoodieTableConfig.URL_ENCODE_PARTITIONING.key) = 
HoodieTableConfig.URL_ENCODE_PARTITIONING.defaultValue()
+      extraConfig(HoodieTableConfig.URL_ENCODE_PARTITIONING.key) = "true"

Review Comment:
   Current Hudi ProvidesHoodieConfig set default SQL configuration as 
(hivePartitioning=true, encodePartitionining=true, 
keyGenerator=SqlKeyGenerator). The change here adjusts configuration of 
HoodieCatalogTable be consistent with ProvidesConfig.  



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