[ 
https://issues.apache.org/jira/browse/FLINK-13539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902059#comment-16902059
 ] 

Jingsong Lee commented on FLINK-13539:
--------------------------------------

Be careful with time types:

When there are some timestamp type fields, not work anyway.

Because TimestampType from DDL(Use DataType), the conversion class is 
LocalDateTime.

And format.fields in DescriptorProperties use Types.TIMESTAMP 
(TypeInformation), the conversion class is java.sql.Timestamp.

In CsvTableSinkFactoryBase, there should be a  "Encodings that differ from the 
schema are not supported yet for CsvTableSink." exception.

> DDL do not support CSV tableFactory because CSV require format.fields
> ---------------------------------------------------------------------
>
>                 Key: FLINK-13539
>                 URL: https://issues.apache.org/jira/browse/FLINK-13539
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Jingsong Lee
>            Assignee: godfrey he
>            Priority: Critical
>             Fix For: 1.9.0
>
>
> (Now DDL do not support key of properties contains number or "-".)
> And old csv validator require "format.fields.#.type". So there is an 
> validation exception now.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to