[ 
https://issues.apache.org/jira/browse/FLINK-35206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weijie Guo updated FLINK-35206:
-------------------------------
    Affects Version/s: 2.1.0
                           (was: 1.20.0)

> Desc table syntax support materialized table
> --------------------------------------------
>
>                 Key: FLINK-35206
>                 URL: https://issues.apache.org/jira/browse/FLINK-35206
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>    Affects Versions: 2.1.0
>            Reporter: dalongliu
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The desc syntax supports materialized table:
> {code:SQL}
> DESC Orders
> {code}
> Return the following description:
> root
>  |-- user: BIGINT NOT NULL COMMENT 'this is primary key'
>  |-- product: VARCHAR(32)
>  |-- amount: INT
>  |-- ts: TIMESTAMP(3) *ROWTIME* COMMENT 'notice: watermark'
>  |-- ptime: TIMESTAMP(3) NOT NULL *PROCTIME* AS PROCTIME() COMMENT 'this is a 
> computed column'
>  |-- WATERMARK FOR ts AS `ts` - INTERVAL '1' SECOND
>  |-- CONSTRAINT PK_3599338 PRIMARY KEY (user)
>  |-- LOGICAL_REFRESH_MODE: FULL
>  |-- REFRESH_MODE: FULL
>  |-- REFRESH_STATUS: ACTIVATED
>  |-- REFRESH_HANDLER_DESC: "{jobId: xxx}"



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

Reply via email to