Commit Graph

65 Commits

Author SHA1 Message Date
zipg ce8cb2b509
fix(oracle): preserve DATE time in display and export 2026-07-09 15:04:34 +08:00
t8y2 c6fc5cb909 fix(oracle): quote non-regular usernames 2026-07-09 14:26:17 +08:00
Guoyu Su ca9e11217e
fix(mongodb): support collection drop shell command 2026-07-09 14:16:32 +08:00
zipg 1317301bcd
feat(kafka): improve topic management and Kerberos auth 2026-07-09 11:41:22 +08:00
Guoyu Su 3bc208dbf9
fix(mongodb): support legacy index commands 2026-07-09 00:33:52 +08:00
K 1d64d66184
fix(agents): add url params for cassandra driver 2026-07-09 00:32:52 +08:00
jischeng ee34a17e82
fix(spark,hive): cap Thrift fetch size 2026-07-08 23:44:59 +08:00
Guoyu Su 313ae2d071
fix(zookeeper): show system znodes in root listing 2026-07-08 23:44:41 +08:00
zipg 0329d9088e
feat(dameng): support schema creation 2026-07-08 19:25:20 +08:00
Guoyu Su fd80464cb2
fix(kafka): clamp peek offset to available range 2026-07-08 17:12:14 +08:00
zipg ac6b2f6cb5
fix(oracle): use USER views for current schema objects 2026-07-08 16:09:40 +08:00
zipg 3a35f5b911
fix(oceanbase): update default connection port 2026-07-08 13:31:45 +08:00
t8y2 2929b1c035 feat(hive): add Kerberos connection options 2026-07-08 13:23:21 +08:00
zipg 6cba08fccb
fix(kingbase): 修复连接与元数据查询异常 2026-07-07 22:12:36 +08:00
t8y2 bc37483343 fix(oracle): add GB18030 charset fallback 2026-07-07 17:54:52 +08:00
LRcoding fc01cea80f
fix(oracle): preserve plsql block terminators 2026-07-07 15:29:43 +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
zipg 668919a7c9
fix(gbase8s): make view source saves safer 2026-07-07 01:50:53 +08:00
zipg f45011977f
fix(dameng): avoid truncating exported DDL 2026-07-07 00:23:07 +08:00
t8y2 1480e08d17 fix(kingbase): fallback database list catalog 2026-07-06 20:15:13 +08:00
t8y2 64d4afec1b test(tdengine): expect USE schema switch before query execution 2026-07-06 20:13:52 +08:00
t8y2 15114f58dd fix(dameng): build index DDL from metadata 2026-07-06 20:01:53 +08:00
t8y2 ece47c85d6 fix(kingbase): prioritize selected schema search path 2026-07-06 19:42:58 +08:00
t8y2 ae050dadd0 fix(oracle): avoid eager xmltype metadata lookup 2026-07-06 13:37:15 +08:00
t8y2 9cc7244dab feat(oceanbase-oracle): include default/comment table metadata 2026-07-05 21:49:46 +08:00
t8y2 e74782f651 feat(metadata): optimize agent metadata loading 2026-07-05 12:09:24 +08:00
t8y2 6529f22fed fix(cassandra): omit empty keyspace in jdbc url 2026-07-04 23:31:32 +08:00
t8y2 55aa0f8624 fix(mongodb): preserve int64 document filters 2026-07-03 17:39:48 +08:00
t8y2 5c79c26954 fix(iotdb): load databases without duplicate schema 2026-07-03 17:33:57 +08:00
t8y2 76f079f28b fix(h2): display JSON columns as text 2026-07-03 17:10:57 +08:00
t8y2 d64299b59e fix(gbase): load routines in object list 2026-07-03 16:34:47 +08:00
t8y2 e3b3dfc095 fix(dameng): include independent indexes in table DDL 2026-07-03 11:59:41 +08:00
miracle 72a7207283
fix(kafka): improve mq admin compatibility 2026-07-02 12:58:33 +08:00
t8y2 0c4ae7caf6 fix(mongodb): support shell delete commands 2026-07-01 20:23:51 +08:00
onenewcode e09ec3cd7a
fix(mongo): preserve BSON types in MongoDB-to-MongoDB transfer 2026-07-01 16:31:39 +08:00
t8y2 6d9132e2a9 fix(mongo): support legacy agent bulk updates 2026-07-01 01:52:32 +08:00
t8y2 f5d8ae5894 fix(oracle): serialize xmltype query columns 2026-07-01 01:27:22 +08:00
t8y2 25dcbeb7e4 feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
zipg 5d3e692b6b
Fix: 修复 Oracle 注释开头查询不返回结果表 2026-06-30 17:24:53 +08:00
miracle 7cec4892bf
feat(kafka): support Kafka MQ admin client 2026-06-30 17:01:24 +08:00
zipg 41ed5e000a
fix: 修复 Kingbase 普通索引展示不全 2026-06-29 20:02:30 +08:00
Guoyu Su 7a5984a1fd
fix(mongodb): support shell projection and db.version 2026-06-29 00:27:27 +08:00
t8y2 98ae0e04b2 feat(agents): remove GaussDB Java agent 2026-06-28 16:20:29 +08:00
t8y2 6c232899b4 feat(agents): remove legacy Oracle Java agents 2026-06-28 16:11:22 +08:00
zipg be996a4352
fix(gbase8a): 优化 agent 启动错误提示 2026-06-28 10:31:59 +08:00
private20 2835460c03
fix(dameng): 修复物化视图相关问题
排除达表节点中的物化视图
修复使用使用SYSDBA登录时无法获取物化视图

Co-authored-by: qmk <qinmingk@sina.com>
2026-06-27 21:44:35 +08:00
zipg a8fa8bed5b
Fix: 修复 MongoDB 默认库影响认证库
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-27 15:14:57 +08:00
miracle de39c1662d
feat: ZK 节点树改为真正懒加载 (#1987)
* feat: lazy load zookeeper nodes

* fix: preserve zookeeper focused path hierarchy
2026-06-27 15:02:09 +08:00
t8y2 73120883b6 fix(dameng): separate materialized view metadata 2026-06-27 14:29:44 +08:00
t8y2 796b0ce5b7 fix(dameng): restore exports with identity columns 2026-06-26 21:25:39 +08:00