fix(trino): support schema-aware table browsing and inserts

This commit is contained in:
t8y2 committed 2026-05-13 20:46:27 +08:00
1 parent 2ba97869a1
commit 7f19a0376a
7 files changed
+61 -4

No files matched your search

+9 -1
View File
@@ -12,6 +12,7 @@ export const SCHEMA_AWARE_TYPES = new Set<DatabaseType>([
"jdbc",
"h2",
"snowflake",
"trino",
"db2",
"informix",
]);
@@ -109,7 +110,14 @@ export const SINGLE_DATABASE_TYPES = new Set<DatabaseType>(["oracle", "dameng"])
export const FETCH_FIRST_TYPES = new Set<DatabaseType>(["oracle", "dameng"]);
export const TREE_SCHEMA_TYPES = new Set<DatabaseType>(["postgres", "redshift", "sqlserver", "gaussdb", "jdbc"]);
export const TREE_SCHEMA_TYPES = new Set<DatabaseType>([
"postgres",
"redshift",
"sqlserver",
"gaussdb",
"jdbc",
"trino",
]);
export const PG_LIKE_STRUCTURE_TYPES = new Set<DatabaseType>(["postgres", "redshift", "gaussdb"]);