The GizmoSQL adapter plugin for dbt
Project description
dbt-gizmosql
dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis.
GizmoSQL
GizmoSQL is an Apache Arrow Flight-based SQL engine for data warehouses. It is designed to be fast, scalable, and easy to use.
It has DuckDB and SQLite back-ends. You can see more information about GizmoSQL here.
Installation
Option 1 - from PyPi
# Create the virtual environment
python3 -m venv .venv
# Activate the virtual environment
. .venv/bin/activate
pip install --upgrade pip
python -m pip install dbt-core dbt-gizmosql
Option 2 - from source - for development of the adapter
git clone https://github.com/gizmodata/dbt-gizmosql
cd dbt-gizmosql
# Create the virtual environment
python3 -m venv .venv
# Activate the virtual environment
. .venv/bin/activate
# Upgrade pip, setuptools, and wheel
pip install --upgrade pip setuptools wheel
# Install the dbt GizmoSQL adapter - in editable mode with dev dependencies
pip install --editable .[dev]
Usage of the dbt GizmoSQL adapter
Option 1: dbt init
You can setup the adapter by running dbt init - and choosing values that the wizard prompts you for.
Then you can run by going into the directory for the project you just created:
dbt run
Option 2: Setup dbt.profiles.yml
Add something like the following to your ~/.dbt.profiles.yml file (change the values to match your environment):
my-gizmosql-db:
target: dev
outputs:
dev:
type: gizmosql
host: localhost
port: 31337
user: [username]
password: [password]
use_encryption: True
tls_skip_verify: True
threads: 2
Option 3: OAuth/SSO Authentication
For browser-based OAuth/SSO, use auth_type: external — no username or password needed:
my-gizmosql-db:
target: dev
outputs:
dev:
type: gizmosql
host: gizmosql.example.com
port: 31337
auth_type: external
use_encryption: True
tls_skip_verify: True
threads: 2
** Note **
Adapter Scaffold default Versioning
This adapter plugin follows semantic versioning. The version of this plugin is v1.11.x, in order to be compatible with dbt Core v1.11.x.
It's also brand new! For GizmoSQL-specific functionality, we will aim for backwards-compatibility wherever possible. We are likely to be iterating more quickly than most major-version-1 software projects. To that end, backwards-incompatible changes will be clearly communicated and limited to minor versions (once every three months).
Join the dbt Community
- Be part of the conversation in the dbt Community Slack
- If one doesn't exist feel free to request a #db-GizmoSQL channel be made in the #channel-requests on dbt community slack channel.
- Read more on the dbt Community Discourse
Reporting bugs and contributing code
- Want to report a bug or request a feature? Let us know on Slack, or open an issue
- Want to help us build dbt? Check out the Contributing Guide
Code of Conduct
Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the dbt Code of Conduct.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbt_gizmosql-1.11.10.tar.gz.
File metadata
- Download URL: dbt_gizmosql-1.11.10.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d3b358bc49b64e0a80c45ef13738b4aaf96c4e6d8e79ceed8f0a0e67543d6af
|
|
| MD5 |
4207ebe750f450f1a2435d37999f7e48
|
|
| BLAKE2b-256 |
c18663eb85e6fd5b412a8ded7e28c83110f0a57ad676ad3ebe6a1ab7e1d4dd7a
|
Provenance
The following attestation bundles were made for dbt_gizmosql-1.11.10.tar.gz:
Publisher:
ci.yml on gizmodata/dbt-gizmosql
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbt_gizmosql-1.11.10.tar.gz -
Subject digest:
8d3b358bc49b64e0a80c45ef13738b4aaf96c4e6d8e79ceed8f0a0e67543d6af - Sigstore transparency entry: 1203489958
- Sigstore integration time:
-
Permalink:
gizmodata/dbt-gizmosql@f19be3478fc8355e2bd889eab0402358482eafbf -
Branch / Tag:
refs/tags/v1.11.10 - Owner: https://github.com/gizmodata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@f19be3478fc8355e2bd889eab0402358482eafbf -
Trigger Event:
push
-
Statement type:
File details
Details for the file dbt_gizmosql-1.11.10-py3-none-any.whl.
File metadata
- Download URL: dbt_gizmosql-1.11.10-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
157a356ff2e5c080588a5ab2926da13a4fbb1e7ab3f83b9b6f54984f37691f9b
|
|
| MD5 |
746400d3edcd352d24a41a5cad5aa77d
|
|
| BLAKE2b-256 |
07925659ddb3dd5ae16f7114a3ef46d7bb5412244307bb94f1e929859e0b719a
|
Provenance
The following attestation bundles were made for dbt_gizmosql-1.11.10-py3-none-any.whl:
Publisher:
ci.yml on gizmodata/dbt-gizmosql
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dbt_gizmosql-1.11.10-py3-none-any.whl -
Subject digest:
157a356ff2e5c080588a5ab2926da13a4fbb1e7ab3f83b9b6f54984f37691f9b - Sigstore transparency entry: 1203489963
- Sigstore integration time:
-
Permalink:
gizmodata/dbt-gizmosql@f19be3478fc8355e2bd889eab0402358482eafbf -
Branch / Tag:
refs/tags/v1.11.10 - Owner: https://github.com/gizmodata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@f19be3478fc8355e2bd889eab0402358482eafbf -
Trigger Event:
push
-
Statement type: