Skip to content

Conversation

@FangYongs
Copy link
Contributor

At present, the table store does not verify the primary key type. Users can create primary keys on any data type. Some primary key types such as array, map, etc. are meaningless.

This PR refers to the primary key type of hive in https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTableCreate/Drop/TruncateTable , and restricts the primary key type of the table store.

@FangYongs
Copy link
Contributor Author

CI fails due to HiveE2E, which is a known issue and has created in https://issues.apache.org/jira/browse/FLINK-30038

@FangYongs FangYongs force-pushed the FLINK_30033_primary_key_data_type_validation branch from 1113db2 to 90ba8ed Compare November 17, 2022 06:10
Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me!

@JingsongLi JingsongLi merged commit 03cfe95 into apache:master Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants