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

xueyu commented on FLINK-7271:
------------------------------

It looks that this issue has alread been resolved, I don't know whether I 
misunderstood...the code related seems to beĀ [link 
here|https://github.com/apache/flink/blob/master/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/codegen/ExpressionReducer.scala#L52]

> ExpressionReducer does not optimize string-to-time conversion
> -------------------------------------------------------------
>
>                 Key: FLINK-7271
>                 URL: https://issues.apache.org/jira/browse/FLINK-7271
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>    Affects Versions: 1.3.1
>            Reporter: Timo Walther
>            Priority: Major
>
> Expressions like {{"1996-11-10".toDate}} or {{"1996-11-10 
> 12:12:12".toTimestamp}} are not recognized by the ExpressionReducer and are 
> evaluated during runtime instead of pre-flight phase. In order to optimize 
> the runtime we should allow constant expression reduction here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to