Skip to content

chore: hms/glue catalog create table should respect default location #1302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 15, 2025

Conversation

sundy-li
Copy link
Contributor

@sundy-li sundy-li commented May 8, 2025

What changes are included in this PR?

The glue/hms catalog will throw error Can't create table without location if table did not have location option.

We need to inject the default location before TableMetadataBuilder::from_table_creation

Are these changes tested?

unit test

@sundy-li sundy-li changed the title chore: hms catalog create table should respect default location chore: hms/glue catalog create table should respect default location May 8, 2025
@sundy-li
Copy link
Contributor Author

review cc @Xuanwo

Copy link
Contributor

@sdd sdd left a comment

Choose a reason for hiding this comment

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

Makes sense to me, one minor suggestion

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

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

Thanks @sundy-li for this pr! Just one minor nit.

@sundy-li sundy-li requested review from liurenjie1024 and sdd May 13, 2025 01:00
@liurenjie1024
Copy link
Contributor

cc @sdd for another review

@liurenjie1024 liurenjie1024 merged commit c79eb1b into apache:main May 15, 2025
17 checks passed
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.

3 participants