-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make location
in TableCreation
optional
#67
Comments
What do you think? cc @Fokko @liurenjie1024 @JanKaul |
Did I understand correctly that the If so, I would manage the |
@zeodtr What kind of catalog are you trying to implement? |
Do I understand correctly that @zeodtr's idea is to have the |
What I'm thinking is as explained by @Xuanwo:
I'm trying to implement a |
Ah okay, now I get it. Thanks for the explanation. I'm not really sure what the implications of this are. I think the |
I think by the openapi spec also says location field is optional: And it's reasonable to make it optional since a catalog may decide the directory layout of all tables by itself. |
I think this comment by @JanKaul summarizes the issue. The answer to the question is: it depends. For the REST catalog, the metadata is managed by the catalog. For the rest (Hive, Glue, Dynamo, SQL etc) the metadata is managed by the crate. I think it is reasonable to make it optional. In PyIceberg it is still required, but that's mostly since we haven't seen any situation where it was missing. |
I'm going to make this change. |
Originally posted by @zeodtr in #54 (comment)
The text was updated successfully, but these errors were encountered: