flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dian Fu (Jira)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-19116) Support more kinds of data for expressions.lit in the Python Table API
Date Wed, 09 Sep 2020 06:56:00 GMT

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

Dian Fu commented on FLINK-19116:
---------------------------------

After discussing with [~zhongwei] offline, I think this problem doesn't exist and we could
work around it. For example, If users want to create a literal of Date type, users could use
`lit("2013-01-01").to_date`. I'm closing this ticket for now.

> Support more kinds of data for expressions.lit in the Python Table API
> ----------------------------------------------------------------------
>
>                 Key: FLINK-19116
>                 URL: https://issues.apache.org/jira/browse/FLINK-19116
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / Python
>            Reporter: Dian Fu
>            Priority: Major
>             Fix For: 1.12.0
>
>
> As discussed in https://github.com/apache/flink/pull/13278#discussion_r481005165
> For expressions.lit,
> {code}
> Current implementation only support the basic type like int, str, bool... It would be
better if we support more data type like BigDecimal, Timestamp and other atomic/complex datatypes.
We can find all supported types according the Java class org.apache.flink.table.types.utils.ValueDataTypeConverter.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message