[jira] [Created] (FLINK-7271) ExpressionReducer does not optimize string-to-time conversion

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7271) ExpressionReducer does not optimize string-to-time conversion

Shang Yuanchun (Jira)
Timo Walther created FLINK-7271:
-----------------------------------

             Summary: 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
            Reporter: Timo Walther


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
(v6.4.14#64029)