flink icon indicating copy to clipboard operation
flink copied to clipboard

[FLINK-37827][table] Fix use `SHOW CREATE TABLE` for MATERIALIZED_TABLE

Open yanghuaiGit opened this issue 7 months ago • 2 comments

What is the purpose of the change

execute show create table for Materialized Table successful.

Brief change log

Verifying this change

  1. create a MATERIALIZED TABLE t1;
  2. execute show create table t1;

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

yanghuaiGit avatar May 22 '25 06:05 yanghuaiGit

CI report:

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

flinkbot avatar May 22 '25 06:05 flinkbot

error info: [ERROR] Could not execute SQL statement. Reason: java.lang.ClassCastException: class org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable cannot be cast to class org.apache.flink.table.catalog.ResolvedCatalogTable (org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable and org.apache.flink.table.catalog.ResolvedCatalogTable are in unnamed module of loader 'app')

yanghuaiGit avatar May 23 '25 07:05 yanghuaiGit

@yanghuaiGit thanks for your contribution can you please rebase the PR to be sure it passes current tests

snuyanzin avatar Aug 05 '25 14:08 snuyanzin

superseded by https://github.com/apache/flink/pull/26923

snuyanzin avatar Oct 10 '25 16:10 snuyanzin