Skip to content

Instantly share code, notes, and snippets.

@mostafa6765
Created November 23, 2023 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mostafa6765/095cc6c4b7b397f295867573b8739a2c to your computer and use it in GitHub Desktop.
Save mostafa6765/095cc6c4b7b397f295867573b8739a2c to your computer and use it in GitHub Desktop.
dummy.json
const jsonData = [
{
"name": "my_first_dbt_model",
"resource_type": "model",
"unique_id": "model.dbt_demo.my_first_dbt_model",
"depends_on": {
"nodes": []
}
},
{
"name": "my_second_dbt_model",
"resource_type": "model",
"unique_id": "model.dbt_demo.my_second_dbt_model",
"depends_on": {
"nodes": ["model.dbt_demo.my_first_dbt_model"]
}
},
{
"name": "not_null_my_first_dbt_model_id",
"resource_type": "test",
"unique_id": "test.dbt_demo.not_null_my_first_dbt_model_id.5fb22c2710",
"depends_on": {
"nodes": ["model.dbt_demo.my_first_dbt_model"]
}
},
{
"name": "not_null_my_second_dbt_model_id",
"resource_type": "test",
"unique_id": "test.dbt_demo.not_null_my_second_dbt_model_id.151b76d778",
"depends_on": {
"nodes": ["model.dbt_demo.my_second_dbt_model"]
}
},
{
"name": "unique_my_first_dbt_model_id",
"resource_type": "test",
"unique_id": "test.dbt_demo.unique_my_first_dbt_model_id.16e066b321",
"depends_on": {
"nodes": ["model.dbt_demo.my_first_dbt_model"]
}
},
{
"name": "unique_my_second_dbt_model_id",
"resource_type": "test",
"unique_id": "test.dbt_demo.unique_my_second_dbt_model_id.57a0f8c493",
"depends_on": {
"nodes": ["model.dbt_demo.my_second_dbt_model"]
}
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment