Skip to content

Conversation

@plamut
Copy link
Contributor

@plamut plamut commented Aug 23, 2019

This PR addresses #8992 (comment). It replaces the system tests helper method _add_rows() with a very similar method from BigQuery client.

plamut added 2 commits August 23, 2019 12:06
Autodetected schema assumes NULLABLE fields, thus use NULLABLE columns
in test fixture.
The _add_rows() helper function is no longer needed, since
client.load_table_from_json() essentially does the same.
@plamut plamut added the api: bigquerystorage Issues related to the BigQuery Storage API. label Aug 23, 2019
@plamut plamut requested a review from a team August 23, 2019 14:08
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 23, 2019
@plamut plamut added needs work This is a pull request that needs a little love. and removed needs work This is a pull request that needs a little love. labels Aug 23, 2019
@plamut plamut force-pushed the sys-tests-refactor branch 2 times, most recently from f673429 to 2f70d23 Compare August 23, 2019 17:22
@plamut plamut force-pushed the sys-tests-refactor branch from 2f70d23 to 05867e8 Compare August 23, 2019 17:26
Copy link
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

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

Thanks for the clean-up PR. Just one update, then we can merge.

@plamut plamut requested a review from tswast August 28, 2019 09:24
@plamut plamut merged commit 01c8c75 into googleapis:master Aug 28, 2019
@plamut plamut deleted the sys-tests-refactor branch August 28, 2019 20:30
HemangChothani pushed a commit to HemangChothani/google-cloud-python that referenced this pull request Aug 29, 2019
* Make all system tests table columns NULL-able

Autodetected schema assumes NULLABLE fields, thus use NULLABLE columns
in test fixture.

* Replace helper function with BQ client method

The _add_rows() helper function is no longer needed, since
client.load_table_from_json() essentially does the same.

* Use explicit schema in data types decoding test

* Adjust a comment related to partial schemas
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
* Make all system tests table columns NULL-able

Autodetected schema assumes NULLABLE fields, thus use NULLABLE columns
in test fixture.

* Replace helper function with BQ client method

The _add_rows() helper function is no longer needed, since
client.load_table_from_json() essentially does the same.

* Use explicit schema in data types decoding test

* Adjust a comment related to partial schemas
parthea pushed a commit that referenced this pull request Aug 21, 2025
* Make all system tests table columns NULL-able

Autodetected schema assumes NULLABLE fields, thus use NULLABLE columns
in test fixture.

* Replace helper function with BQ client method

The _add_rows() helper function is no longer needed, since
client.load_table_from_json() essentially does the same.

* Use explicit schema in data types decoding test

* Adjust a comment related to partial schemas
parthea pushed a commit that referenced this pull request Sep 16, 2025
* Make all system tests table columns NULL-able

Autodetected schema assumes NULLABLE fields, thus use NULLABLE columns
in test fixture.

* Replace helper function with BQ client method

The _add_rows() helper function is no longer needed, since
client.load_table_from_json() essentially does the same.

* Use explicit schema in data types decoding test

* Adjust a comment related to partial schemas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquerystorage Issues related to the BigQuery Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants