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

added support for creating a view with useLegacySql = False #3514

Merged
merged 3 commits into from
Jul 6, 2017

Conversation

richkadel
Copy link
Contributor

@richkadel richkadel commented Jun 20, 2017

Plus a couple of small doc fixes.

Passes tests and coverage.

Closes #3388.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 20, 2017
@dhermes dhermes added the api: bigquery Issues related to the BigQuery API. label Jun 20, 2017
Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

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

LGTM except for the commented out lines noted inline.

@@ -675,6 +694,7 @@ def test_create_w_alternate_client(self):
RESOURCE['expirationTime'] = _millis(self.EXP_TIME)
RESOURCE['view'] = {}
RESOURCE['view']['query'] = QUERY
# RESOURCE['view']['useLegacySql'] = True

This comment was marked as spam.

Oops… I forgot to remove those after verifying the other changes
worked. Removed…
@richkadel
Copy link
Contributor Author

My mistake. These commented out lines are now fully removed.

@tseaver tseaver merged commit 7fa089c into googleapis:master Jul 6, 2017
@tseaver
Copy link
Contributor

tseaver commented Jul 6, 2017

@richkadel Thank you very much for the patch!

@tseaver tseaver added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Jul 6, 2017
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 21, 2017
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 22, 2017
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 22, 2017
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: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Python BigQuery client fails on creating a view in standardSQL
4 participants