Skip to content

BigQuery Storage: Update quickstart sample with data format and sharding options. - #8665

Merged
tswast merged 2 commits into
googleapis:masterfrom
tswast:bqstorage-quickstart
Jul 12, 2019
Merged

BigQuery Storage: Update quickstart sample with data format and sharding options.#8665
tswast merged 2 commits into
googleapis:masterfrom
tswast:bqstorage-quickstart

Conversation

@tswast

@tswast tswast commented Jul 12, 2019

Copy link
Copy Markdown
Contributor
  • Moves sample to samples/ directory.
  • Updates synth.py to use common templates (which now includes samples tests in the noxfile).
@tswast
tswast requested a review from a team July 12, 2019 16:58
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 12, 2019
@tswast tswast added the api: bigquerystorage Issues related to the BigQuery Storage API. label Jul 12, 2019
@tswast

tswast commented Jul 12, 2019

Copy link
Copy Markdown
Contributor Author
@tswast
tswast requested a review from shollyman July 12, 2019 16:59
@tseaver tseaver changed the title Update quickstart sample with data format and sharding options. Jul 12, 2019
*_pb2_grpc.py
google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py
google/cloud/bigquery_storage_v1beta1/gapic/transports/big_query_storage_grpc_transport.py
tests/unit/gapic/v1beta1/test_big_query_storage_client_v1beta1.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this change intentional? Seems like it might break stuff.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Linter is passing. Seems these lines are no longer needed.

Comment thread bigquery_storage/synth.py
# Add templated files
# ----------------------------------------------------------------------------
templated_files = common.py_library(unit_cov_level=79, cov_level=79, samples_test=True, system_test_dependencies=["fastavro", "pandas", "pyarrow != 0.14.0"])
s.move(templated_files)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might need one or more excludes here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'd rather keep the common templates if possible. It seems to be working.

@tswast
tswast merged commit f67752e into googleapis:master Jul 12, 2019
@tswast
tswast deleted the bqstorage-quickstart branch July 12, 2019 18:22
tswast added a commit that referenced this pull request Jul 15, 2019
parthea pushed a commit that referenced this pull request Aug 21, 2025
* Update quickstart sample with data format and sharding options.

* Add symlink in docs to samples. Use localdeps for system and unit tests.
parthea pushed a commit that referenced this pull request Sep 16, 2025
* Update quickstart sample with data format and sharding options.

* Add symlink in docs to samples. Use localdeps for system and unit tests.
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.

4 participants