2021-10-04 05:18:45 -07:00
|
|
|
{
|
|
|
|
"pipelines": [{
|
|
|
|
"name": "presto_etl",
|
|
|
|
"displayName": "Presto ETL",
|
|
|
|
"description": "Presto ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=presto_etl",
|
2023-06-21 14:18:45 +05:30
|
|
|
"scheduleInterval": "* * * * *",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"name": "presto_task",
|
|
|
|
"displayName": "Presto Task",
|
|
|
|
"description": "Airflow operator to perform ETL on presto tables",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "PrestoOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-04 05:18:45 -07:00
|
|
|
},
|
2021-10-11 20:12:40 -07:00
|
|
|
{
|
|
|
|
"name": "dim_address_etl",
|
|
|
|
"displayName": "dim_address etl",
|
|
|
|
"description": "dim_address ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=dim_address_etl",
|
2023-06-21 14:18:45 +05:30
|
|
|
"scheduleInterval": "5 * * * *",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "dim_address_task",
|
|
|
|
"displayName": "dim_address Task",
|
|
|
|
"description": "Airflow operator to perform ETL and generate dim_address table",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=dim_address_task",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "PrestoOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-11 20:12:40 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "dim_user_etl",
|
|
|
|
"displayName": "dim_user etl",
|
|
|
|
"description": "dim_user ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=dim_user_etl",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "dim_user_task",
|
|
|
|
"displayName": "dim_user Task",
|
|
|
|
"description": "Airflow operator to perform ETL and generate dim_user table",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=dim_user_task",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "PrestoOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-11 20:12:40 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "dim_location_etl",
|
|
|
|
"displayName": "dim_location etl",
|
|
|
|
"description": "diim_location ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=dim_address_etl",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "dim_location_task",
|
|
|
|
"displayName": "dim_location Task",
|
|
|
|
"description": "Airflow operator to perform ETL and generate dim_location table",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=dim_location_task",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "PrestoOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-11 20:12:40 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "dim_product_etl",
|
|
|
|
"displayName": "dim_product etl",
|
|
|
|
"description": "diim_product ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=dim_address_etl",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "dim_product_task",
|
|
|
|
"displayName": "dim_product Task",
|
|
|
|
"description": "Airflow operator to perform ETL and generate dim_product table",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=dim_product_task",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "PrestoOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-11 20:12:40 -07:00
|
|
|
},
|
2021-10-07 11:15:34 -07:00
|
|
|
{
|
|
|
|
"name": "trino_etl",
|
|
|
|
"displayName": "Trino ETL",
|
|
|
|
"description": "Trino ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=trino_etl",
|
2023-06-21 14:18:45 +05:30
|
|
|
"scheduleInterval": "@once",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "trino_task",
|
|
|
|
"displayName": "Trino Task",
|
|
|
|
"description": "Airflow operator to perform ETL on trino tables",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "TrinoOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-07 11:15:34 -07:00
|
|
|
},
|
2021-10-04 05:18:45 -07:00
|
|
|
{
|
|
|
|
"name": "hive_etl",
|
|
|
|
"displayName": "Hive ETL",
|
|
|
|
"description": "Hive ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=hive_etl",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "hive_create_table",
|
|
|
|
"displayName": "Hive Create Table",
|
|
|
|
"description": "Hive Create Table Task",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=hive_create_table",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exits"],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}
|
|
|
|
]
|
2021-10-04 05:18:45 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "snowflake_etl",
|
|
|
|
"displayName": "Snowflake ETL",
|
|
|
|
"description": "Snowflake ETL pipeline",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/tree?dag_id=snowflake_etl",
|
2021-11-01 07:22:01 -07:00
|
|
|
"tasks": [{
|
|
|
|
"name": "snowflake_task",
|
|
|
|
"displayName": "Snowflake Task",
|
|
|
|
"description": "Airflow operator to perform ETL on snowflake tables",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": ["assert_table_exists"],
|
|
|
|
"taskType": "SnowflakeOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assert_table_exists",
|
|
|
|
"displayName": "Assert Table Exists",
|
|
|
|
"description": "Assert if a table exists",
|
2023-06-15 14:44:48 +05:30
|
|
|
"sourceUrl": "http://localhost:8080/taskinstance/list/?flt1_dag_id_equals=assert_table_exists",
|
2021-11-01 07:22:01 -07:00
|
|
|
"downstreamTasks": [],
|
|
|
|
"taskType": "HiveOperator"
|
|
|
|
}]
|
2021-10-04 05:18:45 -07:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|