dbt-spark-cde-1.3.0


توضیحات

-
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل dbt-spark-cde-1.3.0
نام dbt-spark-cde
نسخه کتابخانه 1.3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Cloudera
ایمیل نویسنده innovation-feedback@cloudera.com
آدرس صفحه اصلی https://github.com/cloudera/dbt-spark-cde
آدرس اینترنتی https://pypi.org/project/dbt-spark-cde/
مجوز -
# dbt-spark-cde The `dbt-spark-cde` adapter allows you to use [dbt](https://www.getdbt.com/) [Cloudera Data Platform](https://cloudera.com) 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 - [Install dbt](https://docs.getdbt.com/docs/installation) - Read the [introduction](https://docs.getdbt.com/docs/introduction/) and [viewpoint](https://docs.getdbt.com/docs/about/viewpoint/) ### 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 ``` - To obtain auth_endpoint follow the steps here: (https://docs.cloudera.com/data-engineering/cloud/api-access/topics/cde-api-get-access-token.html) ### 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](https://docs.cloudera.com/cdf-datahub/7.2.15/flink-analyzing-data/topics/cdf-datahub-sa-create-idbroker-mapping.html) - Also make sure the workload password is set either through UI or CLI. [Reference](https://docs.cloudera.com/management-console/cloud/user-management/topics/mc-setting-the-ipa-password.html) ## 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


نیازمندی

مقدار نام
~=1.3.0 dbt-core
>=3.0.0 sqlparams
>=2.28.1 requests
>=0.9.1 requests-toolbelt
>=3.6 python-decouple


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl dbt-spark-cde-1.3.0:

    pip install dbt-spark-cde-1.3.0.whl


نصب پکیج tar.gz dbt-spark-cde-1.3.0:

    pip install dbt-spark-cde-1.3.0.tar.gz