Skip to content

Conversation

@yingjianwu98
Copy link
Contributor

@yingjianwu98 yingjianwu98 commented Jul 28, 2025

Which issue does this PR close?

Closes #1555

What changes are included in this PR?

Make create_table operation in all the following catalogs Glue, HMS,S3Table,Sql to use MetadataLocation::new_with_table_location when creating the metadata_locations

Note looks like previously the sqlCatalog generates a wrong format of the metadata.json where it does not padding with 5 zero for the first metadata.json and instead it just pad one 0.

Are these changes tested?

Existing tests

@yingjianwu98 yingjianwu98 changed the title wip Refactor: use metadatalocaiton:new_with_table_location in catalog create_table Jul 28, 2025
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 @stevie9868 for this pr, LGTM!

@liurenjie1024 liurenjie1024 merged commit 195fb73 into apache:main Jul 29, 2025
18 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.

Refactor catalogs to use MetadataLocation for metadata location path related operations

2 participants