Skip to content

Commit ad99827

Browse files
authored
Merge pull request #3430 from cal-itp/private_dataset
Preventing private datasets to be published to california_open_data portal.
2 parents 5874bc5 + a469bee commit ad99827

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

warehouse/models/mart/transit_database/_mart_transit_database.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ models:
326326
and is no longer active.
327327
- name: private_dataset
328328
description: |
329-
If True, indicates that dataset is marked non-public and the feeds will be published to any public open data portal.
329+
If True, indicates that dataset is marked non-public and the feeds will not be published to any public open data portal.
330330
- *valid_from_actual
331331
- *valid_to_actual
332332
- *is_current_actual

warehouse/models/mart/transit_database_latest/dim_gtfs_datasets_latest.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ WITH
22
unfiltered_entries_latest AS (
33
SELECT * FROM {{ ref('dim_gtfs_datasets') }}
44
WHERE _is_current
5+
AND private_dataset IS NOT TRUE
56
),
67

78
bridge_schedule_dataset_for_validation AS (

0 commit comments

Comments
 (0)