[
https://issues.apache.org/jira/browse/FLINK-22804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354176#comment-17354176
]
Jark Wu commented on FLINK-22804:
---------------------------------
Hi [~yulei0824], I'm afraid view doesn't support this, because view will lose
meta information of table. You can get this information by calling {{desc
table}}.
> "CREATE VIEW" statement loses computed columns, metadata columns, watermark
> and table constraint
> ------------------------------------------------------------------------------------------------
>
> Key: FLINK-22804
> URL: https://issues.apache.org/jira/browse/FLINK-22804
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Legacy Planner, Table SQL / Planner
> Affects Versions: 1.13.0, 1.12.3
> Reporter: tim yu
> Priority: Major
>
> Lose computed columns, metadata columns, watermark and table constraint when
> SqlToOperationConverter converts SqlCreateView to CreateViewOperation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)