fix: DuckDB REGEXP_MATCHES 函数名改为大写

This commit is contained in:
2026-06-02 15:57:13 +08:00
parent e7fabd282f
commit 2a3f0afa6e
+2 -2
View File
@@ -33,8 +33,8 @@ func DialectOptions() *db.SQLDialectOptions {
// regexp_matches(col, pattern) 做部分匹配,等价于 MySQL REGEXP // regexp_matches(col, pattern) 做部分匹配,等价于 MySQL REGEXP
do.BooleanFunctionLookup = map[exp.BooleanOperation][]byte{ do.BooleanFunctionLookup = map[exp.BooleanOperation][]byte{
exp.RegexpLikeOp: []byte("regexp_matches"), exp.RegexpLikeOp: []byte("REGEXP_MATCHES"),
exp.RegexpILikeOp: []byte("regexp_matches"), exp.RegexpILikeOp: []byte("REGEXP_MATCHES"),
} }
return do return do