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

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

Uploaded Source

Built Distribution

dbt_spark_cde-1.1.7-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt-spark-cde-1.1.7.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 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.1.7.tar.gz
Algorithm Hash digest
SHA256 139753fe08b89b8332ed64f8d691d1128dacc3f6c215bdb2cec94481246615d6
MD5 ed7a4ba9bbd99d1fecc0531c2dc88115
BLAKE2b-256 0421ce002d5b8219e902c8d07e15367dc77b36bc5afacfc234b72442a0b2bc37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbt_spark_cde-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 44.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 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.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e2e24c6efa96bf82a8a68aabe019ce1e71507cc1387fe42134c88c58bd333b41
MD5 edfa90a46a6ee8ddf27840bd3952d793
BLAKE2b-256 d031184467596cab64ca2a4c440ca51b6825d4bddf5d8de32edbbdac07eb2c50

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