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.2.0.tar.gz
(277.4 kB
view hashes)
Built Distribution
Close
Hashes for dbt_quicksight_lineage-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 471f3d7856b1cece6400f7891b9f557939b474612f183cdd16c126c9a2d47e0f |
|
MD5 | 32398f9dfcad83f7352f02c0fdc58529 |
|
BLAKE2b-256 | 3d598d7910487d6a2d2feb71da10dee62782f3094e0f3fb04a55e96e07116dad |
Close
Hashes for dbt_quicksight_lineage-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6831e4a384a9e78b822460a6b3854dc0855851e688f0b30dbd3cb718e7897ecf |
|
MD5 | af7252255423e11fefd1522710d1accc |
|
BLAKE2b-256 | 1a486ac361101fa39bc76156f49dfc72906013f555929556a0043516fbf0a045 |