Skip to content
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

Core: Propagate catalog-level properties to iceberg-views. #11025

Closed
wants to merge 4 commits into from

Conversation

nk1506
Copy link
Contributor

@nk1506 nk1506 commented Aug 27, 2024

Similar like Iceberg-Table, allow view properties defaults to be configured at catalog level.

@@ -79,6 +79,7 @@ protected BaseViewBuilder(TableIdentifier identifier) {
Preconditions.checkArgument(
isValidIdentifier(identifier), "Invalid view identifier: %s", identifier);
this.identifier = identifier;
this.properties.putAll(tableDefaultProperties());
Copy link
Contributor

Choose a reason for hiding this comment

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

does it make sense to pass properties prefixed with table-default. to views? I think passing properties prefixed with view-default. seems more reasonable to me, which is being handled in #11064

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @nastra for reviewing it. I had this impression of applying catalog properties for both table and view. Else it will contain duplicate info for both table and view. Since #11064 is already in progress , Do you think I should continue this PR. It looks duplicate work for me. only diff is I am honoring table-override also with this PR.

WDYT? pl share the feedback.

@github-actions github-actions bot added the API label Sep 17, 2024
@nk1506
Copy link
Contributor Author

nk1506 commented Sep 17, 2024

Closing this, I will push this on the ongoing pr #11064

@nk1506 nk1506 closed this Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants