google-cloud-bigquery 0.26.0
·
57423 commits
to main
since this release
Notable Implementation Changes
- Using the
requeststransport attached to aClientfor for resumable media (i.e. downloads and uploads) (#3705) (this relates to thehttplib2torequestsswitch)
Interface changes / additions
- Adding
autodetectproperty onLoadTableFromStorageJobto 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_nullableproperty onSchemaField. Can be used to check if a column is nullable. (#3620)
job_nameargument added toTable.upload_from_filefor setting the job ID. (#3605) - Adding
google.cloud.bigquery.dbapipackage, which implements PEP-249 DB-API specification. (#2921) - Adding
Table.view_use_legacy_sqlproperty. Can be used to create views with legacy or standard SQL. (#3514)
Interface changes / breaking changes
- Removing
results()method from theQueryJobclass. Usequery_results()instead. (#3661) SchemaFieldis 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 fromhttplib2torequests(#3654, #3674) - Adding dependency on
google-resumable-mediafor loading BigQuery tables from local files. (#3555)
Packaging
- Fix inclusion of
tests(vs.unit_tests) inMANIFEST.in(#3552) - Updating
author_emailinsetup.pytogoogleapis-publisher@google.com. (#3598)
PyPI: https://pypi.org/project/google-cloud-bigquery/0.26.0/