[KYUUBI #7377] KSHC create database respects catalog-level warehouse#7378
[KYUUBI #7377] KSHC create database respects catalog-level warehouse#7378maomaodev wants to merge 3 commits intoapache:masterfrom
Conversation
|
does table location have a similar issue? especially for creating a table under the default db |
pan3793
left a comment
There was a problem hiding this comment.
LGTM, pending CI.
Seems you didn't link your corp email address to your GitHub account, so your contributions won't be counted by GitHub, thus you require approval to run CI every time ...
Thanks for the reminder. I’ve just linked it and my corp email shows as "Verified". |
If no location is specified when creating table, a subdirectory will be automatically created under the database's location. So if the database's location is set correctly(this PR), the table's location will naturally be correct as well. |
|
thanks, merging to master |
Why are the changes needed?
When creating a database using KSHC, the database location does not respect
spark.sql.catalog.<catalog>.hive.metastore.warehouse.dir. Instead, it always falls back tospark.sql.warehouse.dir.How was this patch tested?
UT
Was this patch authored or co-authored using generative AI tooling?
No