-
Notifications
You must be signed in to change notification settings - Fork 348
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
fix: enforce bq SchemaField field_type and mode using feature value_type #1019
fix: enforce bq SchemaField field_type and mode using feature value_type #1019
Conversation
No region tags are edited in this PR.This comment is generated by snippet-bot.
|
4c49705
to
9c95e64
Compare
…ngestion validation
source_format=bigquery.SourceFormat.PARQUET, | ||
parquet_options=parquet_options, | ||
) | ||
|
||
job = bigquery_client.load_table_from_dataframe( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there's no assertion that the correct args are passed to bq_load_table_from_dataframe_mock
. Perhaps add to a bq_load_table_from_dataframe_mock.assert_called_once_with(...)
to test_ingest_from_df_using_column
and test_ingest_from_df_using_datetime
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes b/220049963