Skip to content

[FLINK-37856] Ensure sink option hints are present in compiled plan [2.0]#26621

Merged
AHeise merged 1 commit into
apache:release-2.0from
AHeise:flink-37856-2.0
Jun 2, 2025
Merged

[FLINK-37856] Ensure sink option hints are present in compiled plan [2.0]#26621
AHeise merged 1 commit into
apache:release-2.0from
AHeise:flink-37856-2.0

Conversation

@AHeise
Copy link
Copy Markdown
Contributor

@AHeise AHeise commented May 31, 2025

Unchanged backport of #26601

compilePlan and executeSql use two different code paths. The former uses DynamicTableSinkSpec to render the json, the latter directly creates the DynamicSinkTable. Merging the dynamic options so far only happened on the second code path.

This commit eagerly merges the options into the ResolvedCatalogTable such that the combined options can be used in both code paths. The commit still retains all hints fields and parameters to ensure that explain still outputs the same plan where hints are explicitly added if available. The hints are not explicitly used while creating the DynamicSinkTable anymore because the ResolvedCatalogTable already contains them.
@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented May 31, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@AHeise AHeise merged commit 0560ae6 into apache:release-2.0 Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants