This is an automated email from the ASF dual-hosted git repository. leesf pushed a commit to branch task#69426984_upgrade_hudi_version in repository https://gitbox.apache.org/repos/asf/hudi.git
commit 8c80bab0fc18aa48e2c87a5dc5819d69f64b8a0a Author: fengze <[email protected]> AuthorDate: Tue Jul 16 15:26:31 2024 +0800 to #58153311 add path config when creating hoodie table --- .../org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala b/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala index a857c3a5ded0..74985fe08efe 100644 --- a/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala +++ b/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala @@ -148,8 +148,8 @@ object CreateHoodieTableCommand { var newTblProperties = hoodieCatalogTable.catalogProperties.--(needFilterProps) ++ HoodieOptionConfig.extractSqlOptions(properties) - // Add provider -> hudi as a table property - newTblProperties = newTblProperties + ("provider" -> "hudi") + // Add provider -> hudi and path as a table property + newTblProperties = newTblProperties + ("provider" -> "hudi") + ("path" -> path) val newTable = table.copy( identifier = newTableIdentifier,
