You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by si...@apache.org on 2021/08/26 23:38:22 UTC
[hudi] branch asf-site updated: [MINOR] Minor fixes in quick start
page (#3548)
This is an automated email from the ASF dual-hosted git repository.
sivabalan 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 f86a1eb [MINOR] Minor fixes in quick start page (#3548)
f86a1eb is described below
commit f86a1eb31a7abb8e4806a1cebb17c58e7ee22c19
Author: Sivabalan Narayanan <si...@uber.com>
AuthorDate: Thu Aug 26 19:38:10 2021 -0400
[MINOR] Minor fixes in quick start page (#3548)
---
website/docs/quick-start-guide.md | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/website/docs/quick-start-guide.md b/website/docs/quick-start-guide.md
index 8f60f86..39cf458 100644
--- a/website/docs/quick-start-guide.md
+++ b/website/docs/quick-start-guide.md
@@ -446,11 +446,8 @@ Here we are using the default write operation : `upsert`. If you have a workload
`insert` or `bulk_insert` operations which could be faster. To know more, refer to [Write operations](/docs/writing_data#write-operations)
:::
-**Note:** For non-partitioned table, set
- ```
- option(KEYGENERATOR_CLASS_PROP, "org.apache.hudi.keygen.NonpartitionedKeyGenerator")
- ```
- Checkout https://hudi.apache.org/blog/2021/02/13/hudi-key-generators for more options
+Checkout https://hudi.apache.org/blog/2021/02/13/hudi-key-generators for various key generator options, like Timestamp based,
+complex, custom, NonPartitioned Key gen, etc.
## Query data
@@ -478,7 +475,7 @@ spark.sql("select fare, begin_lon, begin_lat, ts from hudi_trips_snapshot where
spark.sql("select _hoodie_commit_time, _hoodie_record_key, _hoodie_partition_path, rider, driver, fare from hudi_trips_snapshot").show()
```
-**Time Travel Query**
+### Time Travel Query
Hudi support time travel query since 0.9.0. Currently three query time format are supported:
```scala
@@ -904,12 +901,6 @@ Only `Append` mode is supported for delete operation.
See the [deletion section](/docs/writing_data#deletes) of the writing data page for more details.
-**Note:** For non-partitioned table, set
- ```
- option(KEYGENERATOR_CLASS_PROP, "org.apache.hudi.keygen.NonpartitionedKeyGenerator")
- ```
- Checkout https://hudi.apache.org/blog/2021/02/13/hudi-key-generators for more options
-
## Insert Overwrite Table
Generate some new trips, overwrite the table logically at the Hudi metadata level. The Hudi cleaner will eventually