Skip to content

Flink: Support ALTER VIEW and add view-dialect-strict option in FlinkCatalog - #17874

Open
talatuyarer wants to merge 3 commits into
apache:mainfrom
talatuyarer:flink-views-alter
Open

Flink: Support ALTER VIEW and add view-dialect-strict option in FlinkCatalog#17874
talatuyarer wants to merge 3 commits into
apache:mainfrom
talatuyarer:flink-views-alter

Conversation

@talatuyarer

Copy link
Copy Markdown
Contributor

Completes the Flink view DDL surface (follow-up to #17859 and #17873, part of #17858):

  • ALTER VIEW ... AS query
  • View property updates — applied through updateProperties() as a set-only diff. Note that Flink's default SQL dialect has no ALTER VIEW ... SET syntax (onlyRENAME and AS), so property changes arrive via the catalog API (e.g. from the Hive dialect); the diff is set-only because Flink SQL cannot express removals and removing keys absent from the incoming options could strip properties Flink does not carry over.
  • New catalog option view-dialect-strict (default false) — when enabled, reading a view that has no flink SQL representation fails fast instead of falling back to the closest dialect. The default remains the lenient closest-match behavior documented in the read-path PR.

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