[ 
https://issues.apache.org/jira/browse/FLINK-37827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014658#comment-18014658
 ] 

Sergey Nuyanzin commented on FLINK-37827:
-----------------------------------------

this shouldn't work, however should fail with a nicer message
in case of materialized tables there should be {{SHOW CREATE MATERIALIZED 
TABLE}}

> Failed to use `SHOW CREATE TABLE` for MATERIALIZED_TABLE
> --------------------------------------------------------
>
>                 Key: FLINK-37827
>                 URL: https://issues.apache.org/jira/browse/FLINK-37827
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: yanghuai
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2025-05-22-14-11-54-727.png
>
>
> # create a MATERIALIZED TABLE t1;
>  # execute show create table t1; 
> exception is org.apache.flink.table.catalog.ResolvedCatalogMaterializedTable  
> can not cast 
> org.apache.flink.table.catalog.ResolvedCatalogTable
> !image-2025-05-22-14-11-54-727.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to