Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2072 commits
Select commit Hold shift + click to select a range
41419d7
fix: add pyarrow version check for range support (#1914)
Linchin May 9, 2024
1698f21
fix: edit presubmit for to simplify configuration (#1915)
chalmerlowe May 15, 2024
9002358
feat: adds timer decorator to facilitate debugging (#1917)
chalmerlowe May 16, 2024
9923228
chore(deps): update all dependencies (#1916)
renovate-bot May 16, 2024
205e95b
chore(main): release 3.23.0 (#1911)
release-please[bot] May 16, 2024
ce1719c
chore(deps): update all dependencies (#1921)
renovate-bot May 21, 2024
65b3393
perf: decrease the threshold in which we use the BQ Storage Read API …
tswast May 21, 2024
0c44195
chore(main): release 3.23.1 (#1927)
release-please[bot] May 21, 2024
f2f3f8e
feat: add support for map target type in Parquet options (#1919)
sclmn May 21, 2024
a408ef1
fix: retry `is_job_done` on `ConnectionError` (#1930)
tswast May 23, 2024
afce5bd
chore(deps): update all dependencies (#1926)
renovate-bot May 28, 2024
d06e813
chore(deps): update all dependencies (#1934)
renovate-bot May 29, 2024
9191264
test: verify `Client._connection.extra_headers` functionality (#1932)
tswast May 29, 2024
82f05ff
chore(deps): bump requests from 2.31.0 to 2.32.2 in /samples/geograph…
dependabot[bot] May 29, 2024
8f58bf0
chore: add warning if storage module not found (#1937)
Linchin May 30, 2024
059e9a1
chore(deps): update all dependencies (#1936)
renovate-bot May 31, 2024
c222b0a
chore(deps): update all dependencies (#1938)
renovate-bot May 31, 2024
91eda54
feat: add default timeout for Client.get_job() (#1935)
Linchin May 31, 2024
5343a44
testing: update BQML training option (#1943)
shollyman Jun 3, 2024
7ec7a86
chore: updates continuous CI/CD tests against specific versions of Py…
chalmerlowe Jun 3, 2024
653b8f4
perf: if `page_size` or `max_results` is set on `QueryJob.result()`, …
tswast Jun 3, 2024
db8a98b
fix: create query job in job.result() if doesn't exist (#1944)
Linchin Jun 4, 2024
a5104ba
chore(main): release 3.24.0 (#1928)
release-please[bot] Jun 4, 2024
d96bb1f
feat: add prefer_bqstorage_client option for Connection (#1945)
Linchin Jun 10, 2024
bf48a2f
test: update the results of test based on change to hacker news data …
chalmerlowe Jun 12, 2024
bd10311
chore(deps): update all dependencies (#1946)
renovate-bot Jun 13, 2024
69892da
chore(deps): update all dependencies (#1954)
renovate-bot Jun 13, 2024
212668e
feat: support load job option ColumnNameCharacterMap (#1952)
Linchin Jun 14, 2024
25b054c
fix: do not overwrite page_size with max_results when start_index is …
Linchin Jun 17, 2024
e6812c3
chore(main): release 3.25.0 (#1947)
release-please[bot] Jun 20, 2024
e4e6562
chore(deps): update dependency urllib3 to v2.2.2 [security] (#1959)
renovate-bot Jun 20, 2024
15af5f2
chore(deps): update all dependencies (#1955)
renovate-bot Jun 21, 2024
eda36e3
chore: remove references to conda (#1971)
tswast Jul 9, 2024
1378326
chore(deps): update dependency certifi to v2024.7.4 [security] (#1968)
renovate-bot Jul 9, 2024
bb75006
deps: bump min version of google-api-core and google-cloud-core to 2.…
tswast Jul 10, 2024
80aa9e3
feat: use `bigquery-magics` package for the `%%bigquery` magic (#1965)
tswast Jul 10, 2024
a77dd43
chore: update templated files (#1975)
parthea Jul 17, 2024
14739a3
fix: Allow protobuf 5.x; require protobuf >=3.20.2; proto-plus >=1.22…
parthea Jul 17, 2024
ea5d6ac
docs: add short mode query sample & test (#1978)
shollyman Jul 19, 2024
9af9294
chore(deps): update all dependencies (#1982)
renovate-bot Jul 25, 2024
bf716ce
chore(python): fix docs build (#1984)
gcf-owl-bot[bot] Aug 9, 2024
c5a3edb
chore(deps): update all dependencies (#1983)
renovate-bot Aug 13, 2024
765086a
fix: add warning when encountering unknown field types (#1989)
suzmue Aug 13, 2024
d0b9633
Bug: revises Exception type (#1994)
chalmerlowe Aug 14, 2024
0aab4c1
fix: add docfx to the presubmit configuration and delete docs-presubm…
chalmerlowe Aug 14, 2024
6078e36
chore(deps): update all dependencies (#1993)
renovate-bot Aug 16, 2024
e1ec1b5
fix: do not set job timeout extra property if None (#1987)
bmwant Aug 19, 2024
8ba4bbb
fix: set pyarrow field nullable to False for a BigQuery field in REPE…
xyloid Aug 20, 2024
dbc07fb
chore(deps): update all dependencies (#2002)
renovate-bot Aug 27, 2024
ca0c4e4
chore(deps): update all dependencies (#2004)
renovate-bot Aug 27, 2024
3f3aed4
testing: remove testing identity override (#2011)
shollyman Sep 4, 2024
91993c2
feat: include LegacyPandasError in init imports (#2014)
shollyman Sep 5, 2024
3e44730
chore(deps): update all dependencies (#2005)
renovate-bot Sep 10, 2024
c58f886
chore(deps): update all dependencies (#2017)
renovate-bot Sep 11, 2024
1a6dc3e
docs: improve QueryJobConfig.destination docstring (#2016)
Linchin Sep 11, 2024
26bc716
chore: adds Python 3.7/3.8 EOL pending deprecation warning (#2007)
chalmerlowe Sep 11, 2024
38f15c7
chore(deps): update all dependencies (#2018)
renovate-bot Sep 12, 2024
3a32c5f
build(python): release script update (#2024)
gcf-owl-bot[bot] Sep 17, 2024
e1482d4
chore(deps): update all dependencies (#2025)
renovate-bot Sep 20, 2024
54c30ed
chore(deps): update all dependencies (#2029)
renovate-bot Sep 24, 2024
3e6c71c
chore(deps): bump fiona from 1.9.6 to 1.10.0 in /samples/geography (#…
dependabot[bot] Sep 25, 2024
4dbcbbe
chore(main): release 3.26.0 (#1973)
release-please[bot] Sep 26, 2024
c694a2c
chore(deps): update all dependencies (#2031)
renovate-bot Sep 26, 2024
f512964
chore(deps): update all dependencies (#2033)
renovate-bot Oct 1, 2024
3e0a34f
Fix typo in legacy docs (#2037)
jeffqg Oct 9, 2024
afecb93
feat: updates to allow users to set max_stream_count (#2039)
chalmerlowe Oct 10, 2024
c6cbb8f
build: use multiScm for Kokoro release builds (#2049)
gcf-owl-bot[bot] Nov 1, 2024
1a678b9
chore: two fixit fixes (#2050)
leahecole Nov 1, 2024
8f2abe3
chore(main): release 3.27.0 (#2040)
release-please[bot] Nov 7, 2024
a65d523
docs: render fields correctly for update calls (#2055)
leahecole Nov 7, 2024
698cee8
chore(python): remove obsolete release scripts and config files (#2057)
gcf-owl-bot[bot] Nov 11, 2024
75b22cb
build: Use python 3.10 for docs session (#2058)
parthea Nov 12, 2024
07d5a23
chore(python): update dependencies in .kokoro/docker/docs (#2060)
gcf-owl-bot[bot] Nov 12, 2024
2704a07
feat: migrate to pyproject.toml (#2041)
rinarakaki Nov 13, 2024
23ef8b4
chore(deps): update all dependencies (#2038)
renovate-bot Nov 15, 2024
3a66cef
fix: Allow geopandas 1.x (#2065)
parthea Nov 15, 2024
936b97e
chore(deps): update all dependencies (#2064)
renovate-bot Nov 15, 2024
65298d7
chore(deps): update all dependencies (#2068)
renovate-bot Nov 15, 2024
9d82724
chore(deps): update all dependencies (#2070)
renovate-bot Nov 18, 2024
b59cbb8
feat: support setting max_stream_count when fetching query result (#2…
kien-truong Nov 22, 2024
1289d44
chore(deps): update all dependencies (#2078)
renovate-bot Nov 26, 2024
7a3f019
feat: add property for `allowNonIncrementalDefinition` for materializ…
yu-iskw Dec 4, 2024
639430f
feat: add property for maxStaleness in table definitions (#2087)
yu-iskw Dec 6, 2024
23b477b
feat: add type hints to Client (#2044)
rinarakaki Dec 10, 2024
a458c9f
chore(python): update dependencies in .kokoro/docker/docs (#2088)
gcf-owl-bot[bot] Dec 17, 2024
d8ce8c1
chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /.kokoro (#2094)
dependabot[bot] Dec 26, 2024
6847728
feat: preserve unknown fields from the REST API representation in `Sc…
tswast Dec 27, 2024
87fe228
chore(deps): update all dependencies (#2096)
renovate-bot Jan 2, 2025
e72ebef
chore(deps): update dependency virtualenv to v20.28.1 (#2101)
renovate-bot Jan 3, 2025
bba9e19
chore(deps): update dependency grpcio to v1.69.0 (#2102)
renovate-bot Jan 6, 2025
d0f90af
chore(python): exclude .github/workflows/unittest.yml in renovate con…
gcf-owl-bot[bot] Jan 9, 2025
06fb81e
feat: adds new input validation function similar to isinstance. (#2107)
chalmerlowe Jan 9, 2025
ac9a801
feat: adds the SerDeInfo class and tests (#2108)
chalmerlowe Jan 10, 2025
7c01e89
feat: adds StorageDescriptor and tests (#2109)
chalmerlowe Jan 14, 2025
73294eb
feat: resource tags in dataset (#2090)
keunsoopark Jan 14, 2025
5d75578
feat: Adds ForeignTypeInfo class and tests (#2110)
chalmerlowe Jan 15, 2025
32ea052
feat: adds ExternalCatalogDatasetOptions and tests (#2111)
chalmerlowe Jan 15, 2025
5dd99fc
chore(main): release 3.28.0 (#2056)
release-please[bot] Jan 15, 2025
2ab9602
fix: add default value in SchemaField.from_api_repr() (#2115)
Linchin Jan 17, 2025
e78a1cb
feat: add ExternalCatalogTableOptions class and tests (#2116)
chalmerlowe Jan 21, 2025
8632ff2
chore(main): release 3.29.0 (#2117)
release-please[bot] Jan 21, 2025
85ab7b4
feat: support resource_tags for table (#2093)
hrkh Jan 21, 2025
fb0f79c
chore(python): fix docs publish build (#2113)
gcf-owl-bot[bot] Jan 27, 2025
dac8740
feat: add roundingmode enum, wiring, and tests (#2121)
chalmerlowe Jan 31, 2025
423d5d0
fix: avoid blocking in download thread when using BQ Storage API (#2034)
kien-truong Feb 3, 2025
427febd
test: add unit test covering the case where worker streams are stoppe…
tswast Feb 6, 2025
8000128
docs: update magics.rst (#2125)
aliciawilliams Feb 14, 2025
9a8df9c
chore(deps): bump cryptography from 43.0.1 to 44.0.1 in /.kokoro (#2130)
dependabot[bot] Feb 14, 2025
dae6f42
deps: use pandas-gbq to determine schema in `load_table_from_datafram…
tswast Feb 21, 2025
28b8682
Feat: Adds foreign_type_info attribute to table class and adds unit t…
chalmerlowe Feb 21, 2025
f93819b
deps: updates required checks list in github (#2136)
chalmerlowe Feb 21, 2025
95b6c9c
chore(python): conditionally load credentials in .kokoro/build.sh (#2…
gcf-owl-bot[bot] Feb 25, 2025
ab53af1
fix: retry 404 errors in `Client.query(...)` (#2135)
tswast Feb 26, 2025
7e55e21
chore(main): release 3.30.0 (#2119)
release-please[bot] Feb 27, 2025
780b46c
deps: Remove Python 3.7 and 3.8 as supported runtimes (#2133)
chalmerlowe Feb 28, 2025
1b80c92
fix: adding property setter for table constraints, #1990 (#2092)
lkhagvadorj-amp Mar 4, 2025
ecb6245
feat: add query text and total bytes processed to RowIterator (#2140)
Genesis929 Mar 7, 2025
29dc763
chore: remove unused files (#2141)
parthea Mar 10, 2025
e823422
fix: remove setup.cfg configuration for creating universal wheels (#2…
parthea Mar 14, 2025
4b4cf2d
fix: Allow protobuf 6.x (#2142)
parthea Mar 18, 2025
937438a
chore: refactor cell data parsing to use classes for easier overrides…
tswast Mar 19, 2025
b3f7595
fix: avoid "Unable to determine type" warning with JSON columns in `t…
tswast Mar 20, 2025
143999f
chore(main): release 3.31.0 (#2139)
release-please[bot] Mar 25, 2025
9543847
chore(deps): update all dependencies (#2143)
renovate-bot Mar 27, 2025
113fd15
chore(deps): update dependency pyasn1-modules to v0.4.2 (#2150)
renovate-bot Mar 31, 2025
e8459b1
fix: empty record dtypes (#2147)
yokomotod Apr 1, 2025
5a42ace
chore(deps): update dependency shapely to v2.1.0 (#2155)
renovate-bot Apr 3, 2025
24ac7a8
fix: table iterator should not use bqstorage when page_size is not No…
chelsea-lin Apr 3, 2025
b18d00c
chore(deps): update dependency typing-extensions to v4.13.1 (#2156)
renovate-bot Apr 3, 2025
16ff505
feat: add preview support for incremental results (#2145)
shollyman Apr 10, 2025
bbcea97
chore(python): remove .gitignore from templates (#2160)
gcf-owl-bot[bot] Apr 10, 2025
61d104a
test: adds pytest-xdist to speed up processing of CI/CD checks (#2153)
chalmerlowe Apr 11, 2025
0138b18
feat: adds condition class and assoc. unit tests (#2159)
chalmerlowe Apr 16, 2025
5c560b9
fix: `query()` now warns when `job_id` is set and the default `job_re…
tswast Apr 24, 2025
ebebdb0
feat: support BigLakeConfiguration (managed Iceberg tables) (#2162)
shollyman Apr 25, 2025
dadc113
feat: Update the AccessEntry class with a new condition attribute and…
chalmerlowe Apr 29, 2025
af0121c
feat: add dataset access policy version attribute (#2169)
chalmerlowe May 1, 2025
7694b2b
feat: add WRITE_TRUNCATE_DATA enum (#2166)
shollyman May 1, 2025
5462a34
chore(deps): update all dependencies (#2158)
renovate-bot May 12, 2025
dbfc74e
chore(main): release 3.32.0 (#2152)
release-please[bot] May 12, 2025
9e300e2
chore(deps): update dependency db-dtypes to v1.4.3 (#2178)
renovate-bot May 12, 2025
d462e2d
feat: add ability to set autodetect_schema query param in update_tabl…
TheNeuralBit May 12, 2025
9af1f75
chore(python): remove docs from templates (#2164)
gcf-owl-bot[bot] May 13, 2025
95db0a4
fix: ensure AccessEntry equality and repr uses the correct `entity_ty…
tswast May 14, 2025
55772d8
feat: Add dtype parameters to to_geodataframe functions (#2176)
chalmerlowe May 14, 2025
5a73ab4
chore: Fix two types of warnings in unit tests (#2183)
chalmerlowe May 14, 2025
7063c09
chore(deps): update all dependencies to v3.32.0 (#2179)
renovate-bot May 14, 2025
2ecfe1a
refactor: Fix DeprecationWarnings for datetime methods in job tests (…
chalmerlowe May 15, 2025
fe0dd77
fix: ensure SchemaField.field_dtype returns a string (#2188)
chelsea-lin May 19, 2025
58975bc
feat: support job reservation (#2186)
Linchin May 19, 2025
6872a0a
ci: Update to the CI/CD pipeline via github workflow to help cut turn…
chalmerlowe May 19, 2025
0f68bec
Revert "fix: table iterator should not use bqstorage when page_size i…
chelsea-lin May 19, 2025
2d8f13f
chore(main): release 3.33.0 (#2180)
release-please[bot] May 19, 2025
ddc0467
ci: Import numpy before pyarrow in tests to resolve import warning (#…
chalmerlowe May 20, 2025
b228102
docs: update query.py (#2192)
dandhlee May 20, 2025
f0f0976
ci: adds new github workflow focused on documentation in prep to depr…
chalmerlowe May 20, 2025
2bd98a9
fix(deps): update all dependencies (#2184)
renovate-bot May 21, 2025
6b0ac34
ddocs: fixes several typos and updates a try except block (#2197)
chalmerlowe May 22, 2025
cff8382
ci: Remove unit tests and doc tests from kokoro presubmit. (#2195)
chalmerlowe May 22, 2025
4266017
ci: Configure Renovate to keep Python at 3.10 for docs workflow (#2199)
chalmerlowe May 23, 2025
c473d86
ci: updates renovate.json to ignore docs.yml (#2200)
chalmerlowe May 23, 2025
ebeaa46
chore(deps): update dependency google-auth to v2.40.2 (#2196)
renovate-bot May 23, 2025
797e1b0
docs: use query_and_wait in the array parameters sample (#2202)
tswast May 27, 2025
3ad0ab0
feat: job creation mode GA (#2190)
shollyman May 27, 2025
0203dd5
chore(deps): update dependency pytest-xdist to v3.7.0 (#2203)
renovate-bot May 27, 2025
89f0eb5
chore(main): release 3.34.0 (#2193)
release-please[bot] May 27, 2025
23f2f35
chore(deps): update all dependencies (#2205)
renovate-bot May 30, 2025
8aad032
Fix: Update type hints for various BigQuery files (#2206)
chalmerlowe May 30, 2025
92bd647
feat: Add UpdateMode to update_dataset (#2204)
chalmerlowe May 30, 2025
72fff05
feat: Adds dataset_view parameter to get_dataset method (#2198)
chalmerlowe Jun 2, 2025
8a5f3b1
chore(deps): update all dependencies (#2209)
renovate-bot Jun 4, 2025
e243576
fix: fix rows returned when both start_index and page_size are provid…
Linchin Jun 5, 2025
db9f5d9
docs: Improve clarity of "Output Only" fields in Dataset class (#2201)
Linchin Jun 5, 2025
b9e053d
test: remove pragma (#2212)
chalmerlowe Jun 9, 2025
776c810
chore(deps): update all dependencies (#2211)
renovate-bot Jun 9, 2025
450a050
chore(deps): update dependency requests to v2.32.4 (#2213)
renovate-bot Jun 9, 2025
2e440bd
chore(deps): update dependency google-api-core to v2.25.1 (#2215)
renovate-bot Jun 13, 2025
e81aee2
chore(deps): bump urllib3 from 2.4.0 to 2.5.0 in /samples/geography (…
dependabot[bot] Jun 20, 2025
60b2038
chore: add label job sample (#2219)
leahecole Jun 23, 2025
9e81f4f
chore: update PyPI URL for official nightly pyarrow repository (#2223)
raulcd Jun 23, 2025
a247049
chore(deps): update all dependencies (#2216)
renovate-bot Jun 25, 2025
9be5110
fix: make AccessEntry equality consistent with from_api_repr (#2218)
drokeye Jun 26, 2025
137fb62
chore(deps): update all dependencies (#2224)
renovate-bot Jun 27, 2025
08c1b67
fix: adds magics.context.project to eliminate issues with unit tests …
chalmerlowe Jul 2, 2025
7dad037
chore(deps): update all dependencies (#2226)
renovate-bot Jul 7, 2025
c67534b
feat: adds time_zone to external config and load job (#2229)
chalmerlowe Jul 9, 2025
f29d0de
chore(deps): update dependency certifi to v2025.7.9 (#2232)
renovate-bot Jul 10, 2025
ae08ade
feat: add total slot ms to RowIterator (#2233)
Genesis929 Jul 11, 2025
a1ed15f
feat: adds date_format to load job and external config (#2231)
chalmerlowe Jul 12, 2025
5df3348
feat: adds time_format and timestamp_format and associated tests (#2238)
chalmerlowe Jul 14, 2025
e7cb33b
feat: adds datetime_format as an option (#2236)
chalmerlowe Jul 15, 2025
4f154e0
chore(deps): update dependency certifi to v2025.7.14 (#2237)
renovate-bot Jul 15, 2025
03858e9
feat: Add null_markers property to LoadJobConfig and CSVOptions (#2239)
chalmerlowe Jul 15, 2025
08970ad
feat: Adds source_column_match and associated tests (#2227)
chalmerlowe Jul 15, 2025
9203863
chore(main): release 3.35.0 (#2207)
release-please[bot] Jul 16, 2025
5f9721b
chore(deps): update all dependencies to v3.35.0 (#2242)
renovate-bot Jul 16, 2025
dcfeae1
docs: specify the inherited-members directive for job classes (#2244)
shollyman Jul 21, 2025
50f54f4
chore(main): release 3.35.1 (#2245)
release-please[bot] Jul 24, 2025
f98bde7
chore(deps): update all dependencies (#2243)
renovate-bot Jul 25, 2025
532f19e
chore(deps): update dependency matplotlib to v3.10.5 (#2251)
renovate-bot Jul 31, 2025
13324c0
docs: update README to break infinite redirect loop (#2254)
dandhlee Aug 5, 2025
020041c
chore(deps): update all dependencies (#2253)
renovate-bot Aug 5, 2025
8386be6
feat: retry query jobs if `jobBackendError` or `jobInternalError` are…
tswast Aug 6, 2025
2f4a20f
feat: add created/started/ended properties to RowIterator. (#2260)
Genesis929 Aug 14, 2025
14857e2
chore: add private `_query_and_wait_bigframes` method (#2250)
tswast Aug 18, 2025
450e618
docs: add a TROUBLESHOOTING.md file with tips for logging (#2262)
tswast Aug 18, 2025
1dfea75
chore: execute retry tests serially, since they depend on global time…
tswast Aug 20, 2025
f6ee54b
chore(main): release 3.36.0 (#2255)
release-please[bot] Aug 20, 2025
ec967c5
feat: updates to fastpath query execution (#2268)
shollyman Aug 26, 2025
415242e
chore(deps): update all dependencies (#2259)
renovate-bot Sep 3, 2025
27b1f9f
bug: updates `__eq__` comparison on TableConstraint (#2274)
chalmerlowe Sep 3, 2025
8f4e683
docs: clarify the api_method arg for client.query() (#2277)
shollyman Sep 4, 2025
0600edc
fix: remove deepcopy while setting properties for _QueryResults (#2280)
Linchin Sep 6, 2025
0ee271f
docs: clarify that the presence of `XyzJob.errors` doesn't necessari…
tswast Sep 8, 2025
1e86b76
chore(main): release 3.37.0 (#2269)
release-please[bot] Sep 9, 2025
8541da0
feat: add additional query stats (#2270)
shollyman Sep 13, 2025
e78fe17
chore(deps): update all dependencies (#2275)
renovate-bot Sep 15, 2025
7207f9f
chore(main): release 3.38.0 (#2289)
release-please[bot] Sep 17, 2025
aabedf9
docs: remove experimental annotations from GA features (#2303)
shollyman Sep 19, 2025
58dc210
fix: remove ambiguous error codes from query retries (#2308)
tswast Sep 24, 2025
1172f3e
chore(deps): update all dependencies (#2300)
renovate-bot Sep 30, 2025
3dc80bc
fix: honor custom `retry` in `job.result()` (#2302)
chalmerlowe Sep 30, 2025
0542216
chore(deps): update dependency google-auth to v2.41.1 (#2312)
renovate-bot Oct 1, 2025
157e5d4
chore(deps): update all dependencies (#2314)
renovate-bot Oct 6, 2025
6a7221c
build: update `pyproject.toml` to follow PEP 639 (#2309)
walid83-0 Oct 13, 2025
eebaf64
chore(python): Add Python 3.14 to python post processor image (#2317)
gcf-owl-bot[bot] Oct 14, 2025
f29b6ee
feat: Add ExternalRuntimeOptions to BigQuery routine (#2311)
google-labs-jules[bot] Oct 15, 2025
bf524b5
fix: include `io.Base` in the `PathType` (#2323)
sycai Oct 15, 2025
c5b8872
feat: adds support for Python runtime 3.14 (#2322)
chalmerlowe Oct 20, 2025
7e8083a
chore(librarian): onboard to librarian (#2326)
parthea Nov 7, 2025
c2f1ba0
tests: temporarily pin pytest (#2334)
parthea Nov 21, 2025
dd2c797
chore: update librarian sha (#2329)
ohmayr Nov 21, 2025
b8640ac
chore(python): removes a filter put in place due to a dependency issu…
chalmerlowe Nov 26, 2025
e7e8228
chore: update ownership/routing for repo (#2346)
shollyman Dec 15, 2025
9d14bda
chore: librarian release pull request: 20251212T151524Z (#2344)
chalmerlowe Dec 15, 2025
349540d
chore(deps): update dependency urllib3 to v2.6.0 [security] (#2342)
renovate-bot Dec 17, 2025
3c548b3
feat: support timestamp_precision in table schema (#2333)
Linchin Dec 19, 2025
9fb10c0
feat: support load_table and list_rows with picosecond timestamp (#2351)
Linchin Jan 6, 2026
3e74093
chore: librarian release pull request: 20260108T001607Z (#2355)
Linchin Jan 8, 2026
80ef3e0
fix: add timeout parameter to to_dataframe and to_arrow met… (#2354)
chalmerlowe Jan 8, 2026
8c1eef6
docs: clarify that only jobs.query and jobs.getQueryResults are affec…
tswast Jan 12, 2026
955cabc
chore(deps): update dependency urllib3 to v2.6.3 [security] (#2357)
renovate-bot Jan 21, 2026
1f96b93
fix: updates timeout/retry code to respect hanging server (#2408)
chalmerlowe Jan 29, 2026
662fe03
chore(deps): update dependency geopandas to v1.1.2 [security] (#2411)
renovate-bot Feb 12, 2026
fd906f0
chore(deps): update dependency pyasn1 to v0.6.2 [security] (#2407)
renovate-bot Feb 12, 2026
61a919a
chore: librarian release pull request: 20260212T105312Z (#2415)
chalmerlowe Feb 12, 2026
321166c
Merge remote-tracking branch 'remote.googleapis/python-bigquery/main'…
parthea Mar 2, 2026
0f0bebb
Trigger owlbot post-processor
parthea Mar 2, 2026
c5e4737
build: google-cloud-bigquery migration: adjust owlbot-related files
parthea Mar 2, 2026
977b1f7
chore: delete unused directories and files
chalmerlowe Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions packages/google-cloud-bigquery/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[run]
branch = True

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/bigquery/__init__.py
google/cloud/bigquery_v2/* # Legacy proto-based types.
exclude_lines =
# Re-enable the standard pragma
pragma: (no cover|NO COVER)
# Ignore debug-only repr
def __repr__
33 changes: 33 additions & 0 deletions packages/google-cloud-bigquery/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E231, E266, E501, W503
exclude =
# Exclude generated code.
**/proto/**
**/gapic/**
**/services/**
**/types/**
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
conf.py
18 changes: 18 additions & 0 deletions packages/google-cloud-bigquery/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "bigquery",
"name_pretty": "Google Cloud BigQuery",
"product_documentation": "https://cloud.google.com/bigquery",
"client_documentation": "https://cloud.google.com/python/docs/reference/bigquery/latest",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559654",
"release_level": "stable",
"language": "python",
"library_type": "GAPIC_COMBO",
"repo": "googleapis/python-bigquery",
"distribution_name": "google-cloud-bigquery",
"api_id": "bigquery.googleapis.com",
"requires_billing": false,
"default_version": "v2",
"codeowner_team": "@googleapis/python-core-client-libraries",
"api_shortname": "bigquery",
"api_description": "is a fully managed, NoOps, low cost data analytics service.\nData can be streamed into BigQuery at millions of rows per second to enable real-time analysis.\nWith BigQuery you can easily deploy Petabyte-scale Databases."
}
2,701 changes: 2,701 additions & 0 deletions packages/google-cloud-bigquery/CHANGELOG.md

Large diffs are not rendered by default.

283 changes: 283 additions & 0 deletions packages/google-cloud-bigquery/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
.. Generated by synthtool. DO NOT EDIT!
############
Contributing
############

#. **Please sign one of the contributor license agreements below.**
#. Fork the repo, develop and test your code changes, add docs.
#. Make sure that your commit messages clearly describe the changes.
#. Send a pull request. (Please Read: `Faster Pull Request Reviews`_)

.. _Faster Pull Request Reviews: https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews

.. contents:: Here are some guidelines for hacking on the Google Cloud Client libraries.

***************
Adding Features
***************

In order to add a feature:

- The feature must be documented in both the API and narrative
documentation.

- The feature must work fully on the following CPython versions:
3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.

- The feature must not add unnecessary dependencies (where
"unnecessary" is of course subjective, but new dependencies should
be discussed).

****************************
Using a Development Checkout
****************************

You'll have to create a development environment using a Git checkout:

- While logged into your GitHub account, navigate to the
``python-bigquery`` `repo`_ on GitHub.

- Fork and clone the ``python-bigquery`` repository to your GitHub account by
clicking the "Fork" button.

- Clone your fork of ``python-bigquery`` from your GitHub account to your local
computer, substituting your account username and specifying the destination
as ``hack-on-python-bigquery``. E.g.::

$ cd ${HOME}
$ git clone git@github.com:USERNAME/python-bigquery.git hack-on-python-bigquery
$ cd hack-on-python-bigquery
# Configure remotes such that you can pull changes from the googleapis/python-bigquery
# repository into your local repository.
$ git remote add upstream git@github.com:googleapis/python-bigquery.git
# fetch and merge changes from upstream into main
$ git fetch upstream
$ git merge upstream/main

Now your local repo is set up such that you will push changes to your GitHub
repo, from which you can submit a pull request.

To work on the codebase and run the tests, we recommend using ``nox``,
but you can also use a ``virtualenv`` of your own creation.

.. _repo: https://github.com/googleapis/python-bigquery

Using ``nox``
=============

We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.

- To test your changes, run unit tests with ``nox``::
$ nox -s unit

- To run a single unit test::

$ nox -s unit-3.13 -- -k <name of test>


.. note::

The unit tests and system tests are described in the
``noxfile.py`` files in each directory.

.. nox: https://pypi.org/project/nox/

*****************************************
I'm getting weird errors... Can you help?
*****************************************

If the error mentions ``Python.h`` not being found,
install ``python-dev`` and try again.
On Debian/Ubuntu::

$ sudo apt-get install python-dev

************
Coding Style
************
- We use the automatic code formatter ``black``. You can run it using
the nox session ``blacken``. This will eliminate many lint errors. Run via::

$ nox -s blacken

- PEP8 compliance is required, with exceptions defined in the linter configuration.
If you have ``nox`` installed, you can test that you have not introduced
any non-compliant code via::

$ nox -s lint

- In order to make ``nox -s lint`` run faster, you can set some environment
variables::

export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
export GOOGLE_CLOUD_TESTING_BRANCH="main"

By doing this, you are specifying the location of the most up-to-date
version of ``python-bigquery``. The
remote name ``upstream`` should point to the official ``googleapis``
checkout and the branch should be the default branch on that remote (``main``).

- This repository contains configuration for the
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking
our linters during a commit. If you have it installed on your ``$PATH``,
you can enable enforcing those checks via:

.. code-block:: bash

$ pre-commit install
pre-commit installed at .git/hooks/pre-commit

Exceptions to PEP8:

- Many unit tests use a helper method, ``_call_fut`` ("FUT" is short for
"Function-Under-Test"), which is PEP8-incompliant, but more readable.
Some also use a local variable, ``MUT`` (short for "Module-Under-Test").

********************
Running System Tests
********************

- To run system tests, you can execute::

# Run all system tests
$ nox -s system

# Run a single system test
$ nox -s system-3.13 -- -k <name of test>


.. note::

System tests are only configured to run under Python 3.9 and 3.13.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
auth settings and change some configuration in your project to
run all the tests.

- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.

*************
Test Coverage
*************

- The codebase *must* have 100% test statement coverage after each commit.
You can test coverage via ``nox -s cover``.

******************************************************
Documentation Coverage and Building HTML Documentation
******************************************************

If you fix a bug, and the bug requires an API or behavior modification, all
documentation in this package which references that API or behavior must be
changed to reflect the bug fix, ideally in the same commit that fixes the bug
or adds the feature.

Build the docs via:

$ nox -s docs

*************************
Samples and code snippets
*************************

Code samples and snippets live in the `samples/` catalogue. Feel free to
provide more examples, but make sure to write tests for those examples.
Each folder containing example code requires its own `noxfile.py` script
which automates testing. If you decide to create a new folder, you can
base it on the `samples/snippets` folder (providing `noxfile.py` and
the requirements files).

The tests will run against a real Google Cloud Project, so you should
configure them just like the System Tests.

- To run sample tests, you can execute::

# Run all tests in a folder
$ cd samples/snippets
$ nox -s py-3.9

# Run a single sample test
$ cd samples/snippets
$ nox -s py-3.9 -- -k <name of test>

********************************************
Note About ``README`` as it pertains to PyPI
********************************************

The `description on PyPI`_ for the project comes directly from the
``README``. Due to the reStructuredText (``rst``) parser used by
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
instead of
``https://github.com/googleapis/python-bigquery/blob/main/CONTRIBUTING.rst``)
may cause problems creating links or rendering the description.

.. _description on PyPI: https://pypi.org/project/google-cloud-bigquery


*************************
Supported Python Versions
*************************

We support:

- `Python 3.9`_
- `Python 3.10`_
- `Python 3.11`_
- `Python 3.12`_
- `Python 3.13`_
- `Python 3.14`_

.. _Python 3.9: https://docs.python.org/3.9/
.. _Python 3.10: https://docs.python.org/3.10/
.. _Python 3.11: https://docs.python.org/3.11/
.. _Python 3.12: https://docs.python.org/3.12/
.. _Python 3.13: https://docs.python.org/3.13/
.. _Python 3.14: https://docs.python.org/3.14/


Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/python-bigquery/blob/main/noxfile.py


We also explicitly decided to support Python 3 beginning with version 3.9.
Reasons for this include:

- Encouraging use of newest versions of Python 3
- Taking the lead of `prominent`_ open-source `projects`_
- `Unicode literal support`_ which allows for a cleaner codebase that
works in both Python 2 and Python 3

.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
.. _projects: http://flask.pocoo.org/docs/0.10/python3/
.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/

**********
Versioning
**********

This library follows `Semantic Versioning`_.

.. _Semantic Versioning: http://semver.org/

Some packages are currently in major version zero (``0.y.z``), which means that
anything may change at any time and the public API should not be considered
stable.

******************************
Contributor License Agreements
******************************

Before we can accept your pull requests you'll need to sign a Contributor
License Agreement (CLA):

- **If you are an individual writing original source code** and **you own the
intellectual property**, then you'll need to sign an
`individual CLA <https://developers.google.com/open-source/cla/individual>`__.
- **If you work for a company that wants to allow you to contribute your work**,
then you'll need to sign a
`corporate CLA <https://developers.google.com/open-source/cla/corporate>`__.

You can sign these electronically (just scroll to the bottom). After that,
we'll be able to accept your pull requests.
Loading
Loading