From 02188ca0bb9d036a236426392c577560f6ba83b5 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Wed, 28 Aug 2019 09:41:40 -0700 Subject: [PATCH 1/4] Release bigquery 1.19.0 --- bigquery/CHANGELOG.md | 29 +++++++++++++++++++++++++++++ bigquery/setup.py | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/bigquery/CHANGELOG.md b/bigquery/CHANGELOG.md index 6d1c71ccbf79..8938d56b3806 100644 --- a/bigquery/CHANGELOG.md +++ b/bigquery/CHANGELOG.md @@ -4,6 +4,35 @@ [1]: https://pypi.org/project/google-cloud-bigquery/#history +## 1.19.0 + +08-28-2019 09:35 PDT + +### Implementation Changes +- Deprecate `client.dataset()` part 1 ([#9032](https://github.com/googleapis/google-cloud-python/pull/9032)) +- Raise with extra or missing columns in `load_table_from_dataframe` schema. ([#9096](https://github.com/googleapis/google-cloud-python/pull/9096)) +- Allow subset of schema to be passed into `load_table_from_dataframe`. ([#9064](https://github.com/googleapis/google-cloud-python/pull/9064)) +- Determine the schema in `load_table_from_dataframe` based on dtypes. ([#9049](https://github.com/googleapis/google-cloud-python/pull/9049)) +- Raise helpful error when loading table from dataframe with STRUCT columns ([#9053](https://github.com/googleapis/google-cloud-python/pull/9053)) +- Fix schema recognition of struct field types ([#9001](https://github.com/googleapis/google-cloud-python/pull/9001)) +- Fix deserializing None QueryParameters ([#9029](https://github.com/googleapis/google-cloud-python/pull/9029)) + +### New Features +- Add client_options to constructor. ([#8999](https://github.com/googleapis/google-cloud-python/pull/8999)) +- Add `--dry_run` option to `%%bigquery` magic. ([#9067](https://github.com/googleapis/google-cloud-python/pull/9067)) +- Add load_table_from_json() method to BQ client ([#9076](https://github.com/googleapis/google-cloud-python/pull/9076)) +- Add support for unsetting LoadJobConfig schema ([#9077](https://github.com/googleapis/google-cloud-python/pull/9077)) +- Add enum with SQL type names allowed to be used in SchemaField ([#9040](https://github.com/googleapis/google-cloud-python/pull/9040)) +- Add support to Dataset for project_ids with org prefix. ([#8877](https://github.com/googleapis/google-cloud-python/pull/8877)) + +### Documentation +- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035)) +- Fix Pandas DataFrame load example under Python 2.7 ([#9022](https://github.com/googleapis/google-cloud-python/pull/9022)) + +### Internal / Testing Changes +- Fix BigQuery client unit test assertions ([#9112](https://github.com/googleapis/google-cloud-python/pull/9112)) +- Replace avro with arrow schemas in test_table.py ([#9056](https://github.com/googleapis/google-cloud-python/pull/9056)) + ## 1.18.0 08-08-2019 12:28 PDT diff --git a/bigquery/setup.py b/bigquery/setup.py index b3eeb15b5d64..42f59516fc13 100644 --- a/bigquery/setup.py +++ b/bigquery/setup.py @@ -22,7 +22,7 @@ name = "google-cloud-bigquery" description = "Google BigQuery API client library" -version = "1.18.0" +version = "1.19.0" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta' From 0bfc4f1df61131197e2c574394b3199f24387cc7 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Wed, 28 Aug 2019 12:25:15 -0700 Subject: [PATCH 2/4] Update bigquery/CHANGELOG.md Co-Authored-By: Tres Seaver --- bigquery/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigquery/CHANGELOG.md b/bigquery/CHANGELOG.md index 8938d56b3806..13b424990e9e 100644 --- a/bigquery/CHANGELOG.md +++ b/bigquery/CHANGELOG.md @@ -18,7 +18,7 @@ - Fix deserializing None QueryParameters ([#9029](https://github.com/googleapis/google-cloud-python/pull/9029)) ### New Features -- Add client_options to constructor. ([#8999](https://github.com/googleapis/google-cloud-python/pull/8999)) +- Add `client_options` to constructor. ([#8999](https://github.com/googleapis/google-cloud-python/pull/8999)) - Add `--dry_run` option to `%%bigquery` magic. ([#9067](https://github.com/googleapis/google-cloud-python/pull/9067)) - Add load_table_from_json() method to BQ client ([#9076](https://github.com/googleapis/google-cloud-python/pull/9076)) - Add support for unsetting LoadJobConfig schema ([#9077](https://github.com/googleapis/google-cloud-python/pull/9077)) From d0550fa48452de49b958416a4a9266cd830e0573 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Wed, 28 Aug 2019 12:25:27 -0700 Subject: [PATCH 3/4] Update bigquery/CHANGELOG.md Co-Authored-By: Tres Seaver --- bigquery/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigquery/CHANGELOG.md b/bigquery/CHANGELOG.md index 13b424990e9e..b8c362e3af9c 100644 --- a/bigquery/CHANGELOG.md +++ b/bigquery/CHANGELOG.md @@ -20,7 +20,7 @@ ### New Features - Add `client_options` to constructor. ([#8999](https://github.com/googleapis/google-cloud-python/pull/8999)) - Add `--dry_run` option to `%%bigquery` magic. ([#9067](https://github.com/googleapis/google-cloud-python/pull/9067)) -- Add load_table_from_json() method to BQ client ([#9076](https://github.com/googleapis/google-cloud-python/pull/9076)) +- Add `load_table_from_json` method to BQ client ([#9076](https://github.com/googleapis/google-cloud-python/pull/9076)) - Add support for unsetting LoadJobConfig schema ([#9077](https://github.com/googleapis/google-cloud-python/pull/9077)) - Add enum with SQL type names allowed to be used in SchemaField ([#9040](https://github.com/googleapis/google-cloud-python/pull/9040)) - Add support to Dataset for project_ids with org prefix. ([#8877](https://github.com/googleapis/google-cloud-python/pull/8877)) From 7142c65b9b75bbaef5f86d559de7a12b9ff96c53 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Wed, 28 Aug 2019 12:25:34 -0700 Subject: [PATCH 4/4] Update bigquery/CHANGELOG.md Co-Authored-By: Tres Seaver --- bigquery/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigquery/CHANGELOG.md b/bigquery/CHANGELOG.md index b8c362e3af9c..d953c50be5de 100644 --- a/bigquery/CHANGELOG.md +++ b/bigquery/CHANGELOG.md @@ -23,7 +23,7 @@ - Add `load_table_from_json` method to BQ client ([#9076](https://github.com/googleapis/google-cloud-python/pull/9076)) - Add support for unsetting LoadJobConfig schema ([#9077](https://github.com/googleapis/google-cloud-python/pull/9077)) - Add enum with SQL type names allowed to be used in SchemaField ([#9040](https://github.com/googleapis/google-cloud-python/pull/9040)) -- Add support to Dataset for project_ids with org prefix. ([#8877](https://github.com/googleapis/google-cloud-python/pull/8877)) +- Add support to Dataset for project ids with org prefix. ([#8877](https://github.com/googleapis/google-cloud-python/pull/8877)) ### Documentation - Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))