Skip to content

Commit

Permalink
readd templating for buckets and remove hardcode schema
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-costanzo committed Nov 12, 2024
1 parent ea4afaa commit 4a914c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions airflow/plugins/operators/scrape_state_geoportal.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

# from pydantic import HttpUrl, parse_obj_as


# API_BUCKET = "gs://calitp-state-highway-network-stops"
API_BUCKET = "gs://calitp-state-geoportal-scrape"
# API_BUCKET = os.environ["CALITP_BUCKET__STATE_GEOPORTAL_DATA_PRODUCTS"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
WITH external_state_geoportal__state_highway_network AS (
SELECT *
FROM
`cal-itp-data-infra-staging.external_state_geoportal.state_highway_network`
--{{ source('external_state_geoportal', 'state_highway_network') }}
--`cal-itp-data-infra-staging.external_state_geoportal.state_highway_network`
{{ source('external_state_geoportal', 'state_highway_network') }}
),

stg_state_geoportal__state_highway_network_stops AS(
Expand Down

0 comments on commit 4a914c0

Please sign in to comment.