FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Omit 'schema' as part of 'Table.{create,update}' when 'view_query` is set by tseaver · Pull Request #1703 · googleapis/google-cloud-python · GitHub

Omit 'schema' as part of 'Table.{create,update}' when 'view_query` is set - #1703

Merged
tseaver merged 3 commits into
googleapis:masterfrom
tseaver:1701-bigquery-skip_sending_schema_w_view_query
Apr 8, 2016
Merged

Omit 'schema' as part of 'Table.{create,update}' when 'view_query` is set#1703
tseaver merged 3 commits into
googleapis:masterfrom
tseaver:1701-bigquery-skip_sending_schema_w_view_query

Conversation

tseaver commented Apr 7, 2016

Copy link
Copy Markdown
Contributor

Closes #1701.

tseaver added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: bigquery Issues related to the BigQuery API. labels Apr 7, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 7, 2016
Comment thread gcloud/bigquery/table.py Outdated
if self.view_query is not None:
view = resource['view'] = {}
view['query'] = self.view_query
# https://github.com/GoogleCloudPlatform/gcloud-python/issues/1701

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

dhermes commented Apr 7, 2016

Copy link
Copy Markdown
Contributor

Lint errors:

************* Module gcloud.bigquery.test_table
I:1400, 0: Locally disabling too-many-statements (R0915) (locally-disabled)
I:1602, 0: Locally disabling unused-argument (W0613) (locally-disabled)
W:800, 8: Unused variable 'full_name' (unused-variable)
W:801, 8: Unused variable 'age' (unused-variable)

Comment thread gcloud/bigquery/table.py Outdated
view = resource['view'] = {}
view['query'] = self.view_query
# Back-end rejects 'schema' when passing a query.
del resource['schema']

This comment was marked as spam.

tseaver commented Apr 8, 2016

Copy link
Copy Markdown
Contributor Author

@dhermes Any remaining issue?

dhermes commented Apr 8, 2016

Copy link
Copy Markdown
Contributor

LGTM. Squash if you have the energy for it.

tseaver merged commit ac50331 into googleapis:master Apr 8, 2016
tseaver deleted the 1701-bigquery-skip_sending_schema_w_view_query branch April 11, 2016 20:46
tseaver added a commit that referenced this pull request Apr 11, 2016
parthea pushed a commit that referenced this pull request Nov 26, 2025
parthea pushed a commit that referenced this pull request Mar 6, 2026
* fix: load_table_from_dataframe for higher scale decimal

* Update test_client.py

* fix test_load_table_from_dataframe_w_higher_scale_decimal128_datatype

---------

Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
parthea added a commit that referenced this pull request Mar 9, 2026
Bump the current version in `.librarian/state.yaml` to `3.7.0` to cater
for googleapis/python-storage#1621 which was
released on December 9 2025.

This will address the issue in
googleapis/python-storage#1701 where librarian
sets the version to `3.7.0` which has already been released.

The reason that this manual PR is needed is because the release on
December 9th used a different tool `release-please` which does not
update the `.librarian/state.yaml` file.
parthea pushed a commit that referenced this pull request Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL