[
https://issues.apache.org/jira/browse/FLINK-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348866#comment-15348866
]
ASF GitHub Bot commented on FLINK-3580:
---------------------------------------
Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/2150#discussion_r68476229
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/typeutils/TypeCoercion.scala
---
@@ -85,6 +85,9 @@ object TypeCoercion {
case (STRING_TYPE_INFO, _: NumericTypeInfo[_]) => true
case (STRING_TYPE_INFO, BOOLEAN_TYPE_INFO) => true
case (STRING_TYPE_INFO, BIG_DEC_TYPE_INFO) => true
+ case (STRING_TYPE_INFO, SqlTimeTypeInfo.DATE) => true
+ case (STRING_TYPE_INFO, SqlTimeTypeInfo.TIME) => true
+ case (STRING_TYPE_INFO, SqlTimeTypeInfo.TIMESTAMP) => true
--- End diff --
Allow casting from LONG to TIMESTAMP?
> Reintroduce Date/Time and implement scalar functions for it
> -----------------------------------------------------------
>
> Key: FLINK-3580
> URL: https://issues.apache.org/jira/browse/FLINK-3580
> Project: Flink
> Issue Type: Sub-task
> Components: Table API & SQL
> Reporter: Timo Walther
> Assignee: Timo Walther
>
> This task includes:
> {code}
> DATETIME_PLUS
> EXTRACT_DATE
> FLOOR
> CEIL
> CURRENT_TIME
> CURRENT_TIMESTAMP
> LOCALTIME
> LOCALTIMESTAMP
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)