Hello, my friends env: Flink 1.10, Blink Planner table source
mysql dim table CREATE TABLE ilms_box_d_order ( id VARCHAR, event_time TIMESTAMP(3)) WITH ( DML INSERT INTO console_test SELECT When i exec this sql, i will get the follewing exception. Caused by: java.lang.ClassCastException: java.time.LocalDateTime cannot be cast to java.sql.Timestamp, field index: 1, field value: 2020-05-22T14:00. Why don't we support LocalDateTime? Best wishes. forideal
|
Hi forideal, Just because we don't have time to support it. We just support LocalDateTime in Flink after 1.9. Welcome to contribute. Best, Jingsong Lee On Fri, May 22, 2020 at 2:48 PM forideal <[hidden email]> wrote:
Best, Jingsong Lee |
Hi, forideal
Thanks for your report,
As Jingsong said, we do not support LocalDateTime in JDBC connector now, I create a JIRA[1] to track this. Best, Leonard Xu [1] https://issues.apache.org/jira/browse/FLINK-17890
|
Free forum by Nabble | Edit this page |