You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/12/20 05:51:00 UTC
[jira] [Commented] (FLINK-15334) Fix schemaValidator because
properties mapping may change if user defined generated columns before
custom columns
[ https://issues.apache.org/jira/browse/FLINK-15334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000637#comment-17000637 ]
Jark Wu commented on FLINK-15334:
---------------------------------
Hi [~Leonard Xu], could you list the wrong properties?
> Fix schemaValidator because properties mapping may change if user defined generated columns before custom columns
> -------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-15334
> URL: https://issues.apache.org/jira/browse/FLINK-15334
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.10.0
> Reporter: Leonard Xu
> Priority: Major
> Fix For: 1.10.0
>
>
> If user defined a DDL like:
> "CREATE TABLE orders (\n" +
> " order_id STRING,\n" +
> " item STRING,\n" +
> " currency STRING,\n" +
> " amount INT,\n" +
> " amount_kg as amount * 1000,\n" +
> " order_time TIMESTAMP(3),\n" +
> " ts as order_time + INTERVAL '1' SECOND,\n" +
> " WATERMARK FOR ts AS ts\n" +
> ") WITH (\n" +
> will get wrong properties.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)