[
https://issues.apache.org/jira/browse/FLINK-38365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020775#comment-18020775
]
Sergey Nuyanzin commented on FLINK-38365:
-----------------------------------------
Merged as
[3e41e723b9dcb776040e4861ae35220a72dbd798|https://github.com/apache/flink/commit/3e41e723b9dcb776040e4861ae35220a72dbd798]
> ClassCastException while different operations with MATERIALIZED TABLE
> ---------------------------------------------------------------------
>
> Key: FLINK-38365
> URL: https://issues.apache.org/jira/browse/FLINK-38365
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
>
> There are multiple invalid operations leading to ClassCastException
> at least error message could be more user friendly
> for instance
> {code:sql}
> alter table my_materialized_table RENAME to new_name;
> analyze table my_materialized_table compute statistics;
> truncate table my_materialized_table;
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)