No project description provided
Project description
dbt_quicksight_lineage
PyPI: https://pypi.org/project/dbt-quicksight-lineage/ Target DBT Version: 1.5.*
Table of Contents
Installation
pip install dbt-quicksight-lineage
Usage
Usage: dbt-quicksight-lineage [OPTIONS] COMMAND [ARGS]...
dbt-quicksight-lineage: DBT to QuickSight Lineage command helper
Options:
--version Show the version and exit.
--log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
Set log level
--no-color / --color Disable color in output
-h, --help Show this message and exit.
Commands:
init Modify schema.yml to add QuickSight metadata with Data...
update-data-set Update QuickSight DataSet from DBT Manifest
QuickStart
dbt-quicksight-lineage init --project-dir /path/to/dbt/project --data-set-id <data-set-id>
modify your schema.yml to add QuickSight metadata with Data Lineage
for example:
version: 2
models:
- name: my_first_dbt_model
description: "A starter dbt model"
meta:
quicksight:
logical_table_name: My First DBT Model
data_sets:
- id: 00000000-0000-0000-0000-000000000000
data_source_arn: arn:aws:quicksight:ap-northeast-1:123456789012:datasource/00000000-0000-0000-0000-000000000000
folders:
- name: Key
description: "this is Key folder, must distinct counts"
columns:
- name: id
description: "The primary key for this table"
meta:
quicksight:
field_name: ID
folder: Key
data_type: string
tests:
- unique
- not_null
- name: geo
description: "City name of geometry"
meta:
quicksight:
geographic_role: city
field_name: Geometry
folder: Key
- name: hidden_value
meta:
quicksight:
hidden: true
- name: my_second_dbt_model
description: "A starter dbt model"
columns:
- name: id
description: "The primary key for this table"
tests:
- unique
- not_null
and update data set
dbt-quicksight-lineage update-data-set --project-dir /path/to/dbt/project --data-set-id <data-set-id>
License
dbt-quicksight-lineage is distributed under the terms of the MIT license.
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
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_quicksight_lineage-0.3.2.tar.gz.
File metadata
- Download URL: dbt_quicksight_lineage-0.3.2.tar.gz
- Upload date:
- Size: 278.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f58468c6a9503d21096a3c9e433501ef2bce17a22ba34796bb94d03d6ebdfb4
|
|
| MD5 |
499f5f9af1b5d94689e9e10638d3d7a8
|
|
| BLAKE2b-256 |
4bd493210cea49c9b2747205f4e3a6615ec8733ee71082483efde8044e2fdf86
|
File details
Details for the file dbt_quicksight_lineage-0.3.2-py3-none-any.whl.
File metadata
- Download URL: dbt_quicksight_lineage-0.3.2-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f13983fbfc92c1478834cc6306799c34498d1740e429f56890825cad5aa0ee7
|
|
| MD5 |
84158459ca97532925206f27a5c4fa02
|
|
| BLAKE2b-256 |
7bf8a2e81a8dcf2e9b3b2d49e8f326456fce4c68998d3f6a37e521956e364294
|