[
https://issues.apache.org/jira/browse/FLINK-20587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17327463#comment-17327463
]
Flink Jira Bot commented on FLINK-20587:
----------------------------------------
This major issue is unassigned and itself and all of its Sub-Tasks have not
been updated for 30 days. So, it has been labeled "stale-major". If this ticket
is indeed "major", please either assign yourself or give an update. Afterwards,
please remove the label. In 7 days the issue will be deprioritized.
> Support TIMESTAMP WITH LOCAL TIME ZONE type for datagen source
> --------------------------------------------------------------
>
> Key: FLINK-20587
> URL: https://issues.apache.org/jira/browse/FLINK-20587
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Ecosystem
> Affects Versions: 1.11.1, 1.11.2
> Reporter: Forward Xu
> Priority: Major
> Labels: stale-major
>
> TABLE DDL:
> {code:java}
> // code placeholder
> CREATE TABLE sourceTable (
> userid int,
> f_random_str STRING,
> order_time TIMESTAMP(3) WITH LOCAL TIME ZONE
> ) WITH (
> 'connector' = 'datagen',
> 'rows-per-second'='100',
> 'fields.userid.kind'='random',
> 'fields.userid.min'='1',
> 'fields.userid.max'='100',
> 'fields.f_random_str.length'='10'
> );
> CREATE TABLE print_table (
> userid int,
> f_random_str STRING,
> order_time TIMESTAMP(3) WITH LOCAL TIME ZONE
> ) WITH (
> 'connector' = 'print'
> );{code}
> The DML SQL:
> {code:java}
> // code placeholder
> insert into default_catalog.default_database.print_table select * from
> default_catalog.default_database.sourceTable;{code}
> *Exception:*
> {code:java}
> // code placeholder
> Flink SQL> insert into default_catalog.default_database.print_table select *
> from default_catalog.default_database.sourceTable;
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.flink.table.api.ValidationException: Unsupported type:
> TIMESTAMP(3) WITH LOCAL TIME ZONE
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)