This is an automated email from the ASF dual-hosted git repository.
vinoyang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ca390fd [MINOR][DOCS] Fix hoodie.datasource.write.operation in
pyspark example (#2571)
ca390fd is described below
commit ca390fddd95106af6f9ae62cefad2c3eb766bcb2
Author: tooptoop4 <[email protected]>
AuthorDate: Sat Feb 13 08:13:07 2021 +0000
[MINOR][DOCS] Fix hoodie.datasource.write.operation in pyspark example
(#2571)
---
docs/_docs/0.7.0/1_1_quick_start_guide.md | 2 +-
docs/_docs/1_1_quick_start_guide.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/_docs/0.7.0/1_1_quick_start_guide.md
b/docs/_docs/0.7.0/1_1_quick_start_guide.md
index 423d36d..b0b341e 100644
--- a/docs/_docs/0.7.0/1_1_quick_start_guide.md
+++ b/docs/_docs/0.7.0/1_1_quick_start_guide.md
@@ -344,7 +344,7 @@ hudi_options = {
'hoodie.datasource.write.recordkey.field': 'uuid',
'hoodie.datasource.write.partitionpath.field': 'partitionpath',
'hoodie.datasource.write.table.name': tableName,
- 'hoodie.datasource.write.operation': 'insert',
+ 'hoodie.datasource.write.operation': 'upsert',
'hoodie.datasource.write.precombine.field': 'ts',
'hoodie.upsert.shuffle.parallelism': 2,
'hoodie.insert.shuffle.parallelism': 2
diff --git a/docs/_docs/1_1_quick_start_guide.md
b/docs/_docs/1_1_quick_start_guide.md
index b431390..cccf748 100644
--- a/docs/_docs/1_1_quick_start_guide.md
+++ b/docs/_docs/1_1_quick_start_guide.md
@@ -343,7 +343,7 @@ hudi_options = {
'hoodie.datasource.write.recordkey.field': 'uuid',
'hoodie.datasource.write.partitionpath.field': 'partitionpath',
'hoodie.datasource.write.table.name': tableName,
- 'hoodie.datasource.write.operation': 'insert',
+ 'hoodie.datasource.write.operation': 'upsert',
'hoodie.datasource.write.precombine.field': 'ts',
'hoodie.upsert.shuffle.parallelism': 2,
'hoodie.insert.shuffle.parallelism': 2