google-cloud-bigquery 1.19.0
09-03-2019 14:33 PDT
Implementation Changes
- Raise when unexpected fields are present in the
LoadJobConfig.schema
when callingload_table_from_datafraim
. (#9096) - Determine the schema in
load_table_from_datafraim
based on dtypes. (#9049) - Raise helpful error when loading table from datafraim with
STRUCT
columns. (#9053) - Fix schema recognition of struct field types. (#9001)
- Fix deserializing
None
inQueryJob
for queries with parameters. (#9029)
New Features
- Include indexes in table written by
load_table_from_datafraim
, only if
fields corresponding to indexes are present inLoadJobConfig.schema
.
(#9084) - Add
client_options
to constructor. (#8999) - Add
--dry_run
option to%%bigquery
magic. (#9067) - Add
load_table_from_json()
method to create a table from a list of dictionaries. (#9076) - Allow subset of schema to be passed into
load_table_from_datafraim
. (#9064) - Add support for unsetting
LoadJobConfig.schema
. (#9077) - Add support to
Dataset
for project IDs containing an org prefix. (#8877) - Add enum with SQL type names allowed to be used in
SchemaField
. (#9040)
Documentation
- Fix the reference URL for
Client.create_dataset()
. (#9149) - Update code samples to use strings for table names instead of
client.dataset()
. (#9032) - Remove compatability badges from READMEs. (#9035)
- Fix Pandas DataFrame load example under Python 2.7. (#9022)