datajunction 0.0.155__tar.gz → 0.0.157__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {datajunction-0.0.155 → datajunction-0.0.157}/PKG-INFO +1 -1
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/__about__.py +1 -1
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/deployment.yaml +6 -6
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/namespace.yaml +1 -1
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/node_revision.yaml +2 -2
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/nodes.yaml +5 -5
- {datajunction-0.0.155 → datajunction-0.0.157}/.coveragerc +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/.gitignore +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/.pre-commit-config.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/LICENSE.txt +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/Makefile +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/README.md +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/claude_desktop_config.example.json +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/__init__.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/_base.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/_internal.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/admin.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/builder.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/cli.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/client.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/compile.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/deployment.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/exceptions.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/mcp/__init__.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/mcp/cli.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/mcp/config.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/models.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/nodes.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/rendering.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/init_system_nodes.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/date.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/dimension_link.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/distinct_node_authors.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/distinct_node_editors.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/is_active.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/materialization.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_deployment_duration_seconds.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_dim_links_per_node.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_dimension_indegree.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_downstream_count.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_revisions_per_node.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_upstream_count.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/node_type.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_branches.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_deployments.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_materializations.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_namespaces.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_nodes.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_orphan_nodes.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_unused_dimensions.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/repo.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/user.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/skills/datajunction.md +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/datajunction/tags.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/pyproject.toml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/setup.cfg +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/__init__.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/conftest.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/companies.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/companies_dim.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/contractor.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/contractors.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/us_state.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/us_states.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/avg_length_of_employment.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/avg_repair_price.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/avg_time_to_dispatch.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/contractor.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/contractors.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/date.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/date_dim.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/dispatcher.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/dispatchers.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/hard_hat.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/hard_hat_state.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/hard_hats.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/local_hard_hats.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/municipality.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/municipality_dim.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/municipality_municipality_type.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/municipality_type.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/national_level_agg.transform.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/num_repair_orders.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/regional_level_agg.transform.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/regional_repair_efficiency.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_order.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_order_details.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_order_transform.transform.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_orders.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_orders_cube.cube.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_type.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/total_repair_cost.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/total_repair_order_discounts.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/us_region.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/us_state.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/us_states.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project10/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/avg_length_of_employment.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/avg_repair_price.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/avg_time_to_dispatch.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/contractor.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/contractors.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/date.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/date_dim.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/dispatcher.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/dispatchers.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/hard_hat.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/hard_hat_state.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/hard_hats.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/local_hard_hats.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/municipality.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/municipality_dim.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/municipality_municipality_type.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/municipality_type.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/national_level_agg.transform.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/num_repair_orders.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/regional_level_agg.transform.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/regional_repair_efficiency.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_order.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_order_details.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_order_transform.transform.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_orders.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_orders_cube.cube.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_type.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/total_repair_cost.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/total_repair_order_discounts.metric.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/us_region.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/us_state.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/us_states.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/companies.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/companies_dim.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/contractor.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/contractors.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/us_state.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/us_states.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project2/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project2/some_node.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project3/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project3/some_node.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project4/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project4/very/very/deeply/nested/namespace/some_node.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project5/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project5/some_node.a.b.c.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project6/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project6/roads/contractor.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project6/roads/contractors.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project7/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project7/roads/contractor.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project7/roads/contractors.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project8/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/dj.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/companies.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/companies_dim.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/contractor.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/contractors.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/us_state.dimension.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/us_states.source.yaml +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/examples.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/mcp/README.md +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/mcp/__init__.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/mcp/test_cli.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test__internal.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_admin.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_base.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_builder.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_cli.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_client.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_compile.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_deploy.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_generated_client.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_integration.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tests/test_models.py +0 -0
- {datajunction-0.0.155 → datajunction-0.0.157}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datajunction
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.157
|
|
4
4
|
Summary: DataJunction client library for connecting to a DataJunction server
|
|
5
5
|
Project-URL: repository, https://github.com/DataJunction/dj
|
|
6
6
|
Author-email: DataJunction Authors <yian.shang@gmail.com>
|
|
@@ -9,7 +9,7 @@ query: |-
|
|
|
9
9
|
SELECT
|
|
10
10
|
D.uuid,
|
|
11
11
|
D.namespace,
|
|
12
|
-
CAST(D.status AS
|
|
12
|
+
CAST(D.status AS VARCHAR) AS status,
|
|
13
13
|
D.created_by_id,
|
|
14
14
|
D.created_at,
|
|
15
15
|
D.updated_at,
|
|
@@ -17,11 +17,11 @@ query: |-
|
|
|
17
17
|
CAST(TO_CHAR(CAST(DATE_TRUNC('week', D.created_at) AS date), 'YYYYMMDD') AS integer) AS created_at_week,
|
|
18
18
|
CAST(TO_CHAR(CAST(D.updated_at AS date), 'YYYYMMDD') AS integer) AS updated_at_date,
|
|
19
19
|
CAST(TO_CHAR(CAST(DATE_TRUNC('week', D.updated_at) AS date), 'YYYYMMDD') AS integer) AS updated_at_week,
|
|
20
|
-
CAST(json_extract_path_text(D.spec, 'source', 'type') AS
|
|
21
|
-
CAST(json_extract_path_text(D.spec, 'source', 'repository') AS
|
|
22
|
-
CAST(json_extract_path_text(D.spec, 'source', 'branch') AS
|
|
23
|
-
CAST(json_extract_path_text(D.spec, 'source', 'commit_sha') AS
|
|
24
|
-
CAST(json_extract_path_text(D.spec, 'source', 'ci_system') AS
|
|
20
|
+
CAST(json_extract_path_text(D.spec, 'source', 'type') AS VARCHAR) AS source_type,
|
|
21
|
+
CAST(json_extract_path_text(D.spec, 'source', 'repository') AS VARCHAR) AS repository,
|
|
22
|
+
CAST(json_extract_path_text(D.spec, 'source', 'branch') AS VARCHAR) AS branch,
|
|
23
|
+
CAST(json_extract_path_text(D.spec, 'source', 'commit_sha') AS VARCHAR) AS commit_sha,
|
|
24
|
+
CAST(json_extract_path_text(D.spec, 'source', 'ci_system') AS VARCHAR) AS ci_system,
|
|
25
25
|
CAST(EXTRACT(EPOCH FROM (D.updated_at - D.created_at)) AS double) AS duration_seconds
|
|
26
26
|
FROM source.dj_metadata.public.deployments D
|
|
27
27
|
columns:
|
|
@@ -90,7 +90,7 @@ query: |-
|
|
|
90
90
|
ns.namespace AS name,
|
|
91
91
|
CASE WHEN deployed_ns.namespace IS NOT NULL
|
|
92
92
|
THEN true ELSE false END AS has_deployments,
|
|
93
|
-
CAST(SPLIT_PART(ns.namespace, '.', 1) AS
|
|
93
|
+
CAST(SPLIT_PART(ns.namespace, '.', 1) AS VARCHAR) AS top_level,
|
|
94
94
|
CAST(LENGTH(ns.namespace) - LENGTH(REPLACE(ns.namespace, '.', '')) + 1 AS integer) AS depth,
|
|
95
95
|
ns_repo.github_repo_path AS github_repo_path,
|
|
96
96
|
ns_repo.container AS repo_container,
|
|
@@ -13,8 +13,8 @@ query: |-
|
|
|
13
13
|
NR.name,
|
|
14
14
|
NR.display_name,
|
|
15
15
|
NR.version,
|
|
16
|
-
CAST(NR.status AS
|
|
17
|
-
CAST(NR.mode AS
|
|
16
|
+
CAST(NR.status AS VARCHAR) AS status,
|
|
17
|
+
CAST(NR.mode AS VARCHAR) AS mode,
|
|
18
18
|
NR.created_by_id,
|
|
19
19
|
NR.updated_at,
|
|
20
20
|
CAST(TO_CHAR(CAST(NR.updated_at AS date), 'YYYYMMDD') AS integer) AS updated_at_date,
|
|
@@ -69,14 +69,14 @@ query: |-
|
|
|
69
69
|
ON DNR.id = C.node_revision_id
|
|
70
70
|
JOIN source.dj_metadata.public.node DN
|
|
71
71
|
ON DN.id = DNR.node_id AND DN.current_version = DNR.version
|
|
72
|
-
AND CAST(DN.type AS
|
|
72
|
+
AND CAST(DN.type AS VARCHAR) = 'DIMENSION'
|
|
73
73
|
GROUP BY DNR.node_id
|
|
74
74
|
)
|
|
75
75
|
SELECT
|
|
76
76
|
N.id,
|
|
77
77
|
N.name,
|
|
78
78
|
NR.display_name,
|
|
79
|
-
CAST(N.type AS
|
|
79
|
+
CAST(N.type AS VARCHAR) AS type,
|
|
80
80
|
N.namespace,
|
|
81
81
|
N.created_by_id,
|
|
82
82
|
N.created_at,
|
|
@@ -84,8 +84,8 @@ query: |-
|
|
|
84
84
|
CAST(TO_CHAR(CAST(DATE_TRUNC('week', N.created_at) AS date), 'YYYYMMDD') AS integer) AS created_at_week,
|
|
85
85
|
N.current_version,
|
|
86
86
|
CASE WHEN N.deactivated_at IS NULL THEN true ELSE false END AS is_active,
|
|
87
|
-
CAST(NR.status AS
|
|
88
|
-
CAST(NR.mode AS
|
|
87
|
+
CAST(NR.status AS VARCHAR) AS status,
|
|
88
|
+
CAST(NR.mode AS VARCHAR) AS mode,
|
|
89
89
|
NR.description,
|
|
90
90
|
NR.id AS current_revision_id,
|
|
91
91
|
CASE
|
|
@@ -104,7 +104,7 @@ query: |-
|
|
|
104
104
|
CASE WHEN COALESCE(PC.parent_count, 0) = 0 THEN true ELSE false END AS is_root,
|
|
105
105
|
CASE WHEN COALESCE(RC.revision_count, 0) > 1 THEN true ELSE false END AS is_iterated,
|
|
106
106
|
CASE
|
|
107
|
-
WHEN CAST(N.type AS
|
|
107
|
+
WHEN CAST(N.type AS VARCHAR) = 'DIMENSION'
|
|
108
108
|
AND COALESCE(DI.indegree, 0) = 0
|
|
109
109
|
AND COALESCE(DCU.cube_count, 0) = 0
|
|
110
110
|
THEN true ELSE false
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/distinct_node_authors.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/distinct_node_editors.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_dim_links_per_node.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_dimension_indegree.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_downstream_count.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_revisions_per_node.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/median_upstream_count.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_branches.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_deployments.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_namespaces.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/datajunction/seed/nodes/number_of_orphan_nodes.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/deploy0/roads/companies_dim.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/contractors.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/date.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/date_dim.dimension.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/dispatchers.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/hard_hat.dimension.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/hard_hats.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/municipality.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/repair_type.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/us_region.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/us_state.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project1/roads/us_states.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/avg_repair_price.metric.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/contractor.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/contractors.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/date_dim.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/dispatcher.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/dispatchers.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/hard_hat.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/hard_hat_state.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/hard_hats.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/municipality.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/municipality_type.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/num_repair_orders.metric.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_order.dimension.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_orders.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_orders_cube.cube.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/repair_type.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/total_repair_cost.metric.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/us_region.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/us_state.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project11/us_states.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/companies.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/contractors.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/us_state.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project12/roads/us_states.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project5/some_node.a.b.c.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project6/roads/contractors.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project7/roads/contractors.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/companies.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/contractors.source.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/us_state.dimension.yaml
RENAMED
|
File without changes
|
{datajunction-0.0.155 → datajunction-0.0.157}/tests/examples/project9/roads/us_states.source.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|