Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yanghuaiGit
Copy link

@yanghuaiGit yanghuaiGit commented May 22, 2025

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)

@flinkbot
Copy link
Collaborator

flinkbot commented May 22, 2025

CI report:

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

@yanghuaiGit
Copy link
Author

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')

@lsyldliu lsyldliu self-assigned this May 26, 2025
@lsyldliu lsyldliu self-requested a review May 26, 2025 03:48
@lsyldliu lsyldliu removed their assignment May 26, 2025
@yanghuaiGit yanghuaiGit requested a review from davidradl May 27, 2025 01:28
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.

4 participants