You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "empcl (via GitHub)" <gi...@apache.org> on 2023/12/05 11:57:24 UTC
Re: [PR] [HUDI-7136] in the dfs catalog scenario, solve the problem of Primary key definit… [hudi]
empcl commented on PR #10162:
URL: https://github.com/apache/hudi/pull/10162#issuecomment-1840651542
`HoodieHiveCatalog#instantiateHiveTable() {
Map<String, String> properties = new HashMap<>(table.getOptions());
if (table.getUnresolvedSchema().getPrimaryKey().isPresent()
&& !properties.containsKey(FlinkOptions.RECORD_KEY_FIELD.key())) {
String pkColumns = String.join(",", table.getUnresolvedSchema().getPrimaryKey().get().getColumnNames());
....
}
}`
@danny0405 hi, properties contain RECORD_ KEY_ FIELD configuration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org