-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Omit 'schema' as part of 'Table.{create,update}' when 'view_query` is set #1703
Omit 'schema' as part of 'Table.{create,update}' when 'view_query` is set #1703
Conversation
@@ -419,6 +419,8 @@ def _build_resource(self): | |||
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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Lint errors:
|
@@ -419,6 +419,8 @@ def _build_resource(self): | |||
if self.view_query is not None: | |||
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.
This comment was marked as spam.
Sorry, something went wrong.
@dhermes Any remaining issue? |
LGTM. Squash if you have the energy for it. |
Fix coverage gap introduced in PR #1703.
Closes #1701.