LiBinfeng-01 commented on code in PR #23613:
URL: https://github.com/apache/doris/pull/23613#discussion_r1309878446
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/FunctionSet.java:
##########
@@ -241,6 +242,11 @@ public Function getFunction(Function desc,
Function.CompareMode mode, boolean is
inferenceFunctions.add(fn);
continue;
}
+ // datev1 function signature can not be normal one
+ if (fn.getFunctionName().getFunction().equalsIgnoreCase("to_date")
+ && Config.disable_datev1 && fn.getReturnType() ==
Type.DATE) {
+ continue;
Review Comment:
get
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]