The GitHub Actions job "Flink CI (beta)" on flink.git/master has succeeded.
Run started by GitHub user AHeise (triggered by snuyanzin).

Head commit for run:
b806823a64863274161c3dfdac1e6ef9a459ff64 / Arvid Heise 
<[email protected]>
[FLINK-40267][table-planner] Validate persisted columns on CREATE MATERIALIZED 
TABLE

Persisted columns of a materialized table have to be produced by its definition 
query, and CREATE OR ALTER enforces that through 
validatePersistedColumnsUsedByQuery while a plain CREATE only checked physical 
columns. A CREATE declaring a non-virtual metadata column that the query does 
not project was therefore accepted, and the mismatch only surfaced when the 
refresh pipeline compiled the insert, whose consumed row type contains the 
persisted metadata column.

Both statements share the validation now, so the DDL is rejected up front, and 
the error message names the statement it originates from. The test fixture for 
materialized tables with metadata columns projects its persisted column, which 
makes dropping that column report that it is used in the query rather than that 
persisted columns cannot be dropped; the latter stays covered by the 
query-evolution cases.

Generated-by: Claude Opus 5

Report URL: https://github.com/apache/flink/actions/runs/30696843010

With regards,
GitHub Actions via GitBox

Reply via email to