Skip to content

Commit

Permalink
add new external table for 2022 agency info, fix bugs in previous ext…
Browse files Browse the repository at this point in the history
…ernal table creation
  • Loading branch information
charlie-costanzo committed Dec 18, 2024
1 parent 43928ce commit 3404297
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
operator: operators.ExternalTable
bucket: gs://calitp-ntd-xlsx-products-clean
prefix_bucket: false
post_hook: |
SELECT *
FROM `{{ get_project_id() }}`.external_ntd__annual_reporting.2022__annual_database_agency_information
LIMIT 1;
source_objects:
- "annual_database_agency_information/2022/_2022_agency_information/*.jsonl.gz"
destination_project_dataset_table: "external_ntd__annual_reporting.2022__annual_database_agency_information"
source_format: NEWLINE_DELIMITED_JSON
use_bq_client: true
hive_options:
mode: AUTO
require_partition_filter: false
source_uri_prefix: "annual_database_agency_information/2022/_2022_agency_information/"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
operator: operators.ExternalTable
bucket: gs://test-calitp-ntd-xlsx-products-clean
bucket: gs://calitp-ntd-xlsx-products-clean
prefix_bucket: false
post_hook: |
SELECT *
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
operator: operators.ExternalTable
bucket: gs://test-calitp-ntd-xlsx-products-clean
bucket: gs://calitp-ntd-xlsx-products-clean
prefix_bucket: false
post_hook: |
SELECT *
Expand Down

0 comments on commit 3404297

Please sign in to comment.