Skip to content

bigquery: remove extraneous info from query result requests#2341

Merged
stephenplusplus merged 2 commits intogoogleapis:masterfrom
stephenplusplus:spp--2337
Jun 1, 2017
Merged

bigquery: remove extraneous info from query result requests#2341
stephenplusplus merged 2 commits intogoogleapis:masterfrom
stephenplusplus:spp--2337

Conversation

@stephenplusplus
Copy link
Contributor

Fixes #1503
Fixes #2337

When a user runs a query, we make two requests: 1) POST the query that starts the job, 2) GET the results from the job. If the user has a long query, step 2 will fail because the GET request contains too many characters/too much information. This PR removes that extraneous information.

@stephenplusplus stephenplusplus added the api: bigquery Issues related to the BigQuery API. label May 31, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 31, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+3.0e-06%) to 99.988% when pulling 990469f on stephenplusplus:spp--2337 into 0421ba8 on GoogleCloudPlatform:master.

delete requestQuery.params;
delete requestQuery.query;

self.request({

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@coveralls
Copy link

Coverage Status

Coverage increased (+4.0e-06%) to 99.988% when pulling 4bebacb on stephenplusplus:spp--2337 into 0421ba8 on GoogleCloudPlatform:master.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants