[FEAT MERGE] Compilation Optimization

Co-authored-by: fengdeyiji <546976189@qq.com>
Co-authored-by: tushicheng <18829573815@163.com>
This commit is contained in:
LINxiansheng
2025-01-08 09:45:59 +00:00
committed by ob-robot
parent 9d16d1c319
commit 1cc92e09f1
423 changed files with 5386 additions and 4677 deletions

View File

@ -173,8 +173,7 @@ void test_fast_parser()
"select * from t;",
"select * from t;",
"select t1.a from t1 join t2 where b = udf_func(3) and c = 'hello';",
"select t1.a from t1 join t2 where b = udf_func(3.1231232) and c = "
"'hello';"};
"select t1.a from t1 join t2 where b = udf_func(3.1231232) and c = 'hello';"};
const char* expected_sql_ids[test_sql_cnt] = {
"1FE1379FE2A31B8D16219655761820A2",
"99B8023929C1482A458CB071ADE822AC",
@ -242,8 +241,7 @@ void test_sql_parser()
"select * from t;",
"select * from t;",
"select t1.a from t1 join t2 where b = udf_func(3) and c = 'hello';",
"select t1.a from t1 join t2 where b = udf_func(3.1231232) and c = "
"'hello';"};
"select t1.a from t1 join t2 where b = udf_func(3.1231232) and c = 'hello';"};
for (int i = 0; i < test_sql_cnt; i++) {
const char *input_sql = test_sqls[i];