Skip to content

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

Merged
tseaver merged 3 commits into
googleapis:masterfrom
richkadel:master
Jul 6, 2017
Merged

added support for creating a view with useLegacySql = False#3514
tseaver merged 3 commits into
googleapis:masterfrom
richkadel:master

Conversation

@richkadel

@richkadel richkadel commented Jun 20, 2017

Copy link
Copy Markdown

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

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread bigquery/tests/unit/test_table.py Outdated
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
Copy Markdown
Author

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

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

tseaver commented Jul 6, 2017

Copy link
Copy Markdown
Contributor

@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