[FLINK-39199][table] CREATE OR ALTER MATERIALIZED TABLE doesn't support table options changes#27729
Open
snuyanzin wants to merge 1 commit intoapache:masterfrom
Open
[FLINK-39199][table] CREATE OR ALTER MATERIALIZED TABLE doesn't support table options changes#27729snuyanzin wants to merge 1 commit intoapache:masterfrom
snuyanzin wants to merge 1 commit intoapache:masterfrom
Conversation
snuyanzin
commented
Mar 3, 2026
| return changes; | ||
| } | ||
|
|
||
| private CatalogMaterializedTable buildNewCatalogMaterializedTableFromOldTable( |
Collaborator
…rt table options changes
snuyanzin
commented
Mar 3, 2026
Comment on lines
+670
to
+672
| + "FROM `builtin`.`default`.`t3` AS `t3`"), | ||
| TableChange.set("format", "json2"), | ||
| TableChange.reset("connector")); |
Contributor
Author
There was a problem hiding this comment.
since it is altering part, compare against create MT at the beginning https://github.com/snuyanzin/flink/blob/73b79dae6b9ec770d25121fda015fd4b33a0d7b7/flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/operations/SqlMaterializedTableNodeToOperationConverterTest.java#L102-L114
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.
What is the purpose of the change
Brief change log
Make CREATE OR ALTER MATERIALIZED TABLE be aware of table option changes
Verifying this change
introduced test
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (no)Documentation