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

Update dependency google-cloud-bigquery to v3 #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 21, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
google-cloud-bigquery ==2.27.1 -> ==3.26.0 age adoption passing confidence

Release Notes

googleapis/python-bigquery (google-cloud-bigquery)

v3.26.0

Compare Source

Features
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

Compare Source

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

v3.24.0

Compare Source

Features
Bug Fixes
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

Compare Source

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

v3.23.0

Compare Source

Features
Bug Fixes

v3.22.0

Compare Source

Features

v3.21.0

Compare Source

Features
Bug Fixes
Performance Improvements
  • Avoid unnecessary API call in QueryJob.result() when job is already finished (#​1900) (1367b58)

v3.20.1

Compare Source

Bug Fixes
  • Make pyarrow an optional dependency post-3.20.0 yanked release (#​1879) (21714e1)

v3.20.0

Compare Source

Features
  • Add fields parameter to set_iam_policy for consistency with update methods (#​1872) (08b1e6f)
Bug Fixes
  • Correct type checking (#​1848) (2660dbd)
  • Update error logging when converting to pyarrow column fails (#​1836) (0ac6e9b)
  • Updates a number of optional dependencies (#​1864) (c2496a1)
  • Use an allowlist instead of denylist to determine when query_and_wait uses jobs.query API (#​1869) (e265db6)

v3.19.0

Compare Source

Features
Bug Fixes
  • Add google-auth as a direct dependency (713ce2c)
  • Augment universe_domain handling (#​1837) (53c2cbf)
  • deps: Require google-api-core>=1.34.1, >=2.11.0 (713ce2c)
  • Supplementary fix to env-based universe resolution (#​1844) (b818992)
  • Supplementary fix to env-based universe resolution (#​1847) (6dff50f)

v3.18.0

Compare Source

Features
Bug Fixes
Documentation
  • samples: Updates to urllib3 constraint for Python 3.7 (#​1834) (b099c32)
  • Update client_query_w_named_params.py to use query_and_wait API (#​1782) (89dfcb6)

v3.17.2

Compare Source

Bug Fixes
Documentation
  • Update to use API (#​1781) (81563b0)
  • Update client_query_destination_table.py sample to use query_and_wait (#​1783) (68ebbe1)
  • Update query_external_sheets_permanent_table.py to use query_and_wait API (#​1778) (a7be88a)
  • Update sample for query_to_arrow to use query_and_wait API (#​1776) (dbf10de)
  • Update the query destination table legacy file to use query_and_wait API (#​1775) (ef89f9e)
  • Update to use query_and_wait in client_query_w_positional_params.py (#​1786) (410f71e)
  • Update to use query_and_wait in samples/client_query_w_timestamp_params.py (#​1785) (ba36948)
  • Update to_geodataframe to use query_and_wait functionality (#​1800) (1298594)

v3.17.1

Compare Source

Bug Fixes
  • Add pyarrow.large_strign to the _ARROW_SCALAR_IDS_TO_BQ map (#​1796) (b402a6d)
  • Retry 'job exceeded rate limits' for DDL queries (#​1794) (39f33b2)

v3.17.0

Compare Source

Features
Bug Fixes
  • query_and_wait now retains unknown query configuration _properties (#​1793) (4ba4342)
  • Raise ValueError in query_and_wait with wrong job_config type (4ba4342)
Documentation
  • Remove unused query code sample (#​1769) (1f96439)
  • Update snippets.py to use query_and_wait (#​1773) (d90602d)
  • Update multiple samples to change query to query_and_wait (#​1784) (d1161dd)
  • Update the query with no cache sample to use query_and_wait API (#​1770) (955a4cd)
  • Updates query to query and wait in samples/desktopapp/user_credentials.py (#​1787) (89f1299)

v3.16.0

Compare Source

Features
Bug Fixes

v3.15.0

Compare Source

Features
Bug Fixes
  • Deserializing JSON subfields within structs fails (#​1742) (0d93073)
  • Due to upstream change in dataset, updates expected results (#​1761) (132c14b)
  • Load_table_from_dataframe for higher scale decimal (#​1703) (b9c8be0)
  • Updates types-protobuf version for mypy-samples nox session (#​1764) (c0de695)
Performance Improvements
  • DB-API uses more efficient query_and_wait when no job ID is provided (#​1747) (d225a94)

v3.14.1

Compare Source

Bug Fixes

v3.14.0

Compare Source

Features
Bug Fixes
  • load_table_from_dataframe now assumes there may be local null values (#​1735) (f05dc69)
  • Ensure query job retry has longer deadline than API request deadline (#​1734) (5573579)
  • Keep RowIterator.total_rows populated after iteration (#​1748) (8482f47)
  • Move grpc, proto-plus and protobuf packages to extras (#​1721) (5ce4d13)
Performance Improvements
  • Use the first page a results when query(api_method="QUERY") (#​1723) (6290517)

v3.13.0

Compare Source

Features
Bug Fixes
Documentation

v3.12.0

Compare Source

Features
  • Add Dataset.storage_billing_model setter, use client.update_dataset(ds, fields=["storage_billing_model"]) to update (#​1643) (5deba50)
  • Search statistics (#​1616) (b930e46)
  • Widen retry predicate to include ServiceUnavailable (#​1641) (3e021a4)
Bug Fixes
Documentation

v3.11.4

Compare Source

Bug Fixes

v3.11.3

Compare Source

Bug Fixes
  • Type annotations include Optional when None is accepted (#​1554) (6c1ab80)

v3.11.2

Compare Source

Bug Fixes

v3.11.1

Compare Source

Documentation

v3.11.0

Compare Source

Features
Bug Fixes
  • Filter None values from OpenTelemetry attributes (#​1567) (9ea2e21)
  • Handle case when expirationMs is None (#​1553) (fa6e13d)
  • Raise most recent exception when not able to fetch query job after starting the job (#​1362) (09cc1df)

v3.10.0

Compare Source

Features
  • Add date, datetime, time, timestamp dtype to to_dataframe (#​1547) (64e913d)

v3.9.0

Compare Source

Features
Bug Fixes
  • Keyerror when the load_table_from_dataframe accesses a unmapped dtype dataframe index (#​1535) (a69348a)

v3.8.0

Compare Source

Features
Bug Fixes
  • Loosen ipywidgets restrictions further to address ipython compatibility issues (#​1531) (50e5026)

v3.7.0

Compare Source

Features
  • Add connection_properties and create_session to LoadJobConfig (#​1509) (cd0aaa1)
  • Add default_query_job_config property and property setter to BQ client (#​1511) (a23092c)
Documentation

v3.6.0

Compare Source

Features
Bug Fixes
Dependencies
  • Update minimum google-cloud-core to 1.6.0 (a190aaa)

v3.5.0

Compare Source

Features
Documentation

v3.4.2

Compare Source

Bug Fixes
Dependencies
Documentation

v3.4.1

Compare Source

Documentation
  • Add info about streaming quota limits to insert_rows* methods (#​1409) (0f08e9a)
Dependencies
  • make pyarrow and BQ Storage optional dependencies (e1aa921)

v3.4.0

Compare Source

Features

v3.3.6

Compare Source

Features
Bug Fixes
Documentation
Miscellaneous Chores

v3.3.5

Compare Source

Bug Fixes

v3.3.3

Compare Source

Bug Fixes
  • Refactors code to account for a tdqm code deprecation (#​1357) (1369a9d)
  • Validate opentelemetry span job attributes have values (#​1327) (8287af1)
Documentation
  • samples: uses function (create_job) more appropriate to the described sample intent (5aeedaa)

v3.3.2

Compare Source

Bug Fixes

v3.3.1

Compare Source

Bug Fixes

v3.3.0

Compare Source

Features
  • add destination_expiration_time property to copy job (#​1277) (728b07c)
Bug Fixes
Documentation
  • samples: add table snapshot sample (#​1274) (e760d1b)
  • samples: explicitly add bq to samples reqs, upgrade grpc to fix bug on m1 (#​1290) (9b7e3e4)

v3.2.0

Compare Source

Features
Bug Fixes
  • deps: proto-plus >= 1.15.0, <2.0.0dev (ba58d3a)
  • deps: require packaging >= 14.3, <22.0.0dev (ba58d3a)
  • deps: require protobuf>= 3.12.0, <4.0.0dev (#​1263) (ba58d3a)
Documentation

v3.1.0

Compare Source

Features
Bug Fixes
Documentation

v3.0.1

Compare Source

Bug Fixes
  • deps: raise exception when pandas is installed but db-dtypes is not (#​1191) (4333910)
  • deps: restore dependency on python-dateutil (#​1187) (212d7ec)

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • BigQuery Storage and pyarrow are required dependencies (#​776)
  • use nullable Int64 and boolean dtypes in to_dataframe (#​786)
  • destination tables are no-longer removed by create_job (#​891)
  • In to_dataframe, use dbdate and dbtime dtypes from db-dtypes package for BigQuery DATE and TIME columns (#​972)
  • automatically convert out-of-bounds dates in to_dataframe, remove date_as_object argument (#​972)
  • mark the package as type-checked (#​1058)
  • default to DATETIME type when loading timezone-naive datetimes from Pandas (#​1061)
  • remove out-of-date BigQuery ML protocol buffers (#​1178)
Features
  • add api_method parameter to Client.query to select INSERT or QUERY API (#​967) (76d88fb)
  • default to DATETIME type when loading timezone-naive datetimes from Pandas (#​1061) (76d88fb)
  • dest

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.30%. Comparing base (ac16a1b) to head (48d566f).

Current head 48d566f differs from pull request most recent head e6fe353

Please upload reports for the commit e6fe353 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   92.30%   92.30%           
=======================================
  Files           1        1           
  Lines          52       52           
=======================================
  Hits           48       48           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 48d566f to 56cd10b Compare December 12, 2022 18:47
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch 2 times, most recently from af4598f to 07d9daf Compare March 16, 2023 13:20
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 07d9daf to dc919bb Compare June 1, 2023 20:32
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from dc919bb to 697a4d3 Compare June 14, 2023 02:33
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch 2 times, most recently from 2333feb to d192da3 Compare June 28, 2023 23:44
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from d192da3 to 889f1fb Compare July 20, 2023 05:43
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 889f1fb to e71b90d Compare October 4, 2023 05:39
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from e71b90d to cd679e9 Compare October 31, 2023 08:17
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch 2 times, most recently from 0d5e8a7 to 1956842 Compare December 15, 2023 20:30
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch 2 times, most recently from bf09c8d to 6ce9b0b Compare January 13, 2024 05:48
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch 2 times, most recently from ec511ae to 806f3e4 Compare January 30, 2024 20:45
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 806f3e4 to a79a8f3 Compare February 7, 2024 04:48
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from a79a8f3 to 9cb8928 Compare March 5, 2024 02:08
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 9cb8928 to 9466e58 Compare March 12, 2024 23:56
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 9466e58 to 1620192 Compare April 2, 2024 05:19
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 1620192 to 4c646a8 Compare April 19, 2024 11:49
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 4c646a8 to b6c6e16 Compare May 7, 2024 06:00
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from b6c6e16 to f1717ae Compare May 22, 2024 23:29
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from f1717ae to 5601d93 Compare June 5, 2024 08:52
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from 5601d93 to e6fe353 Compare June 21, 2024 20:38
@renovate renovate bot force-pushed the renovate/google-cloud-bigquery-3.x branch from e6fe353 to 7766a38 Compare September 27, 2024 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants