Skip to content

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

Closed
nk1506 wants to merge 4 commits intoapache:mainfrom
nk1506:view_catalog_props
Closed

Core: Propagate catalog-level properties to iceberg-views.#11025
nk1506 wants to merge 4 commits intoapache:mainfrom
nk1506:view_catalog_props

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.

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