Skip to content

Commit

Permalink
adding private_dataset field to the warehouse Staging, Intermediate, …
Browse files Browse the repository at this point in the history
…and Mart gtfs_dataset.
  • Loading branch information
farhad committed Aug 24, 2024
1 parent 8a26f18 commit 70ed263
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ int_transit_database__gtfs_datasets_dim AS (
url_to_encode,
base64_url,
type,
private_dataset,
_is_current,
_valid_from,
_valid_to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ models:
description: |
If populated, indicates that dataset was deprecated on listed date
and is no longer active.
- name: private_dataset
description: |
If True, indicates that dataset is marked non-public and the feeds will be published to any public open data portal.
- *valid_from_actual
- *valid_to_actual
- *is_current_actual
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dim_gtfs_datasets AS (
manual_check__localized_stop_tts,
manual_check__grading_scheme_v1,
base64_url,
private_dataset,
_is_current,
_valid_from,
_valid_to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ stg_transit_database__gtfs_datasets AS (
WHEN data = "GTFS VehiclePositions" THEN "vehicle_positions"
WHEN data = "GTFS TripUpdates" THEN "trip_updates"
END AS type,
private_dataset,
ts,
dt
FROM construct_base64_url
Expand Down

0 comments on commit 70ed263

Please sign in to comment.