This is an automated email from the ASF dual-hosted git repository.
zhiwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 9ce548e [MINOR] fix compile error in compaction command (#3421)
9ce548e is described below
commit 9ce548edb1b534029fa0f0617dadc3d54cdb8999
Author: pengzhiwei <[email protected]>
AuthorDate: Fri Aug 6 16:18:19 2021 +0800
[MINOR] fix compile error in compaction command (#3421)
---
.../org/apache/spark/sql/hudi/command/CompactionHoodiePathCommand.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/CompactionHoodiePathCommand.scala
b/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/CompactionHoodiePathCommand.scala
index c8c772a..e310da6 100644
---
a/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/CompactionHoodiePathCommand.scala
+++
b/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/CompactionHoodiePathCommand.scala
@@ -52,7 +52,7 @@ case class CompactionHoodiePathCommand(path: String,
val parameters = HoodieWriterUtils.parametersWithWriteDefaults(
HoodieSqlUtils.withSparkConf(sparkSession, Map.empty)(
Map(
- DataSourceWriteOptions.TABLE_TYPE_OPT_KEY.key() ->
HoodieTableType.MERGE_ON_READ.name()
+ DataSourceWriteOptions.TABLE_TYPE.key() ->
HoodieTableType.MERGE_ON_READ.name()
)
)
)