Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

perf: usegetQueryResults from DB-API#375

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
steffnay merged 1 commit intogoogleapis:masterfromtswast:issue362-dbapi
Nov 10, 2020

Conversation

@tswast
Copy link
Contributor

I suspectlist_rows (tabledata.list) was being called directly
due to nopage_size parameter onQueryJob.result at the time.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as abug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Towards#362 🦕

I suspect `list_rows` (`tabledata.list`) was being called directlydue to no `page_size` parameter on `QueryJob.result` at the time.
@tswasttswast requested review froma team andpmakaniNovember 6, 2020 15:25
@product-auto-labelproduct-auto-labelbot added the api: bigqueryIssues related to the googleapis/python-bigquery API. labelNov 6, 2020
@google-clagoogle-clabot added the cla: yesThis human has signed the Contributor License Agreement. labelNov 6, 2020
@tswasttswast mentioned this pull requestNov 6, 2020
7 tasks
@tswasttswast requested review fromsteffnay and removed request forpmakaniNovember 6, 2020 15:32
@steffnaysteffnay merged commit30de15f intogoogleapis:masterNov 10, 2020
gcf-merge-on-greenbot pushed a commit that referenced this pull requestNov 12, 2020
The `is_dml` logic is not needed now that we moved to `getQueryResults` instead of `tabledata.list` (#375).Previously, the destination table of a DML query would return a non-null value that was unreadable or would return nonsense with DML (and some DDL) queries. Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea- [ ] Ensure the tests and linter pass- [ ] Code coverage does not decrease (if any source code was changed)- [ ] Appropriate docs were updated (if necessary)Towards#377  🦕
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@steffnaysteffnaysteffnay approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tswast@steffnay

[8]ページ先頭

©2009-2025 Movatter.jp