Skip to main content

dbt-spark-cde

The dbt-spark-cde adapter allows you to use dbt Cloudera Data Platform with CDE API server support. This code bases use the dbt-spark project (https://github.com/dbt-labs/dbt-spark), and provides CDE API based connectivity support over it.

Getting started

Requirements

Python >= 3.9

dbt-core ~= 1.3.0

requests >= 2.28.1

requests-toolbelt >= 0.9.1

pyspark

requests_kerberos

requests-toolbelt

python-decouple

Installing dbt-spark-cde

pip install dbt-spark-cde

Profile Setup

demo_project:
  target: dev
  outputs:
    dev:
     type: spark_cde
     method: cde
     schema: my_db
     auth_endpoint: https://service.spark-cde-gateway.my.org.com/
     host: https://spark-cde-gateway.my.org.com/dex/api/v1/
     user: my_user
     password: my_pass

Caveats

  • While using cde , in the Livy UI if you notice sessions change state to dead from starting instead of idle, make sure there is a proper mapping for the user in the IDBroker mapping section
  • Actions > Manage Access > IDBroker Mappings . Reference
  • Also make sure the workload password is set either through UI or CLI. Reference

Supported features

Please see the original adapter documentation: https://github.com/dbt-labs/dbt-spark and https://docs.getdbt.com/reference/warehouse-profiles/spark-profile

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt-spark-cde-1.3.0.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbt_spark_cde-1.3.0-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

Details for the file dbt-spark-cde-1.3.0.tar.gz.

File metadata

  • Download URL: dbt-spark-cde-1.3.0.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4

File hashes

Hashes for dbt-spark-cde-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b9118d92974f23e7c667205fc6a5ce8bd172bc9d31174d39bece4d2c83ea65c1
MD5 c1ef831aa85a7148e9dc8f0874855b6a
BLAKE2b-256 22ddf7e6328bc1295245f3bb07a99cbac2124a75544309cf349a53fac84d7829

See more details on using hashes here.

File details

Details for the file dbt_spark_cde-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_spark_cde-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 53.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4

File hashes

Hashes for dbt_spark_cde-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3d94f35c5f591b1f6185912c193c51e1a59169adafc1a4b5ba0d4f9ae3b356f
MD5 ba786f0545543dadf1e0106c8306ecd6
BLAKE2b-256 5fc8ab251f7b7f0b902ae18b86a160c266497f0d3c92148e78c9c9e58489fe46

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 files

1.2.0

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page