fix(editor): support Spark datasource DDL for Kyuubi

Closes #7120
This commit is contained in:
t8y2 committed 2026-08-25 04:21:42 +00:00
1 parent 4eabeb6a15
commit eccbc5a315
4 files changed
+375 -5

No files matched your search

@@ -154,6 +154,7 @@ export const SQL_SEMANTIC_DIALECTS: Record<string, SqlSemanticDialectAdapter> =
};
export function sqlReferenceAnalysisDialectFor(options: { databaseType?: DatabaseType; identifierQuote?: string; fallbackDialect: string }): string {
if (options.databaseType === "kyuubi") return "spark";
if (options.databaseType === "kingbase" && options.identifierQuote === "`") return "mysql";
return options.fallbackDialect;
}