diff --git a/pkg/bench/bench_test.go b/pkg/bench/bench_test.go index 827bcba863ab..0242f247a3bd 100644 --- a/pkg/bench/bench_test.go +++ b/pkg/bench/bench_test.go @@ -1443,7 +1443,8 @@ func BenchmarkFuncExprTypeCheck(b *testing.B) { sqlDB.ExecMultiple(b, `CREATE SCHEMA sc1`, `CREATE SCHEMA sc2`, - `CREATE FUNCTION abs(val INT) RETURNS INT CALLED ON NULL INPUT LANGUAGE SQL AS $$ SELECT val $$`, + // TODO(chengxiong): uncomment this when #97400 is resolved. + //`CREATE FUNCTION abs(val INT) RETURNS INT CALLED ON NULL INPUT LANGUAGE SQL AS $$ SELECT val $$`, `CREATE FUNCTION sc1.udf(val INT) RETURNS INT CALLED ON NULL INPUT LANGUAGE SQL AS $$ SELECT val $$`, `CREATE FUNCTION sc1.udf(val STRING) RETURNS STRING LANGUAGE SQL AS $$ SELECT val $$`, `CREATE FUNCTION sc1.udf(val FLOAT) RETURNS FLOAT LANGUAGE SQL AS $$ SELECT val $$`, @@ -1487,10 +1488,11 @@ func BenchmarkFuncExprTypeCheck(b *testing.B) { name: "builtin aggregate not called on null", exprStr: "concat_agg(NULL)", }, - { - name: "udf same name as builtin", - exprStr: "abs(123)", - }, + // TODO(chengxiong): uncomment this when #97400 is resolved. + //{ + // name: "udf same name as builtin", + // exprStr: "abs(123)", + //}, { name: "udf across different schemas", exprStr: "udf(123)",