Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transit funding schema #3003

Merged
merged 3 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,34 @@ hive_options:
mode: AUTO
require_partition_filter: false
source_uri_prefix: "california_transit__funding_programs/"
schema_fields:
- name: id
type: STRING
mode: NULLABLE
- name: full_name
type: STRING
mode: NULLABLE
- name: program
type: STRING
mode: NULLABLE
- name: program_information
type: STRING
mode: NULLABLE
- name: program_informatiom
type: STRING
mode: NULLABLE
- name: services
type: STRING
mode: NULLABLE
- name: organization
type: STRING
mode: NULLABLE
- name: category
type: STRING
mode: NULLABLE
- name: drmt_data
type: STRING
mode: NULLABLE
- name: dt
type: STRING
mode: NULLABLE
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stg_transit_database__funding_programs AS (
id,
{{ trim_make_empty_string_null(column_name = "program") }} AS program,
full_name,
program_information,
COALESCE(program_information, program_informatiom) AS program_information,
services,
organization,
category,
Expand Down