feat(ignite3): add Apache Ignite 3 support

This commit is contained in:
SCSTC authored and GitHub committed 2026-08-20 02:21:55 +08:00
1 parent 34c8afeb58
commit 634bb9a7d0
32 files changed
+555 -6

No files matched your search

+7
View File
@@ -267,6 +267,13 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
store_visible: true,
profiles: &[],
},
AgentCatalogEntry {
db_type: DatabaseType::Ignite3,
key: "ignite3",
label: "Apache Ignite 3",
store_visible: true,
profiles: &[],
},
AgentCatalogEntry {
db_type: DatabaseType::Sundb,
key: "sundb",
+1
View File
@@ -222,6 +222,7 @@ macro_rules! agent_connection_pool_database_type {
| DatabaseType::Bigquery
| DatabaseType::Kylin
| DatabaseType::Ignite
| DatabaseType::Ignite3
| DatabaseType::Sundb
| DatabaseType::Oscar
| DatabaseType::Tdengine
+5
View File
@@ -601,6 +601,7 @@ pub enum DatabaseType {
#[serde(rename = "questdb")]
Questdb,
Ignite,
Ignite3,
Jdbc,
/// Message queue admin connection (Pulsar / Kafka / RocketMQ). The specific
/// system is determined by `external_config.systemKind`.
@@ -1145,6 +1146,7 @@ impl ConnectionConfig {
}
DatabaseType::Questdb => format!("questdb://{host}:{port}{db_part}"),
DatabaseType::Ignite => format!("ignite://{host}:{port}{db_part}"),
DatabaseType::Ignite3 => format!("ignite3://{host}:{port}{db_part}"),
DatabaseType::Gbase => format!("gbase://{host}:{port}{db_part}"),
DatabaseType::H2 => format!("h2://{host}:{port}{db_part}"),
DatabaseType::Snowflake => format!("snowflake://{host}/{db_part}"),
@@ -1352,6 +1354,9 @@ impl ConnectionConfig {
DatabaseType::Ignite => {
format!("ignite://{}:{}@{host}:{port}{db_part}", username, password)
}
DatabaseType::Ignite3 => {
format!("ignite3://{}:{}@{host}:{port}{db_part}", username, password)
}
DatabaseType::Gbase => {
format!("gbase://{}:{}@{host}:{port}{db_part}", username, password)
}
@@ -670,7 +670,7 @@ pub fn profile_for(db_type: DatabaseType) -> DdlDialectProfile {
ClickHouse => clickhouse_profile(),
DuckDb | Questdb | SapHana | Teradata | Snowflake | Trino | PrestoSql | Hive | Kyuubi | Impala | Spark
| Db2 | Informix | Bigquery | Kylin | Ignite | Oscar | Tdengine | Iotdb | Databricks | Jdbc => {
| Db2 | Informix | Bigquery | Kylin | Ignite | Ignite3 | Oscar | Tdengine | Iotdb | Databricks | Jdbc => {
conservative_ansi(db_type)
}