Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes table creation errors happening on transform_warehouse:
models/staging/ntd_safety_and_security/stg_ntd__monthly_modal_time_series_safety_and_service.sql
and
models/staging/ntd_safety_and_security/stg_ntd__nonmajor_safety_and_security_events.sql
Error: Unable to coerce type FLOAT64 to expected type STRING
Fixed the typecast.
models/intermediate/gtfs_quality/int_gtfs_quality__outcome_validator_versions.sql
andmodels/mart/gtfs_quality/fct_daily_schedule_feed_validation_notices.sql
Error: Invalid BIGNUMERIC value: STOP Field: locationType; Value: STOP
Fixed the external_table data type.
models/mart/gtfs/dim_pathways.sql
Error: Invalid NUMERIC value: 65.00730846754857 Field: length; Value: 65.00730846754857
Fixed the external_table data type.
Resolves #3514
Type of change
How has this been tested?
Tested locally creating models on staging.
Post-merge follow-ups
Validate the successful creation of those tables and no more errors on transform_warehouse.dbt_run_and_upload_artifacts.