Uh oh!
There was an error while loading. Please reload this page.
Remove redundant table properties when KSHC create table - #7406
Remove redundant table properties when KSHC create table#7406maomaodev wants to merge 3 commits into
Conversation
how does this happen for SQL cases? I thought it should be handled by |
maomaodev
commented
Apr 16, 2026
|
pan3793
commented
Apr 16, 2026
thanks, merged to master |
Why are the changes needed?
Fixed#6443. When creating an external table via KSHC with
EXTERNALandLOCATIONspecified, the KSHC table properties will includeexternal=true(lowercase). Meanwhile, Hive Metastore automatically appendsEXTERNAL=TRUE(uppercase). On some metastore backends (e.g. MySQL with a case-insensitive collation), this leads to a duplicate primary key conflict in TABLE_PARAMS.This PR removes redundant table properties when KSHC creates tables. For example, the
externalproperty will be excluded.How was this patch tested?
UT
Was this patch authored or co-authored using generative AI tooling?
No