fix(databend): skip schema wildcard escaping so databases with underscore list tables

This commit is contained in:
t8y2 committed 2026-09-04 18:35:45 +08:00
1 parent 5ca30bb25b
commit b853d49ac1
4 files changed
+89 -6

No files matched your search

@@ -31,6 +31,9 @@ public final class DatabendAgent extends ConfiguredJdbcAgent {
true,
false,
false,
false,
// databend 的 getSearchStringEscape() 返回 '\',但 getTables/getProcedures 把 _ 当字面量且忽略转义,
// 对含 _ 的库名(如 my_db)转义后返回 0 行(#8114),故关闭 schema 通配符转义。
false
);