Skip to content
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

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

Merged
merged 2 commits into from
Jul 12, 2019

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Jul 12, 2019

  • 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
Copy link
Contributor Author

tswast commented Jul 12, 2019

Comments copied from @shollyman's GoogleCloudPlatform/golang-samples#906.

@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. BigQuery Storage: 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
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
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.

# 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
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
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
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.

4 participants