Skip to main content

dbt-polnor

dbt adapter for Polnor — run your dbt models on a Polnor SQL warehouse with Iceberg tables, the same way you'd run them on Databricks or Snowflake.

Install

pip install dbt-polnor

This installs dbt-core>=1.7, polnor>=1.0, and the adapter glue.

Configure

In ~/.dbt/profiles.yml:

my_project:
  target: dev
  outputs:
    dev:
      type: polnor
      host: https://api.polnor.net
      token: "{{ env_var('POLNOR_TOKEN') }}"
      warehouse_id: wh-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
      workspace_id: ws-xxxxxxxx                # optional
      database: polnor                          # Spark catalog name (= Lakekeeper warehouse)
      schema: demo                              # default namespace for unqualified models
      threads: 4

Or interactively :

dbt init my_project
# select polnor as the database

Use

Anywhere your dbt project does :

dbt run
dbt test
dbt build
dbt docs generate

Models with materialized='table' get CREATE TABLE ... USING iceberg through the Spark sidecar; materialized='view' becomes a SQL view via Spark. Incremental models work via Spark's MERGE INTO.

What's supported (V0.1)

Feature Status
materialized='table' (Iceberg) ✅
materialized='view' ✅
materialized='incremental' 🟡 append + merge (no delete+insert yet)
Sources + ref() ✅
Tests (generic + singular) ✅
Snapshots 🟡 V2
Seeds ✅
Macros ✅
dbt docs generate ✅
Python models (Spark) ⏳ V2

Limitations (V1)

  • No transaction rollback — Polnor's engine is auto-commit per statement.
  • No transient / temporary tables — Iceberg doesn't support them.
  • dbt seed uses INSERT batches (1k rows / chunk) — for ≫100k rows prefer copying CSV to S3 then CREATE TABLE FROM directly.

License

Apache-2.0.

Metadata

Release files for dbt-polnor 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbt-polnor 0.1.0
File Size Uploaded Provenance Actions
dbt_polnor-0.1.0.tar.gz 10.1 kB Without provenance Details for dbt_polnor-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbt-polnor 0.1.0
File Interpreter ABI Platform Actions
dbt_polnor-0.1.0-py3-none-any.whl Python 3 none any Details for dbt_polnor-0.1.0-py3-none-any.whl

Total release size: 21.1 kB

Release files / dbt_polnor-0.1.0.tar.gz

Download URL dbt_polnor-0.1.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c0b0cc85f3d3c4100de85f209c419b6e97fe49c0727e78ef0bb47002460b88e3
BLAKE2b-256 checksum
How to use checksums
8d4b96a852eb0e879fa75ea138145192ab036dac886021cd17bbd5e3ec565901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / dbt_polnor-0.1.0-py3-none-any.whl

Download URL dbt_polnor-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da01dfc26e6edaf54928c649fc257895cf29352ea166005646d7366d9e21a82e
BLAKE2b-256 checksum
How to use checksums
bc72aeefc8a1fa1a4d0fa71fa99d171495066a789e9bad85cb5c5d5a5fa5eb0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for dbt-polnor 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page