[improvement](catalog) fix jdbc mysql catalog to_date fun pushdown (#29900)

This commit is contained in:
zy-kkk
2024-01-16 15:54:52 +08:00
committed by yiguolei
parent 08db92a49a
commit f53d2c28cb
3 changed files with 13 additions and 0 deletions

View File

@ -62,6 +62,7 @@ public class JdbcFunctionPushDownRule {
static {
REPLACE_MYSQL_FUNCTIONS.put("nvl", "ifnull");
REPLACE_MYSQL_FUNCTIONS.put("to_date", "date");
}
private static boolean isReplaceMysqlFunctions(String functionName) {