Skip to content

Repository files navigation

English | 日本語

Databricks Connector

Native Irodori Table connector extension for Databricks.

This crate packages the connector metadata, native ABI exports, and driver implementation used by the Irodori extension marketplace.

Connector

  • Extension ID: irodori.databricks
  • Engine ID: databricks
  • Wire protocol: jdbc
  • Default port: 443
  • Native ABI: irodori.connector.native.v1
  • Driver linked: yes
  • Marketplace visibility: public
  • Package version: 0.1.3

The package uses the connector metadata and native driver directly; no desktop adapter source snapshot is required.

Connector metadata lives in connector.config.json and irodori.extension.json. The Rust crate exports the native ABI from src/lib.rs, uses irodori-connector-abi for shared JSON/buffer helpers, and keeps connector behavior in src/driver.rs.

Connection Metadata

  • Endpoint modes: hostPort, connectionString
  • Transport modes: direct, sshTunnel, socks5Proxy, httpConnectProxy, proxyChain
  • TLS supported: yes
  • TLS required by default: yes
  • Custom driver options: yes

Endpoint Fields

Field Label Type Required
host Host string yes
port Port number no
httpPath HTTP path string yes
database Schema string no
catalog Catalog string no

Authentication

The connector advertises these authentication modes so clients can render the right credential fields. Driver-specific or provider-specific values can still be passed through options when needed.

Auth method Label Kind Secret purposes
none No authentication none none
connectionString Connection string / DSN connectionString none
databricksPersonalAccessToken Databricks personal access token token token
databricksOAuthToken Databricks OAuth token oauth2 token
databricksOAuthU2M Databricks OAuth user-to-machine browserSso password
databricksOAuthM2M Databricks OAuth machine-to-machine oauth2 token
databricksAzureManagedIdentity Databricks Azure managed identity managedIdentity none
customDriverOptions Custom driver options custom password, token, privateKey, privateKeyPassphrase

Native ABI Calls

Method Response
health Returns connector health, engine id, ABI version, and driver status.
describe Returns the embedded manifest and connector config.
manifest Returns raw irodori.extension.json.
config Returns raw connector.config.json.
connect Opens and validates a native connector connection.
query Runs a connector query and returns structured rows or JSON results.
metadata Reads schemas, tables, columns, indexes, collections, or equivalent metadata.
close Closes and removes a cached native connection.

Development

All extension crates in this checkout share ../target so dependencies compile once across sibling repositories.

make check
make build

Release packages place platform-specific native artifacts under dist/native.

License

0BSD. You can use, copy, modify, and distribute this project for almost any purpose.

About

Irodori Table Databricks connector extension

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages