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
dbt_quicksight_lineage-0.3.0.tar.gz
(277.9 kB
view hashes)
Built Distribution
Close
Hashes for dbt_quicksight_lineage-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3709932487f5a44d7a7e9e266e00198e072989232a7cba83ae2d2b2745977f55 |
|
MD5 | b57c81a4ea6624d7d39112f78dd39bae |
|
BLAKE2b-256 | c2a3dcfcdab085cb8e8071805b150384311517db296955e9ee8269071a37dd5d |
Close
Hashes for dbt_quicksight_lineage-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e24b4c293e30792029ebbf209750a52f8a0ae27694e1d5e1e4264101cb28c5 |
|
MD5 | 4dba138453d68b153fa16621a09e8d04 |
|
BLAKE2b-256 | 6a173fba9762da79401b013c0df30c5415dad2862ff89d03f95059a94a153e05 |