Skip to content

Releases: googleapis/python-bigquery

v3.31.0

25 Mar 18:45
85de1a3
Compare
Choose a tag to compare

3.31.0 (2025-03-20)

Features

  • Add query text and total bytes processed to RowIterator (#2140) (2d5f932)
  • Add support for Python 3.13 (0842aa1)

Bug Fixes

  • Adding property setter for table constraints, #1990 (#2092) (f8572dd)
  • Allow protobuf 6.x (0842aa1)
  • Avoid "Unable to determine type" warning with JSON columns in to_dataframe (#1876) (968020d)
  • Remove setup.cfg configuration for creating universal wheels (#2146) (d7f7685)

Dependencies

  • Remove Python 3.7 and 3.8 as supported runtimes (#2133) (fb7de39)

v3.30.0

27 Feb 18:42
3a1e3f3
Compare
Choose a tag to compare

3.30.0 (2025-02-26)

Features

  • Add roundingmode enum, wiring, and tests (#2121) (3a48948)
  • Adds foreign_type_info attribute to table class and adds unit tests. (#2126) (2c19681)
  • Support resource_tags for table (#2093) (d4070ca)

Bug Fixes

  • Avoid blocking in download thread when using BQ Storage API (#2034) (54c8d07)
  • Retry 404 errors in Client.query(...) (#2135) (c6d5f8a)

Dependencies

  • Updates required checks list in github (#2136) (fea49ff)
  • Use pandas-gbq to determine schema in load_table_from_dataframe (#2095) (7603bd7)

Documentation

v3.29.0

21 Jan 18:09
b44fda0
Compare
Choose a tag to compare

3.29.0 (2025-01-21)

Features

  • Add ExternalCatalogTableOptions class and tests (#2116) (cdc1a6e)

Bug Fixes

  • Add default value in SchemaField.from_api_repr() (#2115) (7de6822)

v3.28.0

15 Jan 18:23
9c50418
Compare
Choose a tag to compare

3.28.0 (2025-01-15) - YANKED

Reason this release was yanked:

This turned out to be incompatible with pandas-gbq. For more details, see issue.

Features

  • Add property for allowNonIncrementalDefinition for materialized view (#2084) (3359ef3)
  • Add property for maxStaleness in table definitions (#2087) (729322c)
  • Add type hints to Client (#2044) (40529de)
  • Adds ExternalCatalogDatasetOptions and tests (#2111) (b929a90)
  • Adds ForeignTypeInfo class and tests (#2110) (55ca63c)
  • Adds new input validation function similar to isinstance. (#2107) (a2bebb9)
  • Adds StorageDescriptor and tests (#2109) (6be0272)
  • Adds the SerDeInfo class and tests (#2108) (62960f2)
  • Migrate to pyproject.toml (#2041) (1061611)
  • Preserve unknown fields from the REST API representation in SchemaField (#2097) (aaf1eb8)
  • Resource tags in dataset (#2090) (3e13016)
  • Support setting max_stream_count when fetching query result (#2051) (d461297)

Bug Fixes

Documentation

  • Render fields correctly for update calls (#2055) (a4d9534)

v3.27.0

07 Nov 15:17
53c289e
Compare
Choose a tag to compare

3.27.0 (2024-11-01)

Features

  • Updates to allow users to set max_stream_count (#2039) (7372ad6)

v3.26.0

26 Sep 18:48
cad34f1
Compare
Choose a tag to compare

3.26.0 (2024-09-25)

Features

  • Include LegacyPandasError in init imports (#2014) (3ab5e95)
  • Use bigquery-magics package for the %%bigquery magic (#1965) (60128a5)

Bug Fixes

  • Add docfx to the presubmit configuration and delete docs-presubmit (#1995) (bd83cfd)
  • Add warning when encountering unknown field types (#1989) (8f5a41d)
  • Allow protobuf 5.x; require protobuf >=3.20.2; proto-plus >=1.22.3 (#1976) (57bf873)
  • Do not set job timeout extra property if None (#1987) (edcb79c)
  • Set pyarrow field nullable to False for a BigQuery field in REPEATED mode (#1999) (5352870)

Dependencies

  • Bump min version of google-api-core and google-cloud-core to 2.x (#1972) (a958732)

Documentation

v3.25.0

20 Jun 17:05
e731b40
Compare
Choose a tag to compare

3.25.0 (2024-06-17)

Features

  • Add prefer_bqstorage_client option for Connection (#1945) (bfdeb3f)
  • Support load job option ColumnNameCharacterMap (#1952) (7e522ee)

Bug Fixes

  • Do not overwrite page_size with max_results when start_index is set (#1956) (7d0fcee)

v3.24.0

04 Jun 20:27
cc7b399
Compare
Choose a tag to compare

3.24.0 (2024-06-04)

Features

  • Add default timeout for Client.get_job() (#1935) (9fbad76)
  • Add support for map target type in Parquet options (#1919) (c3f7b23)

Bug Fixes

  • Create query job in job.result() if doesn't exist (#1944) (8f5b4b7)
  • Retry is_job_done on ConnectionError (#1930) (4f72723)

Performance Improvements

  • If page_size or max_results is set on QueryJob.result(), use to download first page of results (#1942) (3e7a48d)

v3.23.1

21 May 20:53
32b2c35
Compare
Choose a tag to compare

3.23.1 (2024-05-21)

Performance Improvements

  • Decrease the threshold in which we use the BQ Storage Read API (#1925) (eaa1a52)

v3.23.0

16 May 17:04
a429e8f
Compare
Choose a tag to compare

3.23.0 (2024-05-16)

Features

Bug Fixes

  • Add pyarrow version check for range support (#1914) (a86d7b9)
  • Edit presubmit for to simplify configuration (#1915) (b739596)