This is an automated email from the ASF dual-hosted git repository.
vinoth 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 4f86e1d Travis CI build asf-site
4f86e1d is described below
commit 4f86e1d7d5f030bee450d5e8f6a760337fa6977b
Author: CI <[email protected]>
AuthorDate: Tue Apr 20 16:32:11 2021 +0000
Travis CI build asf-site
---
content/assets/js/lunr/lunr-store.js | 2 +-
content/blog/hudi-key-generators/index.html | 21 ++++++++++++---------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/content/assets/js/lunr/lunr-store.js
b/content/assets/js/lunr/lunr-store.js
index d73f822..02f99da 100644
--- a/content/assets/js/lunr/lunr-store.js
+++ b/content/assets/js/lunr/lunr-store.js
@@ -1680,7 +1680,7 @@ var store = [{
"url": "https://hudi.apache.org/blog/hudi-clustering-intro/",
"teaser":"https://hudi.apache.org/assets/images/500x300.png"},{
"title": "Apache Hudi Key Generators",
- "excerpt":"Every record in Hudi is uniquely identified by a HoodieKey,
which is a pair of record key and partition path where the record belongs to.
Hudi has imposed this constraint so that updates and deletes can be applied to
the record of interest. Hudi relies on the partition path
field...","categories": ["blog"],
+ "excerpt":"Every record in Hudi is uniquely identified by a primary
key, which is a pair of record key and partition path where the record belongs
to. Using primary keys, Hudi can impose a) partition level uniqueness integrity
constraint b) enable fast updates and deletes on records. One should choose
the...","categories": ["blog"],
"tags": [],
"url": "https://hudi.apache.org/blog/hudi-key-generators/",
"teaser":"https://hudi.apache.org/assets/images/500x300.png"},{
diff --git a/content/blog/hudi-key-generators/index.html
b/content/blog/hudi-key-generators/index.html
index 88d128c..6f87f06 100644
--- a/content/blog/hudi-key-generators/index.html
+++ b/content/blog/hudi-key-generators/index.html
@@ -197,18 +197,21 @@
}
</style>
- <p>Every record in Hudi is uniquely identified by a HoodieKey, which
is a pair of record key and partition path where the
-record belongs to. Hudi has imposed this constraint so that updates and
deletes can be applied to the record of interest.
-Hudi relies on the partition path field to partition your dataset and records
within a partition have unique record keys.
-Since uniqueness is guaranteed only within the partition, there could be
records with same record keys across different
-partitions. One should choose the partition field wisely as it could be a
determining factor for your ingestion and
-query latency.</p>
+ <p>Every record in Hudi is uniquely identified by a primary key, which
is a pair of record key and partition path where
+the record belongs to. Using primary keys, Hudi can impose a) partition level
uniqueness integrity constraint
+b) enable fast updates and deletes on records. One should choose the
partitioning scheme wisely as it could be a
+determining factor for your ingestion and query latency.</p>
+
+<p>In general, Hudi supports both partitioned and global indexes. For a
dataset with partitioned index(which is most
+commonly used), each record is uniquely identified by a pair of record key and
partition path. But for a dataset with
+global index, each record is uniquely identified by just the record key. There
won’t be any duplicate record keys across
+partitions.</p>
<h2 id="key-generators">Key Generators</h2>
-<p>Hudi exposes a number of out of the box key generators that customers can
use based on their need. Or can have their
-own implementation for the KeyGenerator. This blog goes over all different
types of key generators that are readily
-available to use.</p>
+<p>Hudi provides several key generators out of the box that users can use
based on their need, while having a pluggable
+implementation for users to implement and use their own KeyGenerator. This
blog goes over all different types of key
+generators that are readily available to use.</p>
<p><a
href="https://github.com/apache/hudi/blob/master/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/keygen/KeyGenerator.java">Here</a>
is the interface for KeyGenerator in Hudi for your reference.</p>