From 7c1f3f047f5a6d884bfc2080b22a229d9157ee83 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 4 Jan 2022 21:58:03 +0000 Subject: [PATCH] chore(main): release python-bigquery 1.27.1 --- CHANGELOG.md | 170 +++++++++++++++++++++++++++++++ google/cloud/bigquery/version.py | 2 +- 2 files changed, 171 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ba219d20..f50da15e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,176 @@ [1]: https://pypi.org/project/google-cloud-bigquery/#history +### [1.27.1](https://github.com/googleapis/python-bigquery/compare/python-bigquery-v2.31.0...python-bigquery-v1.27.1) (2022-01-04) + + +### ⚠ BREAKING CHANGES + +* 2.22.1 +* 1.27.2 +* 1.27.1 + +### Features + +* accept DatasetListItem where DatasetReference is accepted ([#597](https://github.com/googleapis/python-bigquery/issues/597)) ([c8b5581](https://github.com/googleapis/python-bigquery/commit/c8b5581ea3c94005d69755c4a3b5a0d8900f3fe2)) +* accept job object as argument to `get_job` and `cancel_job` ([#617](https://github.com/googleapis/python-bigquery/issues/617)) ([f75dcdf](https://github.com/googleapis/python-bigquery/commit/f75dcdf3943b87daba60011c9a3b42e34ff81910)) +* accept TableListItem where TableReference is accepted ([#1016](https://github.com/googleapis/python-bigquery/issues/1016)) ([fe16adc](https://github.com/googleapis/python-bigquery/commit/fe16adc86a170d0992c32091b349b036f8b43884)) +* add `AvroOptions` to configure AVRO external data ([#994](https://github.com/googleapis/python-bigquery/issues/994)) ([1a9431d](https://github.com/googleapis/python-bigquery/commit/1a9431d9e02eeb99e4712b61c623f9cca80134a6)) +* add `Client.delete_job_metadata` method to remove job metadata ([#610](https://github.com/googleapis/python-bigquery/issues/610)) ([0abb566](https://github.com/googleapis/python-bigquery/commit/0abb56669c097c59fbffce007c702e7a55f2d9c1)) +* add `ExternalConfig.connection_id` property to connect to external sources ([#560](https://github.com/googleapis/python-bigquery/issues/560)) ([d93986e](https://github.com/googleapis/python-bigquery/commit/d93986e0259952257f2571f60719b52099c29c0c)) +* add `LoadJobConfig.projection_fields` to select DATASTORE_BACKUP fields ([#736](https://github.com/googleapis/python-bigquery/issues/736)) ([c45a738](https://github.com/googleapis/python-bigquery/commit/c45a7380871af3dfbd3c45524cb606c60e1a01d1)) +* add `max_queue_size` argument to `RowIterator.to_dataframe_iterable` ([#575](https://github.com/googleapis/python-bigquery/issues/575)) ([f95f415](https://github.com/googleapis/python-bigquery/commit/f95f415d3441b3928f6cc705cb8a75603d790fd6)) +* add `QueryJob.schema` property for dry run queries ([#1014](https://github.com/googleapis/python-bigquery/issues/1014)) ([2937fa1](https://github.com/googleapis/python-bigquery/commit/2937fa1386898766c561579fd39d42958182d260)) +* add `reload` argument to `*Job.done()` functions ([#341](https://github.com/googleapis/python-bigquery/issues/341)) ([e51fd45](https://github.com/googleapis/python-bigquery/commit/e51fd45fdb0481ac5d59cc0edbfa0750928b2596)) +* add `TableReference.__str__` to get table ID in standard SQL ([#405](https://github.com/googleapis/python-bigquery/issues/405)) ([53dff2a](https://github.com/googleapis/python-bigquery/commit/53dff2ad3889af04369a22437e6ab9b92c5755b6)) +* add always_use_jwt_access ([#714](https://github.com/googleapis/python-bigquery/issues/714)) ([92fbd4a](https://github.com/googleapis/python-bigquery/commit/92fbd4ade37e0be49dc278080ef73c83eafeea18)) +* add BIGNUMERIC support ([#527](https://github.com/googleapis/python-bigquery/issues/527)) ([cc3394f](https://github.com/googleapis/python-bigquery/commit/cc3394f80934419eb00c2029bb81c92a696e7d88)) +* add constants for MONTH and YEAR time partitioning types ([#283](https://github.com/googleapis/python-bigquery/issues/283)) ([9090e1c](https://github.com/googleapis/python-bigquery/commit/9090e1ccd8825a97835325b4829f6e7ecfd9ea88)) +* add context manager support to client ([#540](https://github.com/googleapis/python-bigquery/issues/540)) ([d5c7e11](https://github.com/googleapis/python-bigquery/commit/d5c7e11a1dc2a149d74294bfadbae62d70573e69)) +* add custom cell magic parser to handle complex `--params` values ([#213](https://github.com/googleapis/python-bigquery/issues/213)) ([dcfbac2](https://github.com/googleapis/python-bigquery/commit/dcfbac267fbf66d189b0cc7e76f4712122a74b7b)) +* add determinism level for javascript UDFs ([#522](https://github.com/googleapis/python-bigquery/issues/522)) ([edd3328](https://github.com/googleapis/python-bigquery/commit/edd3328fffa3040b2cd3a3c668c90a0e43e4c94c)) +* add instrumentation to list methods ([#239](https://github.com/googleapis/python-bigquery/issues/239)) ([fa9f9ca](https://github.com/googleapis/python-bigquery/commit/fa9f9ca491c3f9954287102c567ec483aa6151d4)) +* add max_results parameter to some of the QueryJob methods ([#698](https://github.com/googleapis/python-bigquery/issues/698)) ([2a9618f](https://github.com/googleapis/python-bigquery/commit/2a9618f4daaa4a014161e1a2f7376844eec9e8da)) +* add method api_repr for table list item ([#299](https://github.com/googleapis/python-bigquery/issues/299)) ([07c70f0](https://github.com/googleapis/python-bigquery/commit/07c70f0292f9212f0c968cd5c9206e8b0409c0da)) +* add mtls support to client ([#492](https://github.com/googleapis/python-bigquery/issues/492)) ([1823cad](https://github.com/googleapis/python-bigquery/commit/1823cadee3acf95c516d0479400e4175349ea199)) +* add opentelemetry tracing ([#215](https://github.com/googleapis/python-bigquery/issues/215)) ([a04996c](https://github.com/googleapis/python-bigquery/commit/a04996c537e9d8847411fcbb1b05da5f175b339e)) +* add progress bar for magics ([#396](https://github.com/googleapis/python-bigquery/issues/396)) ([04d0273](https://github.com/googleapis/python-bigquery/commit/04d027317a99e3f353e0b7a18076da9b6ba4d8d3)) +* add progress bar to `QueryJob.to_dataframe` and `to_arrow` ([#352](https://github.com/googleapis/python-bigquery/issues/352)) ([dc78edd](https://github.com/googleapis/python-bigquery/commit/dc78eddde7a6a312c8fed7bace7d64036837ab1a)) +* Add py.typed for PEP 561 compliance ([#976](https://github.com/googleapis/python-bigquery/issues/976)) ([96e6bee](https://github.com/googleapis/python-bigquery/commit/96e6beef3c63b663b7e5879b1458f4dd1a47a5b5)) +* add Samples section to CONTRIBUTING.rst ([#785](https://github.com/googleapis/python-bigquery/issues/785)) ([e587029](https://github.com/googleapis/python-bigquery/commit/e58702967d572e83b4c774278818302594a511b7)) +* add session and connection properties to QueryJobConfig ([#1024](https://github.com/googleapis/python-bigquery/issues/1024)) ([e4c94f4](https://github.com/googleapis/python-bigquery/commit/e4c94f446c27eb474f30b033c1b62d11bd0acd98)) +* add standard sql table type, update scalar type enums ([#777](https://github.com/googleapis/python-bigquery/issues/777)) ([b8b5433](https://github.com/googleapis/python-bigquery/commit/b8b5433898ec881f8da1303614780a660d94733a)) +* add support and tests for struct fields ([#146](https://github.com/googleapis/python-bigquery/issues/146)) ([fee2ba8](https://github.com/googleapis/python-bigquery/commit/fee2ba80e338d093ee61565359268da91a5c9913)) +* add support for decimal target types ([#735](https://github.com/googleapis/python-bigquery/issues/735)) ([7d2d3e9](https://github.com/googleapis/python-bigquery/commit/7d2d3e906a9eb161911a198fb925ad79de5df934)) +* add support for getting and setting table IAM policy ([#144](https://github.com/googleapis/python-bigquery/issues/144)) ([f59fc9a](https://github.com/googleapis/python-bigquery/commit/f59fc9a482d9f9ae63e2b2bfc80b9a3481d09bde)) +* add support for INTERVAL data type to `list_rows` ([#840](https://github.com/googleapis/python-bigquery/issues/840)) ([e37380a](https://github.com/googleapis/python-bigquery/commit/e37380a959cbd5bb9cbbf6807f0a8ea147e0a713)) +* add support for listing arima, automl, boosted tree, DNN, and matrix factorization models ([#328](https://github.com/googleapis/python-bigquery/issues/328)) ([502a092](https://github.com/googleapis/python-bigquery/commit/502a0926018abf058cb84bd18043c25eba15a2cc)) +* add support for materialized views ([#408](https://github.com/googleapis/python-bigquery/issues/408)) ([57ffc66](https://github.com/googleapis/python-bigquery/commit/57ffc665319331e0a00583d5d652fd14a510cf2a)) +* add support for more detailed DML stats ([#758](https://github.com/googleapis/python-bigquery/issues/758)) ([36fe86f](https://github.com/googleapis/python-bigquery/commit/36fe86f41c1a8f46167284f752a6d6bbf886a04b)) +* add support for Parquet options ([#679](https://github.com/googleapis/python-bigquery/issues/679)) ([d792ce0](https://github.com/googleapis/python-bigquery/commit/d792ce09388a6ee3706777915dd2818d4c854f79)) +* add support for table snapshots ([#740](https://github.com/googleapis/python-bigquery/issues/740)) ([ba86b2a](https://github.com/googleapis/python-bigquery/commit/ba86b2a6300ae5a9f3c803beeb42bda4c522e34c)) +* add support for transaction statistics ([#849](https://github.com/googleapis/python-bigquery/issues/849)) ([7f7b1a8](https://github.com/googleapis/python-bigquery/commit/7f7b1a808d50558772a0deb534ca654da65d629e)) +* add support for unrecognized model types ([#401](https://github.com/googleapis/python-bigquery/issues/401)) ([168f035](https://github.com/googleapis/python-bigquery/commit/168f0354c4815bd1aeadbd4e388dcc9b32f97d6b)) +* add support for user defined Table View Functions ([#724](https://github.com/googleapis/python-bigquery/issues/724)) ([8c7b839](https://github.com/googleapis/python-bigquery/commit/8c7b839a6ac1491c1c3b6b0e8755f4b70ed72ee3)) +* add timeout paramter to load_table_from_file and it dependent methods ([#327](https://github.com/googleapis/python-bigquery/issues/327)) ([b0dd892](https://github.com/googleapis/python-bigquery/commit/b0dd892176e31ac25fddd15554b5bfa054299d4d)) +* add to_api_repr method to Model ([#326](https://github.com/googleapis/python-bigquery/issues/326)) ([fb401bd](https://github.com/googleapis/python-bigquery/commit/fb401bd94477323bba68cf252dd88166495daf54)) +* add type hints for public methods ([#613](https://github.com/googleapis/python-bigquery/issues/613)) ([f8d4aaa](https://github.com/googleapis/python-bigquery/commit/f8d4aaa335a0eef915e73596fc9b43b11d11be9f)) +* add with_name() to ScalarQueryParameterType ([#644](https://github.com/googleapis/python-bigquery/issues/644)) ([6cc6876](https://github.com/googleapis/python-bigquery/commit/6cc6876eb0e5bf49fdc047256a945dcf1b289576)) +* allow cell magic body to be a $variable ([#1053](https://github.com/googleapis/python-bigquery/issues/1053)) ([3a681e0](https://github.com/googleapis/python-bigquery/commit/3a681e046819df18118aa0b2b5733416d004c9b3)) +* allow client options to be set in magics context ([#322](https://github.com/googleapis/python-bigquery/issues/322)) ([5178b55](https://github.com/googleapis/python-bigquery/commit/5178b55682f5e264bfc082cde26acb1fdc953a18)) +* allow queryJob.result() to be called on a dryRun ([#1015](https://github.com/googleapis/python-bigquery/issues/1015)) ([685f06a](https://github.com/googleapis/python-bigquery/commit/685f06a5e7b5df17a53e9eb340ff04ecd1e51d1d)) +* allow routine references ([#378](https://github.com/googleapis/python-bigquery/issues/378)) ([f9480dc](https://github.com/googleapis/python-bigquery/commit/f9480dc2a1bc58367083176bd74725aa8b903301)) +* **bigquery:** add client_options to base class ([#216](https://github.com/googleapis/python-bigquery/issues/216)) ([478597a](https://github.com/googleapis/python-bigquery/commit/478597a38167fa57b60ae7f65b581f3fe75ddc7c)) +* convert `BIGNUMERIC` values to decimal objects ([#414](https://github.com/googleapis/python-bigquery/issues/414)) ([d472d2d](https://github.com/googleapis/python-bigquery/commit/d472d2d2b33e40b954652d31476dea8c90e6a2dc)) +* DB API cursors are now iterable ([#618](https://github.com/googleapis/python-bigquery/issues/618)) ([e0b373d](https://github.com/googleapis/python-bigquery/commit/e0b373d0e721a70656ed8faceb7f5c70f642d144)) +* detect obsolete BQ Storage extra at runtime ([#666](https://github.com/googleapis/python-bigquery/issues/666)) ([bd7dbda](https://github.com/googleapis/python-bigquery/commit/bd7dbdae5c972b16bafc53c67911eeaa3255a880)) +* enable unsetting policy tags on schema fields ([#703](https://github.com/googleapis/python-bigquery/issues/703)) ([18bb443](https://github.com/googleapis/python-bigquery/commit/18bb443c7acd0a75dcb57d9aebe38b2d734ff8c7)) +* expose require_partition_filter for hive_partition ([#257](https://github.com/googleapis/python-bigquery/issues/257)) ([aa1613c](https://github.com/googleapis/python-bigquery/commit/aa1613c1bf48c7efb999cb8b8c422c80baf1950b)) +* expose reservation usage stats on jobs ([#524](https://github.com/googleapis/python-bigquery/issues/524)) ([4ffb4e0](https://github.com/googleapis/python-bigquery/commit/4ffb4e067abdaa54dad6eff49a7fbdb0fa358637)) +* Extended DB API parameter syntax to optionally provide parameter types ([#626](https://github.com/googleapis/python-bigquery/issues/626)) ([8bcf397](https://github.com/googleapis/python-bigquery/commit/8bcf397fbe2527e06317741875a059b109cfcd9c)) +* include key metadata in Job representation ([#964](https://github.com/googleapis/python-bigquery/issues/964)) ([acca1cb](https://github.com/googleapis/python-bigquery/commit/acca1cb7baaa3b00508246c994ade40314d421c3)) +* list_tables, list_projects, list_datasets, list_models, list_routines, and list_jobs now accept a page_size parameter to control page size ([#686](https://github.com/googleapis/python-bigquery/issues/686)) ([1f1c4b7](https://github.com/googleapis/python-bigquery/commit/1f1c4b7ba4390fc4c5c8186bc22b83b45304ca06)) +* make it easier to disable best-effort deduplication with streaming inserts ([#734](https://github.com/googleapis/python-bigquery/issues/734)) ([1246da8](https://github.com/googleapis/python-bigquery/commit/1246da86b78b03ca1aa2c45ec71649e294cfb2f1)) +* make QueryJob.done() method more performant ([#544](https://github.com/googleapis/python-bigquery/issues/544)) ([a3ab9ef](https://github.com/googleapis/python-bigquery/commit/a3ab9efdd0758829845cfcb6ca0ac1f03ab44f64)) +* make the same `Table*` instances equal to each other ([#867](https://github.com/googleapis/python-bigquery/issues/867)) ([c1a3d44](https://github.com/googleapis/python-bigquery/commit/c1a3d4435739a21d25aa154145e36d3a7c42eeb6)) +* pass retry from Job.result() to Job.done() ([#41](https://github.com/googleapis/python-bigquery/issues/41)) ([284e17a](https://github.com/googleapis/python-bigquery/commit/284e17a17adf6844a17db2c6fed54a649b1f997e)) +* promote `RowIterator.to_arrow_iterable` to public method ([#1073](https://github.com/googleapis/python-bigquery/issues/1073)) ([21cd710](https://github.com/googleapis/python-bigquery/commit/21cd71022d60c32104f8f90ee2ca445fbb43f7f3)) +* raise error for unknown properties in job config ([#446](https://github.com/googleapis/python-bigquery/issues/446)) ([1526e39](https://github.com/googleapis/python-bigquery/commit/1526e3936703fc97b17ec30c8ab8fe90197ad303)) +* retry failed query jobs in `result()` ([#837](https://github.com/googleapis/python-bigquery/issues/837)) ([519d99c](https://github.com/googleapis/python-bigquery/commit/519d99c20e7d1101f76981f3de036fdf3c7a4ecc)) +* retry google.auth TransportError by default ([#624](https://github.com/googleapis/python-bigquery/issues/624)) ([34ecc3f](https://github.com/googleapis/python-bigquery/commit/34ecc3f1ca0ff073330c0c605673d89b43af7ed9)) +* set the X-Server-Timeout header when timeout is set ([#927](https://github.com/googleapis/python-bigquery/issues/927)) ([ba02f24](https://github.com/googleapis/python-bigquery/commit/ba02f248ba9c449c34859579a4011f4bfd2f4a93)) +* support `ScalarQueryParameterType` for `type_` argument in `ScalarQueryParameter` constructor ([#850](https://github.com/googleapis/python-bigquery/issues/850)) ([93d15e2](https://github.com/googleapis/python-bigquery/commit/93d15e2e5405c2cc6d158c4e5737361344193dbc)) +* support authorized dataset entity ([#1075](https://github.com/googleapis/python-bigquery/issues/1075)) ([c098cd0](https://github.com/googleapis/python-bigquery/commit/c098cd01c755633bfaba7193dd5c044a489a5b61)) +* support CSV format in `load_table_from_dataframe` pandas connector ([#399](https://github.com/googleapis/python-bigquery/issues/399)) ([0046742](https://github.com/googleapis/python-bigquery/commit/0046742abdd2b5eab3c3e935316f91e7eef44d44)) +* Support parameterized NUMERIC, BIGNUMERIC, STRING, and BYTES types ([#673](https://github.com/googleapis/python-bigquery/issues/673)) ([45421e7](https://github.com/googleapis/python-bigquery/commit/45421e73bfcddb244822e6a5cd43be6bd1ca2256)) +* Support passing struct data to the DB API ([#718](https://github.com/googleapis/python-bigquery/issues/718)) ([38b3ef9](https://github.com/googleapis/python-bigquery/commit/38b3ef96c3dedc139b84f0ff06885141ae7ce78c)) +* support Python 3.10 ([#1043](https://github.com/googleapis/python-bigquery/issues/1043)) ([5bbb832](https://github.com/googleapis/python-bigquery/commit/5bbb832a83ebb66db4b5ee740cdfc53f4df8430b)) +* support script options in query job config ([#690](https://github.com/googleapis/python-bigquery/issues/690)) ([1259e16](https://github.com/googleapis/python-bigquery/commit/1259e16394784315368e8be959c1ac097782b62e)) +* Support using GeoPandas for GEOGRAPHY columns ([#848](https://github.com/googleapis/python-bigquery/issues/848)) ([16f65e6](https://github.com/googleapis/python-bigquery/commit/16f65e6ae15979217ceea6c6d398c9057a363a13)) +* Update proto definitions for bigquery/v2 to support new proto fields for BQML. ([#817](https://github.com/googleapis/python-bigquery/issues/817)) ([fe7a902](https://github.com/googleapis/python-bigquery/commit/fe7a902e8b3e723ace335c9b499aea6d180a025b)) +* use pyarrow stream compression, if available ([#593](https://github.com/googleapis/python-bigquery/issues/593)) ([dde9dc5](https://github.com/googleapis/python-bigquery/commit/dde9dc5114c2311fb76fafc5b222fff561e8abf1)) + + +### Bug Fixes + +* `insert_rows()` accepts float column values as strings again ([#824](https://github.com/googleapis/python-bigquery/issues/824)) ([d9378af](https://github.com/googleapis/python-bigquery/commit/d9378af13add879118a1d004529b811f72c325d6)) +* add ConnectionError to default retry ([#571](https://github.com/googleapis/python-bigquery/issues/571)) ([a3edb8b](https://github.com/googleapis/python-bigquery/commit/a3edb8b921e029e2c03d33302d408ad5d4e9d4ad)) +* add DECIMAL and BIGDECIMAL as aliases for NUMERIC and BIGNUMERIC ([#638](https://github.com/googleapis/python-bigquery/issues/638)) ([aa59023](https://github.com/googleapis/python-bigquery/commit/aa59023317b1c63720fb717b3544f755652da58d)) +* add minimum timeout to getQueryResults API requests ([#444](https://github.com/googleapis/python-bigquery/issues/444)) ([015a73e](https://github.com/googleapis/python-bigquery/commit/015a73e1839e3427408ef6e0f879717d9ddbdb61)) +* add missing spaces in opentelemetry log message ([#360](https://github.com/googleapis/python-bigquery/issues/360)) ([4f326b1](https://github.com/googleapis/python-bigquery/commit/4f326b1ca4411cfbf5ded86955a963d3e05a409f)) +* address issues with concurrent BigQuery tests [([#3426](https://github.com/googleapis/python-bigquery/issues/3426))](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/3426) ([34ad9c6](https://github.com/googleapis/python-bigquery/commit/34ad9c619cfc6dcc5356e9375b8c76d41ddc16a1)) +* apply timeout to all resumable upload requests ([#1070](https://github.com/googleapis/python-bigquery/issues/1070)) ([3314dfb](https://github.com/googleapis/python-bigquery/commit/3314dfbed62488503dc41b11e403a672fcf71048)) +* Arrow extension-type metadata was not set when calling the REST API or when there are no rows ([#946](https://github.com/googleapis/python-bigquery/issues/946)) ([864383b](https://github.com/googleapis/python-bigquery/commit/864383bc01636b3774f7da194587b8b7edd0383d)) +* avoid floating point for timestamp in `insert_rows` ([#393](https://github.com/googleapis/python-bigquery/issues/393)) ([a1949ae](https://github.com/googleapis/python-bigquery/commit/a1949ae20ec4f9c771b0cffbcd70792dd6a30dbf)) +* avoid overly strict dependency on pyarrow 3.x ([#564](https://github.com/googleapis/python-bigquery/issues/564)) ([97ee6ec](https://github.com/googleapis/python-bigquery/commit/97ee6ec6cd4bc9f833cd506dc6d244d103654cfd)) +* avoid policy tags 403 error in `load_table_from_dataframe` ([#557](https://github.com/googleapis/python-bigquery/issues/557)) ([84e646e](https://github.com/googleapis/python-bigquery/commit/84e646e6b7087a1626e56ad51eeb130f4ddfa2fb)) +* avoid possible job already exists error ([#751](https://github.com/googleapis/python-bigquery/issues/751)) ([45b9308](https://github.com/googleapis/python-bigquery/commit/45b93089f5398740413104285cc8acfd5ebc9c08)) +* consistent percents handling in DB API query ([#619](https://github.com/googleapis/python-bigquery/issues/619)) ([6502a60](https://github.com/googleapis/python-bigquery/commit/6502a602337ae562652a20b20270949f2c9d5073)) +* converting to dataframe with out of bounds timestamps ([#209](https://github.com/googleapis/python-bigquery/issues/209)) ([8209203](https://github.com/googleapis/python-bigquery/commit/8209203e967f0624ad306166c0af6f6f1027c550)) +* create_job method accepts dictionary arguments ([#300](https://github.com/googleapis/python-bigquery/issues/300)) ([155bacc](https://github.com/googleapis/python-bigquery/commit/155bacc156f181384ca6dba699ab83d0398176d1)) +* **dbapi:** allow rows to be fetched from scripts ([#387](https://github.com/googleapis/python-bigquery/issues/387)) ([b899ad1](https://github.com/googleapis/python-bigquery/commit/b899ad12e17cb87c58d3ae46b4388d917c5743f2)) +* **dbapi:** avoid running % format with no query parameters ([#348](https://github.com/googleapis/python-bigquery/issues/348)) ([5dd1a5e](https://github.com/googleapis/python-bigquery/commit/5dd1a5e77f13b8e576e917069e247c5390a81900)) +* disambiguate missing policy tags from explicitly unset policy tags ([#983](https://github.com/googleapis/python-bigquery/issues/983)) ([f83c00a](https://github.com/googleapis/python-bigquery/commit/f83c00acead70fc0ce9959eefb133a672d816277)) +* don't try to close closed cursors ([#498](https://github.com/googleapis/python-bigquery/issues/498)) ([bf44e7b](https://github.com/googleapis/python-bigquery/commit/bf44e7b67d2de41c13053a4550484b9ea049db3e)) +* error if eval()-ing repr(SchemaField) ([#1046](https://github.com/googleapis/python-bigquery/issues/1046)) ([13ac860](https://github.com/googleapis/python-bigquery/commit/13ac860de689ea13b35932c67042bc35e388cb30)) +* error inserting DataFrame with REPEATED field ([#925](https://github.com/googleapis/python-bigquery/issues/925)) ([656d2fa](https://github.com/googleapis/python-bigquery/commit/656d2fa6f870573a21235c83463752a2d084caba)) +* error using empty array of structs parameter ([#474](https://github.com/googleapis/python-bigquery/issues/474)) ([c1d15f4](https://github.com/googleapis/python-bigquery/commit/c1d15f4e5da4b7e10c00afffd59a5c7f3ded027a)) +* executemany rowcount only reflected the last execution ([#660](https://github.com/googleapis/python-bigquery/issues/660)) ([aeadc8c](https://github.com/googleapis/python-bigquery/commit/aeadc8c2d614bb9f0883ec901fca48930f3aaf19)) +* fix dependency issue in fastavro ([#241](https://github.com/googleapis/python-bigquery/issues/241)) ([2874abf](https://github.com/googleapis/python-bigquery/commit/2874abf4827f1ea529519d4b138511d31f732a50)) +* guard imports against unsupported pyarrow versions ([#934](https://github.com/googleapis/python-bigquery/issues/934)) ([b289076](https://github.com/googleapis/python-bigquery/commit/b28907693bbe889becc1b9c8963f0a7e1ee6c35a)) +* handle null values in array query parameters ([#426](https://github.com/googleapis/python-bigquery/issues/426)) ([78fde4a](https://github.com/googleapis/python-bigquery/commit/78fde4a92e61a89d0b490b93acc90fff9635d1bf)) +* increase default retry deadline to 10 minutes ([#859](https://github.com/googleapis/python-bigquery/issues/859)) ([30770fd](https://github.com/googleapis/python-bigquery/commit/30770fd0575fbd5aaa70c14196a4cc54627aecd2)) +* inserting non-finite floats with insert_rows() ([#728](https://github.com/googleapis/python-bigquery/issues/728)) ([d047419](https://github.com/googleapis/python-bigquery/commit/d047419879e807e123296da2eee89a5253050166)) +* invalid conversion of timezone-aware datetime values to JSON ([#480](https://github.com/googleapis/python-bigquery/issues/480)) ([61b4385](https://github.com/googleapis/python-bigquery/commit/61b438523d305ce66a68fde7cb49e9abbf0a8d1d)) +* issue a warning if buggy pyarrow is detected ([#787](https://github.com/googleapis/python-bigquery/issues/787)) ([e403721](https://github.com/googleapis/python-bigquery/commit/e403721af1373eb1f1a1c7be5b2182e3819ed1f9)) +* make TimePartitioning repr evaluable ([#110](https://github.com/googleapis/python-bigquery/issues/110)) ([20f473b](https://github.com/googleapis/python-bigquery/commit/20f473bfff5ae98377f5d9cdf18bfe5554d86ff4)) +* make unicode characters working well in load_table_from_json ([#865](https://github.com/googleapis/python-bigquery/issues/865)) ([ad9c802](https://github.com/googleapis/python-bigquery/commit/ad9c8026f0e667f13dd754279f9dc40d06f4fa78)) +* missing license headers in new test files ([#604](https://github.com/googleapis/python-bigquery/issues/604)) ([df48cc5](https://github.com/googleapis/python-bigquery/commit/df48cc5a0be99ad39d5835652d1b7422209afc5d)) +* no longer raise a warning in `to_dataframe` if `max_results` set ([#815](https://github.com/googleapis/python-bigquery/issues/815)) ([3c1be14](https://github.com/googleapis/python-bigquery/commit/3c1be149e76b1d1d8879fdcf0924ddb1c1839e94)) +* populate default `timeout` and retry after client-side timeout ([#896](https://github.com/googleapis/python-bigquery/issues/896)) ([b508809](https://github.com/googleapis/python-bigquery/commit/b508809c0f887575274309a463e763c56ddd017d)) +* preserve timestamp microsecond precision with rows from REST API ([#402](https://github.com/googleapis/python-bigquery/issues/402)) ([04510a7](https://github.com/googleapis/python-bigquery/commit/04510a7dc7570466550bbdf500d7020bef2af44d)) +* QueryJob.exception() *returns* the errors, not raises them ([#467](https://github.com/googleapis/python-bigquery/issues/467)) ([d763279](https://github.com/googleapis/python-bigquery/commit/d7632799769248b09a8558ba18f5025ebdd9675a)) +* raise error if inserting rows with unknown fields ([#163](https://github.com/googleapis/python-bigquery/issues/163)) ([8fe7254](https://github.com/googleapis/python-bigquery/commit/8fe725429541eed34ddc01cffc8b1ee846c14162)) +* rationalize platform constraints for 'pyarrow' extra ([#235](https://github.com/googleapis/python-bigquery/issues/235)) ([c9a0567](https://github.com/googleapis/python-bigquery/commit/c9a0567f59491b769a9e2fd535430423e39d4fa8)) +* reading the labels attribute on Job instances ([#471](https://github.com/googleapis/python-bigquery/issues/471)) ([80944f0](https://github.com/googleapis/python-bigquery/commit/80944f080bcc4fda870a6daf1d884de616d39ae7)) +* remove DB-API dependency on pyarrow with decimal query parameters ([#551](https://github.com/googleapis/python-bigquery/issues/551)) ([1b946ba](https://github.com/googleapis/python-bigquery/commit/1b946ba23ee7df86114c6acb338ec34e6c92af6d)) +* remove default timeout ([#974](https://github.com/googleapis/python-bigquery/issues/974)) ([1cef0d4](https://github.com/googleapis/python-bigquery/commit/1cef0d4664bf448168b26487a71795144b7f4d6b)) +* remove py.typed since package fails mypy check ([#988](https://github.com/googleapis/python-bigquery/issues/988)) ([39030f2](https://github.com/googleapis/python-bigquery/commit/39030f26ce081cfacd456b84694c68e3f04ed48d)) +* remove pytz dependency and require pyarrow>=3.0.0 ([#875](https://github.com/googleapis/python-bigquery/issues/875)) ([2cb3563](https://github.com/googleapis/python-bigquery/commit/2cb3563ee863edef7eaf5d04d739bcfe7bc6438e)) +* remove unnecessary dependency on libcst ([#308](https://github.com/googleapis/python-bigquery/issues/308)) ([c055930](https://github.com/googleapis/python-bigquery/commit/c05593094c1405f752b2c51b15202a6dbb5cb83f)) +* retry ChunkedEncodingError by default ([#802](https://github.com/googleapis/python-bigquery/issues/802)) ([419d36d](https://github.com/googleapis/python-bigquery/commit/419d36d6b1887041e5795dbc8fc808890e91ab11)) +* RowIterator.to_arrow() error when BQ Storage client cannot be created ([#181](https://github.com/googleapis/python-bigquery/issues/181)) ([7afa3d7](https://github.com/googleapis/python-bigquery/commit/7afa3d70f8564dcdacda2b9acbbd7207b50b186e)) +* support ARRAY data type when loading from DataFrame with Parquet ([#980](https://github.com/googleapis/python-bigquery/issues/980)) ([1e59083](https://github.com/googleapis/python-bigquery/commit/1e5908302d36e15442013af6f46b1c20af28255e)) +* **tests:** invalid path to strptime() ([#672](https://github.com/googleapis/python-bigquery/issues/672)) ([591cdd8](https://github.com/googleapis/python-bigquery/commit/591cdd851bb1321b048a05a378a0ef48d3ade462)) +* The DB API Binary function accepts bytes data ([#630](https://github.com/googleapis/python-bigquery/issues/630)) ([4396e70](https://github.com/googleapis/python-bigquery/commit/4396e70771af6889d3242c37c5ff2e80241023a2)) +* tweak pyarrow extra to soothe PyPI ([#230](https://github.com/googleapis/python-bigquery/issues/230)) ([c15efbd](https://github.com/googleapis/python-bigquery/commit/c15efbd1ee4488898fc862768eef701443f492f6)) +* underscores weren't allowed in struct field names when passing parameters to the DB API ([#930](https://github.com/googleapis/python-bigquery/issues/930)) ([fcb0bc6](https://github.com/googleapis/python-bigquery/commit/fcb0bc68c972c2c98bb8542f54e9228308177ecb)) +* unsetting clustering fileds on Table is now possible ([#622](https://github.com/googleapis/python-bigquery/issues/622)) ([33a871f](https://github.com/googleapis/python-bigquery/commit/33a871f06329f9bf5a6a92fab9ead65bf2bee75d)) +* update minimum dependency versions ([#263](https://github.com/googleapis/python-bigquery/issues/263)) ([1be66ce](https://github.com/googleapis/python-bigquery/commit/1be66ce94a32b1f924bdda05d068c2977631af9e)) +* use a larger chunk size when loading data ([#799](https://github.com/googleapis/python-bigquery/issues/799)) ([b804373](https://github.com/googleapis/python-bigquery/commit/b804373277c1c1baa3370ebfb4783503b7ff360f)) +* use debug logging level for OpenTelemetry message ([#442](https://github.com/googleapis/python-bigquery/issues/442)) ([7ea6b7c](https://github.com/googleapis/python-bigquery/commit/7ea6b7c2469d2415192cfdacc379e38e49d24775)) +* use explicitly given project over the client's default project for load jobs ([#482](https://github.com/googleapis/python-bigquery/issues/482)) ([530e1e8](https://github.com/googleapis/python-bigquery/commit/530e1e8d8fe8939e914a78ff1b220907c1b87af7)) +* use pandas function to check for NaN ([#750](https://github.com/googleapis/python-bigquery/issues/750)) ([67bc5fb](https://github.com/googleapis/python-bigquery/commit/67bc5fbd306be7cdffd216f3791d4024acfa95b3)) +* use REST API in cell magic when requested ([#892](https://github.com/googleapis/python-bigquery/issues/892)) ([1cb3e55](https://github.com/googleapis/python-bigquery/commit/1cb3e55253e824e3a1da5201f6ec09065fb6b627)) +* use version.py instead of pkg_resources.get_distribution ([#307](https://github.com/googleapis/python-bigquery/issues/307)) ([b8f502b](https://github.com/googleapis/python-bigquery/commit/b8f502b14f21d1815697e4d57cf1225dfb4a7c5e)) +* validate job_config.source_format in load_table_from_dataframe ([#262](https://github.com/googleapis/python-bigquery/issues/262)) ([6160fee](https://github.com/googleapis/python-bigquery/commit/6160fee4b1a79b0ea9031cc18caf6322fe4c4084)) + + +### Performance Improvements + +* add size parameter for load table from dataframe and json methods ([#280](https://github.com/googleapis/python-bigquery/issues/280)) ([3be78b7](https://github.com/googleapis/python-bigquery/commit/3be78b737add7111e24e912cd02fc6df75a07de6)) +* avoid extra API calls from `to_dataframe` if all rows are cached ([#384](https://github.com/googleapis/python-bigquery/issues/384)) ([c52b317](https://github.com/googleapis/python-bigquery/commit/c52b31789998fc0dfde07c3296650c85104d719d)) +* cache first page of `jobs.getQueryResults` rows ([#374](https://github.com/googleapis/python-bigquery/issues/374)) ([86f6a51](https://github.com/googleapis/python-bigquery/commit/86f6a516d1c7c5dc204ab085ea2578793e6561ff)) +* don't fetch rows when waiting for query to finish ([#400](https://github.com/googleapis/python-bigquery/issues/400)) ([730df17](https://github.com/googleapis/python-bigquery/commit/730df17ae1ab0b0bb2454f3c134c8f62665bc51b)) +* remove redundant array deepcopy ([#26](https://github.com/googleapis/python-bigquery/issues/26)) ([b54f867](https://github.com/googleapis/python-bigquery/commit/b54f86769c982ce5c8fcbf3889f82450428bb40c)) +* use `getQueryResults` from DB-API ([#375](https://github.com/googleapis/python-bigquery/issues/375)) ([30de15f](https://github.com/googleapis/python-bigquery/commit/30de15f7255de5ea221df4e8db7991d279e0ea28)) +* use `jobs.getQueryResults` to download result sets ([#363](https://github.com/googleapis/python-bigquery/issues/363)) ([0c3476d](https://github.com/googleapis/python-bigquery/commit/0c3476d56380d70115f6fd765bf5c5261967052f)) + + +### Miscellaneous Chores + +* release 2.22.1 ([#794](https://github.com/googleapis/python-bigquery/issues/794)) ([46e65a6](https://github.com/googleapis/python-bigquery/commit/46e65a6338b7c59acad895edebb97fd2e841d4a3)) + ## [2.31.0](https://www.github.com/googleapis/python-bigquery/compare/v2.30.1...v2.31.0) (2021-11-24) diff --git a/google/cloud/bigquery/version.py b/google/cloud/bigquery/version.py index 6329658af..6627cbb1d 100644 --- a/google/cloud/bigquery/version.py +++ b/google/cloud/bigquery/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.31.0" +__version__ = "1.27.1"