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

Allow creating views with properties #20992

Open
2 of 5 tasks
Praveen2112 opened this issue Mar 8, 2024 · 1 comment
Open
2 of 5 tasks

Allow creating views with properties #20992

Praveen2112 opened this issue Mar 8, 2024 · 1 comment
Assignees

Comments

@Praveen2112
Copy link
Member

Praveen2112 commented Mar 8, 2024

Background and Motivation

Currently Tables and Materialized Views has an option to provide properties as a part of its definition, we would like to extend the same to Views as well. The proposed syntax would be

CREATE VIEW view_name WITH (property_key = 'property_value') AS SELECT ...

Implementation details

On the implementation side - we have two options

  1. Maintain the view properties as a part of ConnectorViewDefinition - like ConnectorTableMetadata
  2. Handle a different set of APIs specific like we do for MaterializedViews like getMaterializedViewProperties.

Which option could we consider ?

Tasks

@Praveen2112
Copy link
Member Author

@martint Can you please confirm the proposed syntax.

cc: @findepi / @findinpath On how could we extend them to other connectors like iceberg or delta lake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants