Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Apr 7, 2016

Closes #1701.

@tseaver 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 googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 7, 2016
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
Copy link
Contributor

dhermes commented Apr 7, 2016

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)

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

tseaver commented Apr 8, 2016

@dhermes Any remaining issue?

@dhermes
Copy link
Contributor

dhermes commented Apr 8, 2016

LGTM. Squash if you have the energy for it.

@tseaver tseaver merged commit ac50331 into googleapis:master Apr 8, 2016
@tseaver 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
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