Skip to content

google-cloud-bigquery 0.26.0

Compare
Choose a tag to compare
@dhermes dhermes released this 05 Aug 02:11
· 33014 commits to main since this release

Notable Implementation Changes

  • Using the requests transport attached to a Client for for resumable media (i.e. downloads and uploads) (#3705) (this relates to the httplib2 to requests switch)

Interface changes / additions

  • Adding autodetect property on LoadTableFromStorageJob 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 on SchemaField. Can be used to check if a column is nullable. (#3620)
    job_name argument added to Table.upload_from_file for setting the job ID. (#3605)
  • Adding google.cloud.bigquery.dbapi package, which implements PEP-249 DB-API specification. (#2921)
  • AddingTable.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 the QueryJob class. Use query_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 from httplib2 to requests (#3654, #3674)
  • Adding dependency on google-resumable-media for loading BigQuery tables from local files. (#3555)

Packaging

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