Nahuel bea38d7200
Fix#10584: Add Data Model as an entity (#10636)
* Add Data Model as entity

* Add sample_data + update dashboard resource and repository with data models

* Fix Java style

* Addess PR comments

* Update bootstrap/sql/com.mysql.cj.jdbc.Driver/v009__create_db_connection_info.sql

* Pylint error

* Address PR comments

* Address PR comments

* Address PR comments

* Minor change

* Fix error in sample_data

* Fix failing test

* Add missing resource and event sub descriptors
2023-03-28 15:07:38 +00:00

85 lines
2.4 KiB
JSON

[
{
"from": {
"fqn": "sample_data.ecommerce_db.shopify.raw_customer",
"type": "table"
},
"to": {
"fqn": "sample_data.ecommerce_db.shopify.dim_address",
"type": "table"
},
"sql_query": "select * from ecommerce_db.shopify.raw_customer",
"edge_meta": { "fqn": "sample_airflow.dim_address_etl", "type": "pipeline" }
},
{
"from": {
"fqn": "sample_data.ecommerce_db.shopify.raw_order",
"type": "table"
},
"to": {
"fqn": "sample_data.ecommerce_db.shopify.\"dim.product\"",
"type": "table"
},
"sql_query": "select * from sample_data.ecommerce_db.shopify.raw_order",
"edge_meta": { "fqn": "sample_airflow.dim_product_etl", "type": "pipeline" }
},
{
"from": {
"fqn": "sample_data.ecommerce_db.shopify.raw_order",
"type": "table"
},
"to": {
"fqn": "sample_data.ecommerce_db.shopify.\"dim.product.variant\"",
"type": "table"
},
"edge_meta": { "fqn": "sample_airflow.dim_product_etl", "type": "pipeline" },
"sql_query": "select * from sample_data.ecommerce_db.shopify.raw_order"
},
{
"from": {
"fqn": "sample_data.ecommerce_db.shopify.raw_customer",
"type": "table"
},
"to": {
"fqn": "sample_data.ecommerce_db.shopify.\"dim.product\"",
"type": "table"
},
"edge_meta": { "fqn": "sample_airflow.dim_product_etl", "type": "pipeline" },
"sql_query": "insert into sample_data.ecommerce_db.shopify.\"dim.product\" as select * from sample_data.ecommerce_db.shopify.raw_customer"
},
{
"from": {
"fqn": "sample_data.ecommerce_db.shopify.raw_customer",
"type": "table"
},
"to": {
"fqn": "sample_data.ecommerce_db.shopify.\"dim.product.variant\"",
"type": "table"
},
"edge_meta": { "fqn": "sample_airflow.dim_product_etl", "type": "pipeline" },
"sql_query": "create ecommerce_db.shopify.\"dim.product.variant\" as select * from sample_data.ecommerce_db.shopify.raw_customer"
},
{
"from": {
"fqn": "sample_superset.model.103",
"type": "dashboardDataModel"
},
"to": {
"fqn": "sample_superset.9",
"type": "dashboard"
},
"edge_meta": { "fqn": "", "type": "" }
},
{
"from": {
"fqn": "sample_superset.model.73",
"type": "dashboardDataModel"
},
"to": {
"fqn": "sample_superset.9",
"type": "dashboard"
},
"edge_meta": { "fqn": "", "type": "" }
}
]