lowka commented on code in PR #5977:
URL: https://github.com/apache/ignite-3/pull/5977#discussion_r2140362912


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/exp/RexToLixTranslator.java:
##########
@@ -614,13 +614,7 @@ private Expression translateCastToDate(RelDataType 
sourceType,
               ? Expressions.call(BuiltInMethod.STRING_TO_DATE.method, operand)
               : Expressions.call(
                       // TODO 
https://issues.apache.org/jira/browse/IGNITE-25010 Remove redundant call to 
TO_DATE_EXACT
-                      IgniteMethod.TO_DATE_EXACT.method(),
-                      Expressions.call(
-                              
Expressions.new_(BuiltInMethod.PARSE_DATE.method.getDeclaringClass()),
-                              BuiltInMethod.PARSE_DATE.method,
-                              format,
-                              operand
-                      )
+                      IgniteMethod.DATE_STRING_TO_DATE.method(), operand, 
format

Review Comment:
   Thanks, fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to