question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does hudi support composite primary key upserts?

See original GitHub issue

I found the field RECORDKEY_FIELD_OPT_KEY in write options with default value uuid. Does it support the composite primary key ? If does, how can I set the composite primary key in string format ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
vinothchandarcommented, Jul 11, 2020

@pratyakshsharma thanks for the followup!

1reaction
pratyakshsharmacommented, Jul 10, 2020

@kirkuz The documentation was a bit delayed due to some reasons. I will be raising a PR for updating the documentation by tomorrow positively. In the mean time, I can try helping you here as much as I can. 😃 Please let me know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does hudi support composite primary key upserts? · Issue #528
Hudi does support composite primary keys. The Key generation is a pluggable component in Hudi. By default, Hudi uses SimpleKeyGenerator (https ...
Read more >
Writing Data | Apache Hudi
Insert mode : Hudi supports two insert modes when inserting data to a table with primary key(we call it pk-table as followed): ·...
Read more >
All Configurations | Apache Hudi
Spark Datasource Configs: These configs control the Hudi Spark Datasource, providing ability to define keys/partitioning, pick out the write operation, specify ...
Read more >
SQL DDL - Apache Hudi
Here is an example of creating COW table with a primary key 'id'. -- create a managed cow table ... Hudi supports CTAS(Create...
Read more >
Apache Hudi Key Generators
Every record in Hudi is uniquely identified by a primary key, which is a ... In general, Hudi supports both partitioned and global...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found