Skip to content

Chapters

Overview

  1. mountainash-data in the mountainash ecosystem: Where the package sits between mountainash-settings, mountainash expressions and your databases, and what it adds beyond Ibis.

Using the package

  1. Installing and connecting: Install the right extra and open a connection from a dialect name or a URL.
  2. Connection profiles and authentication: Configure connections with typed profiles and supply credentials separately at connect time.
  3. Configuring connections with mountainash-settings: Load connection settings from config files, the environment and secret stores, and carry them to where work runs.
  4. Inspecting databases: List and inspect catalogs, namespaces, tables, columns and indexes.
  5. Reading tables and running queries: Read tables as Ibis expressions, run queries and SQL, and compile to SQL.
  6. Running mountainash expressions against databases: Run the same mountainash expressions on database tables and local data, and join them in one plan.
  7. Creating and changing tables: Create, insert into, truncate, upsert, add columns to and rename tables.
  8. Indexes: Create, list, check and drop indexes.
  9. Transactions: Group operations in transactions and work safely with caller-owned transactions.
  10. Adopting existing connections: Wrap a connection you already have while keeping control of its lifecycle.
  11. An end-to-end pipeline: Configure, connect, combine database and local data with mountainash expressions, and write results back in a transaction.
  12. Supported databases and limits: What each database supports and how unsupported operations fail.

Architecture and internals

  1. How one backend serves 20 dialects: How per-database behaviour is declared as data and dispatched.
  2. From settings to driver arguments: How profiles and credentials become driver arguments and connection URLs.
  3. Transaction and adoption internals: How transaction scopes and connection adoption are implemented.

Extending

  1. Extending mountainash-data: Add a database dialect, a settings backend or a new kind of backend.
  2. Contributing and testing: Repository layout, test tiers and the live-database harness.