Commit Graph
20 Commits
Author SHA1 Message Date
StaravenX 2c04c2f1f4 fix(sql): use ROWNUM pagination for Dameng 2026-09-02 09:15:10 +08:00
wangfengxiang 2f71a1a8aa feat(argo): add argodb connection type with routine browsing 2026-09-01 00:21:10 +08:00
t8y2 80224ab1d9 fix(oracle): support 11g data compare pagination
Closes #7470
2026-08-28 05:42:17 +00:00
Frost f494f90c30 feat(spanner): add Google Cloud Spanner support 2026-08-20 16:33:09 +08:00
zipg 868502326c feat(kyuubi): add native connection support 2026-08-15 21:55:37 +08:00
zipg a6d9e6818e feat(impala): add full database support 2026-08-14 20:41:57 +08:00
hb b5206415ae fix(informix): resolve metadata owners correctly 2026-08-02 09:04:30 +08:00
t8y2 7ee335e38a feat(uxdb): add UXDB database support 2026-07-24 21:15:06 +08:00
二丫讲梵 85836f8e95 feat(sqlite): support attached database schema changes 2026-07-20 10:51:16 +08:00
t8y2 002dbbf602 fix(oceanbase): use rowid for keyless Oracle rows 2026-07-15 13:00:38 +08:00
jischeng c3893bf314 feat(spark): add Apache Spark database driver with catalog support
* feat(spark): add Apache Spark database driver

Spark Thrift Server speaks the HiveServer2 protocol, so the Spark driver
reuses the hive-jdbc agent runtime. Registers spark (agentKey=spark,
defaultPort=10015) across the manifest, DatabaseType enum, agent catalog,
SQL dialects, connection dialog, and a SparkAgent built on AbstractJdbcAgent.

* feat(spark): add catalog support and official logo

SparkAgent now supports Spark 3.4+ multi-catalog (Paimon, Lance, Iceberg)
via catalog=<name> in url_params, mirroring the StarRocks catalog flow:
- afterConnect switches to the configured catalog via USE <catalog>
- listDatabases returns the catalog name when SHOW DATABASES is empty
  (catalogs like Lance expose tables at the catalog root with no databases)
- listTables uses SHOW TABLES IN <catalog>[.<schema>] uniformly, working
  for both catalog-root tables (Lance) and catalog.schema tables (Paimon)
- setSchemaSQL qualifies USE with the catalog to prevent resetting to
  spark_catalog on schema switches
- buildJdbcUrl omits database from the URL path

Also replaces the placeholder lightning icon with the official Apache Spark
logo (spark-logo.png from spark.apache.org).

* fix(spark): use catalog-qualified DESCRIBE for column retrieval

getColumnsFromDescribe used USE <schema> + DESCRIBE <table>, which
generated USE `catalog`.`catalog` when the sidebar passed the catalog
name as the schema (Lance case where the catalog is the only node).
This failed and fell back to JDBC metadata which also returned nothing,
resulting in an empty DDL (CREATE TABLE ... ()).

Now uses DESCRIBE `catalog`.`table` directly when a catalog is
configured, bypassing USE entirely. Also fixes setSchemaSQL to treat
schema == catalog as catalog-only (no .schema suffix).

* fix(ci): add spark to metadata coverage matrix and BRIDGE_REQUIRED_TYPES

- agents/metadata-constraint-coverage.tsv: register spark as
  intentional-fallback (SHOW TABLES/SHOW DATABASES, like Hive/TDengine)
- packages/node-core/src/diagnostics.ts: add spark to
  BRIDGE_REQUIRED_TYPES (mcpMode=bridge, matches manifest)

* fix(ci): add spark to DBX_CONNECTION_TYPE_DESCRIPTION in mcp-server

The driver-manifest test asserts every manifest dbType appears in the
MCP server's connection type description string.
2026-07-07 14:36:22 +08:00
c8efe06ddc fix(core): Oracle 复制 INSERT 按行生成语句
* fix(core): emit oracle copy inserts per row

* refactor(core): extract single-row insert dialect check into sql_dialect

---------

Co-authored-by: zero <zero@zeroMacmini.local>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-03 19:33:18 +08:00
t8y2 0894334764 fix(firebird): use rows syntax for pagination 2026-07-03 16:22:31 +08:00
t8y2 25dcbeb7e4 feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
zipgandstaff b0f1be4df9 fix: 修复 Oracle 表数据分页,避免 ROWID 分页重复列
* 修复 Oracle 表数据分页

* fix: 避免 Oracle ROWID 分页重复列

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-25 22:46:02 +08:00
luoianun 8cc7a35c1a feat: add PrestoSQL connector 2026-06-23 01:27:08 +08:00
t8y2 535d247ae1 fix(sql): centralize table pagination strategies 2026-06-19 10:23:14 +08:00
t8y2 34b37006be fix(jdbc): don't quote identifiers or use table aliases for JDBC 2026-06-17 01:06:31 +08:00
t8y2 a18b076057 fix(xugu): qualify schema-aware table selects 2026-06-15 21:06:21 +08:00
t8y2 a5e1a64247 refactor(sql): split dialect helpers 2026-06-10 19:53:36 +08:00