Skip to content

Flink: Support CREATE VIEW, DROP VIEW and ALTER VIEW RENAME in FlinkCatalog - #17873

Open
talatuyarer wants to merge 2 commits into
apache:mainfrom
talatuyarer:flink-views-write
Open

Flink: Support CREATE VIEW, DROP VIEW and ALTER VIEW RENAME in FlinkCatalog#17873
talatuyarer wants to merge 2 commits into
apache:mainfrom
talatuyarer:flink-views-write

Conversation

@talatuyarer

Copy link
Copy Markdown
Contributor

Adds the write path for Iceberg views to the Flink v2.3, following the read path in #17859 (part of #17858):

Following commands are implemented:

  • CREATE VIEW [IF NOT EXISTS] with comment and column list
  • DROP VIEW [IF EXISTS]
  • ALTER VIEW ... RENAME TO
  • ALTER VIEW ... AS now fails with a clear "Altering a view is not supported yet" instead of a misleading internal error; implementation is the next PR in the series.

CREATE OR REPLACE VIEW is intentionally absent. Flink (through 2.3) has no dispatch path for it on catalog views, so nothing ever reaches the catalog.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant