Flink: Support ALTER VIEW and add view-dialect-strict option in FlinkCatalog - #17874
Open
talatuyarer wants to merge 3 commits into
Open
Flink: Support ALTER VIEW and add view-dialect-strict option in FlinkCatalog#17874talatuyarer wants to merge 3 commits into
talatuyarer wants to merge 3 commits into
Conversation
…s, along with related test cases for view operations.
…properties and enforcing dialect strictness, along with corresponding test cases.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the Flink view DDL surface (follow-up to #17859 and #17873, part of #17858):
ALTER VIEW ... AS queryupdateProperties()as a set-only diff. Note that Flink's default SQL dialect has noALTER VIEW ... SETsyntax (onlyRENAMEandAS), 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.view-dialect-strict(defaultfalse) — when enabled, reading a view that has noflinkSQL 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.