Рет қаралды 160
DBT Macro :
DBT Real Time Use Case of Cloning
CREATE OR REPLACE DATABASE DEV_DB;
CREATE OR REPLACE SCHEMA DEV_SC;
CREATE SCHEMA DEMO_SC;
CREATE SCHEMA RAW_SC;
CREATE TABLE T1(ID INT);
CREATE TABLE T2(ID INT);
CREATE TABLE T3(ID INT);
CREATE TABLE T4(ID INT);
CREATE TABLE T5(ID INT);
Data Build Tool
Used for Data Transformation
Not a ETL Tool
ELT = T
Raw Data = DBT =Transformed Data
Advantages of DBT:
Easy Testing
Reusable Code (Macros & JINJA )
CI CD Integration
Data Lineage
Documentation
Prerequisites:
Snowflake Account
DBT cloud Account
Snowflake Database
Snowflake Schema
Snowflake Tables
Cloning in Snowflake
#dbtcloud#databuildtool #dbtsnowflake #learningdbt #dbtdemovideos
#dbtwithsnowflake#snowflakeanddbt #dbtinterviewquestions
#snowflakewithdbt#snowflakedbtcloud #databuildtoolforsnowflake
#setupsnowflakewithdbt #etl #elt #dbtlink
#dbtmodels#dbtseeds #dbtwithairflow #airflow #airflowdbt
#dbtmacros#dbtanalysis #datalineagewithdbt #dags #dbtdags
#dbtincrementals #dbtscds#dbtmaterilizations #dbtmacros #macros #macrosindbt
#dbtcloud #dbtcore #dbtcloud #dbtwithsnowflake #snowflakewithdbt #dbtincrementals