Skip to main content

The CDE API based Cloudera Spark adapter plugin for dbt

Project description

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.8

dbt-core >= 1.1.0

requests >= 2.28.1

requests-toolbelt >= 0.9.1

pyspark

sqlparams

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

Project details


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.1.2.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

dbt_spark_cde-1.1.2-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt-spark-cde-1.1.2.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dbt-spark-cde-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b8406508c57ce544baaa3216abc3c9684aef02678f9cd94540ba12bec06c6432
MD5 d854e97ae81d3ca88b31e13455d62a23
BLAKE2b-256 572a29d4f623da1ff528de5d10c6ec024bcbe60e7cf05f49093f2f3353ce9184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dbt_spark_cde-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba15e623d42ffccffd5dd44521d852ff6adc0756447e7e65dd54883dfeba75a
MD5 50cf22882106665ad5877762e06dade7
BLAKE2b-256 44073971072b5ba0a9ccff14edf478b0b7696c31d89861f41aadca466fd803b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page