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

perf: DB-API uses more efficient query_and_wait when no job ID is provided #1747

Merged
merged 58 commits into from
Dec 19, 2023
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b8c583a
perf: use the first page a results when `query(api_method="QUERY")`
tswast Nov 15, 2023
6a8059d
add tests
tswast Nov 15, 2023
1f0e38e
respect max_results with cached page
tswast Nov 16, 2023
4401725
respect page_size, also avoid bqstorage if almost fully downloaded
tswast Nov 16, 2023
d078941
skip true test if bqstorage not installed
tswast Nov 16, 2023
660aa76
Merge remote-tracking branch 'origin/main' into issue589-RowIterator.…
tswast Nov 16, 2023
476bcd7
coverage
tswast Nov 16, 2023
05d6a3e
Merge remote-tracking branch 'origin/main' into issue589-RowIterator.…
tswast Nov 20, 2023
c16e4be
feat: add `Client.query_and_wait` which directly returns a `RowIterat…
tswast Nov 15, 2023
222f91b
implement basic query_and_wait and add code sample to test
tswast Nov 20, 2023
73e5817
avoid duplicated QueryJob construction
tswast Nov 20, 2023
9508121
update unit tests
tswast Nov 21, 2023
543481d
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
tswast Nov 21, 2023
85f1cab
fix merge conflict in rowiterator
tswast Nov 21, 2023
c0e6c86
support max_results, add tests
tswast Nov 21, 2023
d4a322d
retry tests
tswast Nov 21, 2023
e0b2d2e
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
tswast Nov 21, 2023
9daccbd
unit test coverage
tswast Nov 22, 2023
bba36d2
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
tswast Nov 22, 2023
adf0b49
dont retry twice
tswast Nov 22, 2023
6dfbf92
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
tswast Nov 22, 2023
765a644
fix mypy_samples session
tswast Nov 27, 2023
e461ebe
consolidate docstrings for query_and_wait
tswast Nov 27, 2023
895b6d0
remove mention of job ID
tswast Nov 28, 2023
d5345cd
fallback to jobs.insert for unsupported features
tswast Nov 29, 2023
f75d8ab
distinguish API timeout from wait timeout
tswast Nov 29, 2023
baff9d6
add test for jobs.insert fallback
tswast Nov 29, 2023
221898d
populate default job config
tswast Nov 29, 2023
18f825a
refactor default config
tswast Nov 29, 2023
5afbc41
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
tswast Nov 29, 2023
08167d8
add coverage for job_config
tswast Nov 29, 2023
3e10ea4
cancel job if hasn't finished
tswast Nov 29, 2023
dc5e5be
mypy
tswast Nov 30, 2023
f1556bc
allow unrealeased features in samples
tswast Dec 1, 2023
db71a1b
Merge branch 'main' into issue589-query_and_wait
tswast Dec 3, 2023
bd7e767
fix for 3.12
tswast Dec 4, 2023
4ffec17
Merge branch 'main' into issue589-query_and_wait
tswast Dec 6, 2023
95b3b0e
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
tswast Dec 7, 2023
ed317ec
perf: DB-API uses more efficient `query_and_wait` when no job ID is p…
tswast Dec 8, 2023
f08dac3
fix: keep `RowIterator.total_rows` populated after iteration
tswast Dec 8, 2023
5b324ee
Merge remote-tracking branch 'origin/issue589-query_and_wait' into b1…
tswast Dec 8, 2023
3b20ed7
fix unit tests and query_job property
tswast Dec 8, 2023
a376bd6
Update google/cloud/bigquery/table.py
tswast Dec 8, 2023
4019bbf
Merge remote-tracking branch 'origin/issue589-total_rows' into b1745-…
tswast Dec 8, 2023
7c3d813
Merge remote-tracking branch 'origin/issue589-query_and_wait' into is…
tswast Dec 8, 2023
304799a
Merge remote-tracking branch 'origin/issue589-total_rows' into issue5…
tswast Dec 8, 2023
425f6b0
fix comments
tswast Dec 8, 2023
ae06cd2
Merge branch 'main' into issue589-query_and_wait
tswast Dec 8, 2023
2baa5d3
Merge remote-tracking branch 'origin/issue589-query_and_wait' into b1…
tswast Dec 8, 2023
e819421
Merge remote-tracking branch 'origin/main' into b1745-dbapi-query_and…
tswast Dec 8, 2023
4771602
fix unit tests
tswast Dec 11, 2023
b435e41
unit test coverage
tswast Dec 11, 2023
64bf4a4
more coverage
tswast Dec 11, 2023
225049e
coverage for real
tswast Dec 11, 2023
5154866
Merge branch 'main' into b1745-dbapi-query_and_wait
tswast Dec 12, 2023
3b60b5b
Merge branch 'main' into b1745-dbapi-query_and_wait
tswast Dec 14, 2023
83679ab
Merge branch 'main' into b1745-dbapi-query_and_wait
Linchin Dec 15, 2023
0bd35e5
Merge branch 'main' into b1745-dbapi-query_and_wait
tswast Dec 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/main' into issue589-query_and_wait
  • Loading branch information
tswast committed Nov 21, 2023
commit e0b2d2e54ebd165dd7bd278c2bce54fd2f272da2

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.