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

Timo Walther resolved FLINK-6780.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
                   1.3.0

Fixed in 1.4: 1beab38134a77ccebe35ea2c199bce5c13db8c60
Fixed in 1.3: 5f53052f676ebf37de2d64cd0809704da16fe246

> ExternalTableSource should add time attributes in the row type
> --------------------------------------------------------------
>
>                 Key: FLINK-6780
>                 URL: https://issues.apache.org/jira/browse/FLINK-6780
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>            Priority: Critical
>             Fix For: 1.3.0, 1.4.0
>
>
> We observed that all streaming queries that refer to external tables fail 
> when the Volcano planner converting {{LogicalTableScan}} to 
> {{FlinkLogicalTableSourceScan}}:
> {noformat}
> Type mismatch:
> rowtype of new rel:
> RecordType(<table schema>, TIMESTAMP(3) NOT NULL proctime) NOT NULL
> rowtype of set:
> RecordType(<table schema>, ...) NOT NULL
> {noformat}
> Tables that are registered through 
> {{StreamTableEnvironment#registerTableSource()}} do not suffer from this 
> problem as {{StreamTableSourceTable}} adds the processing time / event time 
> attribute automatically.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to