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: decrease the threshold in which we use the BQ Storage Read API#1925

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
tswast merged 4 commits intomainfromtswast-perf-bqstorage
May 21, 2024

Conversation

@tswast
Copy link
Contributor

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)

Fixes #<issue_number_goes_here> 🦕

@tswasttswast requested review froma team ascode ownersMay 21, 2024 16:28
@tswasttswast requested a review fromNeenu1995May 21, 2024 16:28
@product-auto-labelproduct-auto-labelbot added size: xsPull request size is extra small. api: bigqueryIssues related to the googleapis/python-bigquery API. labelsMay 21, 2024
@product-auto-labelproduct-auto-labelbot added size: sPull request size is small. and removed size: xsPull request size is extra small. labelsMay 21, 2024
# In microbenchmarks, the first full page will be about 10 MB. If a page is
# about 2 MB, then it's the same speed or faster to download all the results
# using the BigQuery Storage Read API.
ALMOST_COMPLETELY_CACHED_RATIO=10/ (10+2)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure I'm following the comment. In usage this appears to be a row ratio, but the comment is about response wire sizes? Also, should the value just remain a float literal? There's no parameter plugging in here.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Updated the comment to explain more my methodology. Unfortunately, this heuristic isn't perfect, as it breaks down with large rows.

Copy link
Contributor

@shollymanshollyman left a comment

Choose a reason for hiding this comment

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

Thanks for the clarifications

@tswasttswast merged commiteaa1a52 intomainMay 21, 2024
@tswasttswast deleted the tswast-perf-bqstorage branchMay 21, 2024 20:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shollymanshollymanshollyman approved these changes

@Neenu1995Neenu1995Awaiting requested review from Neenu1995Neenu1995 was automatically assigned from googleapis/api-bigquery

Assignees

@shollymanshollyman

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.size: sPull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tswast@shollyman

[8]ページ先頭

©2009-2025 Movatter.jp