Skip to content

fix: enforce bq SchemaField field_type and mode using feature value_type#1019

Merged
morgandu merged 11 commits intogoogleapis:mainfrom
morgandu:mor--fix-feature-store-df-bq-schema
Feb 24, 2022
Merged

fix: enforce bq SchemaField field_type and mode using feature value_type#1019
morgandu merged 11 commits intogoogleapis:mainfrom
morgandu:mor--fix-feature-store-df-bq-schema

Conversation

@morgandu
Copy link
Copy Markdown
Contributor

Fixes b/220049963

@morgandu morgandu requested review from a team, ivanmkc and vinnysenthil February 17, 2022 04:08
@morgandu morgandu requested a review from a team as a code owner February 17, 2022 04:08
@morgandu morgandu requested a review from dandhlee February 17, 2022 04:08
@snippet-bot
Copy link
Copy Markdown

snippet-bot bot commented Feb 17, 2022

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@morgandu morgandu force-pushed the mor--fix-feature-store-df-bq-schema branch from 4c49705 to 9c95e64 Compare February 17, 2022 04:16
parquet_options=parquet_options,
)

job = bigquery_client.load_table_from_dataframe(
Copy link
Copy Markdown
Contributor

@ivanmkc ivanmkc Feb 23, 2022

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.

Copy link
Copy Markdown
Contributor

@ivanmkc ivanmkc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morgandu morgandu merged commit 095bea2 into googleapis:main Feb 24, 2022
@morgandu morgandu deleted the mor--fix-feature-store-df-bq-schema branch February 24, 2022 05:14
@morgandu morgandu self-assigned this Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants