From 5f81c373f7ad6867c2606715082455bb48292552 Mon Sep 17 00:00:00 2001 From: tiffanychu90 Date: Wed, 11 Oct 2023 15:42:21 +0000 Subject: [PATCH] define schema explicitly --- ...le_california_transit_funding_programs.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/airflow/dags/create_external_tables/airtable/external_airtable_california_transit_funding_programs.yml b/airflow/dags/create_external_tables/airtable/external_airtable_california_transit_funding_programs.yml index 72adbd1a07..1ba0528dc8 100644 --- a/airflow/dags/create_external_tables/airtable/external_airtable_california_transit_funding_programs.yml +++ b/airflow/dags/create_external_tables/airtable/external_airtable_california_transit_funding_programs.yml @@ -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