google-cloud-bigquery 0.26.0
dhermes
released this
05 Aug 02:11
·
33014 commits
to main
since this release
Notable Implementation Changes
- Using the
requests
transport attached to aClient
for for resumable media (i.e. downloads and uploads) (#3705) (this relates to thehttplib2
torequests
switch)
Interface changes / additions
- Adding
autodetect
property onLoadTableFromStorageJob
to enable schema autodetection. (#3648) - Implementing the Python Futures interface for Jobs. Call
job.result()
to wait for jobs to complete instead of polling manually on the job status. (#3626) - Adding
is_nullable
property onSchemaField
. Can be used to check if a column is nullable. (#3620)
job_name
argument added toTable.upload_from_file
for setting the job ID. (#3605) - Adding
google.cloud.bigquery.dbapi
package, which implements PEP-249 DB-API specification. (#2921) - Adding
Table.view_use_legacy_sql
property. Can be used to create views with legacy or standard SQL. (#3514)
Interface changes / breaking changes
- Removing
results()
method from theQueryJob
class. Usequery_results()
instead. (#3661) SchemaField
is now immutable. It is also hashable so that it can be used in sets. (#3601)
Dependencies
- Updating to
google-cloud-core ~= 0.26
, in particular, the underlying HTTP transport switched fromhttplib2
torequests
(#3654, #3674) - Adding dependency on
google-resumable-media
for loading BigQuery tables from local files. (#3555)
Packaging
- Fix inclusion of
tests
(vs.unit_tests
) inMANIFEST.in
(#3552) - Updating
author_email
insetup.py
to[email protected]
. (#3598)
PyPI: https://pypi.org/project/google-cloud-bigquery/0.26.0/