You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2021/03/18 02:39:00 UTC

[jira] [Created] (HUDI-1704) Use PRIMARY KEY syntax to define record keys for Flink Hudi table

Danny Chen created HUDI-1704:
--------------------------------

             Summary: Use PRIMARY KEY syntax to define record keys for Flink Hudi table
                 Key: HUDI-1704
                 URL: https://issues.apache.org/jira/browse/HUDI-1704
             Project: Apache Hudi
          Issue Type: Sub-task
          Components: Flink Integration
            Reporter: Danny Chen
            Assignee: Danny Chen
             Fix For: 0.8.0


The SQL PRIMARY KEY semantics is very same with Hoodie record key, using PRIMARY KEY is more straight-forward way instead of a table option: hoodie.datasource.write.recordkey.field.

After this change, both PRIMARY KEY and table option can define hoodie record key, while the PRIMARY KEY has higher priority if both are defined.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)