-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for BigQuery resumable uploads via a write channel #540
Conversation
4b6072a
to
be1d946
Compare
import java.util.Objects; | ||
|
||
/** | ||
* Google BigQuery Configuration for a Load operation. A Load configuration can be used to build a |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
c0035ab
to
37af566
Compare
@ajkannan Thanks for the feedback, I fixed the issues in place |
message = ex.getStatusMessage(); | ||
} | ||
if (!last && code != HTTP_RESUME_INCOMPLETE | ||
|| last && !(code == HTTP_OK || code == HTTP_CREATED)) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
37af566
to
8e7f672
Compare
} | ||
} | ||
|
||
static Builder builder(BigQueryOptions options, LoadConfiguration blobInfo, String uploadId) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@mziccard I took one more pass, and LGTM except for one small variable name change. Feel free to merge after fixing that. |
ServiceOptionsT extends ServiceOptions<?, ?, ServiceOptionsT>, | ||
EntityT extends Serializable> implements WriteChannel { | ||
|
||
private static final int MIN_CHUNK_SIZE = 256 * 1024; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Looks good! I would like to give it another pass tomorrow. Until then few questions/comments. Also, |
8e7f672
to
8978335
Compare
import com.google.gcloud.bigquery.InsertAllRequest.RowToInsert; | ||
import com.google.gcloud.spi.BigQueryRpc; | ||
import com.google.gcloud.spi.BigQueryRpc.Tuple; | ||
import com.google.gcloud.spi.BigQueryRpcFactory; | ||
import com.google.gcloud.storage.BlobInfo; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -16,6 +16,7 @@ | |||
|
|||
package com.google.gcloud.bigquery; | |||
|
|||
import static com.google.gcloud.bigquery.BigQuery.*; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Ok, finished with my pass. Looks good. Few more suggestion and some cleanup. |
8978335
to
1ba0c1f
Compare
@aozarov I fixed your comments and rebased.
I have been trying to figure this out but have not so many ideas. A decrease might be caused by the fact that this adds code to the Rpc layer which is only tested in ITs that are (I think) not considered by coveralls report. However this ~1% seems a bit high to me. |
- Move BlobWriteChannel and BlobReadChannel to core module - Rename BlobWriteChannel and BlobReadChannel to WriteChannel and ReadChannel - Add abstract class BaseWriteChannel implementing entity-agnostic channel functionality - Add BlobWriteChannel and BlobReadChannel implementation to gcloud-java-storage - Add LoadConfiguration and modify LoadJobInfo to take configuration as a parameter - Add BigQuery.writer method to return a writer given LoadConfiguration - Add BigQueryRpc.open and .write methods to implement write channel - Add TableDataWriteChannel class to support bigquery resumable streaming inserts - Add unit and integration tests - Update bigquery example with load-data action
1ba0c1f
to
b32e4b9
Compare
Add support for BigQuery resumable uploads via a write channel
…manager to v0.119.8-alpha (googleapis#540)
Making CLIRR not required. The version bumps are now controlled by the Release Please and OwlBot. The CL authors create appropriate change description to control major version bumps.
…-info-reports-plugin to v3.4.1 (#540) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-analytics-data). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE1OS4xIn0=-->
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.4.6](https://github.com/googleapis/java-grafeas/compare/v2.4.5...v2.4.6) (2022-10-03) ### Dependencies * Update dependency cachetools to v5 ([#555](https://github.com/googleapis/java-grafeas/issues/555)) ([f0735ea](https://github.com/googleapis/java-grafeas/commit/f0735ea0525b1cbcb2480fcbff81f684e0950b43)) * Update dependency certifi to v2022.9.24 ([#535](https://github.com/googleapis/java-grafeas/issues/535)) ([257d3b0](https://github.com/googleapis/java-grafeas/commit/257d3b0ed0434859b4f94ac84308329b0f4ff42f)) * Update dependency charset-normalizer to v2.1.1 ([#539](https://github.com/googleapis/java-grafeas/issues/539)) ([98f4733](https://github.com/googleapis/java-grafeas/commit/98f4733b7e2dac238de137f912a555bc9da85c1e)) * Update dependency click to v8.1.3 ([#540](https://github.com/googleapis/java-grafeas/issues/540)) ([6320d6d](https://github.com/googleapis/java-grafeas/commit/6320d6df465f10fc0b17dad3c93c556d4e472858)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#560](https://github.com/googleapis/java-grafeas/issues/560)) ([b8e2520](https://github.com/googleapis/java-grafeas/commit/b8e25208ffc0ca3ad6dcf05b31d56a1bbf7f49f0)) * Update dependency gcp-releasetool to v1.8.8 ([#536](https://github.com/googleapis/java-grafeas/issues/536)) ([ed5c17c](https://github.com/googleapis/java-grafeas/commit/ed5c17c5c58033edfe67b76d383f6a1ce9325b37)) * Update dependency google-api-core to v2.10.1 ([#541](https://github.com/googleapis/java-grafeas/issues/541)) ([3002e48](https://github.com/googleapis/java-grafeas/commit/3002e48f64dd0a06072da6167f68fc9e3e78ce19)) * Update dependency google-auth to v2.12.0 ([#542](https://github.com/googleapis/java-grafeas/issues/542)) ([41579ae](https://github.com/googleapis/java-grafeas/commit/41579aeb972547897ea534d5074701535b0595d5)) * Update dependency google-cloud-core to v2.3.2 ([#537](https://github.com/googleapis/java-grafeas/issues/537)) ([5cfc2e4](https://github.com/googleapis/java-grafeas/commit/5cfc2e4fb609e5d31eb3b976991cf269a7a42042)) * Update dependency google-cloud-storage to v2.5.0 ([#543](https://github.com/googleapis/java-grafeas/issues/543)) ([621c6a8](https://github.com/googleapis/java-grafeas/commit/621c6a8e2862c0a8bce4e538d7095ea9e2efaa46)) * Update dependency google-crc32c to v1.5.0 ([#544](https://github.com/googleapis/java-grafeas/issues/544)) ([6254f5e](https://github.com/googleapis/java-grafeas/commit/6254f5e3c48873eff596cb358ad5d36d795fc0ee)) * Update dependency googleapis-common-protos to v1.56.4 ([#538](https://github.com/googleapis/java-grafeas/issues/538)) ([d4cfc58](https://github.com/googleapis/java-grafeas/commit/d4cfc581331fff32111c89735b3feeb81bcf958d)) * Update dependency importlib-metadata to v4.12.0 ([#545](https://github.com/googleapis/java-grafeas/issues/545)) ([fb042eb](https://github.com/googleapis/java-grafeas/commit/fb042eba994591f315e2d5a661542c9542fa0ffe)) * Update dependency jeepney to v0.8.0 ([#546](https://github.com/googleapis/java-grafeas/issues/546)) ([11bfac1](https://github.com/googleapis/java-grafeas/commit/11bfac10df0115fcc298665e6e02f6e667b18363)) * Update dependency jinja2 to v3.1.2 ([#547](https://github.com/googleapis/java-grafeas/issues/547)) ([3d63dcc](https://github.com/googleapis/java-grafeas/commit/3d63dcc6cc5464c32f65cff543f3ec438bbc8a19)) * Update dependency protobuf to v4 ([#556](https://github.com/googleapis/java-grafeas/issues/556)) ([9e6bb1e](https://github.com/googleapis/java-grafeas/commit/9e6bb1e7eae7e144d9e1a4518051a989c72e1a55)) * Update dependency pyjwt to v2.5.0 ([#551](https://github.com/googleapis/java-grafeas/issues/551)) ([eb33b41](https://github.com/googleapis/java-grafeas/commit/eb33b41210e2ff42d1dda3883bcb5518e434e6f6)) * Update dependency requests to v2.28.1 ([#552](https://github.com/googleapis/java-grafeas/issues/552)) ([3e5d888](https://github.com/googleapis/java-grafeas/commit/3e5d8884b0b1bcd01add07f994defcd4ad330f6c)) * Update dependency typing-extensions to v4.3.0 ([#553](https://github.com/googleapis/java-grafeas/issues/553)) ([5bb7386](https://github.com/googleapis/java-grafeas/commit/5bb7386ef00fe0a21f06dbbab7e05e84543db5f5)) * Update dependency zipp to v3.8.1 ([#554](https://github.com/googleapis/java-grafeas/issues/554)) ([bbae740](https://github.com/googleapis/java-grafeas/commit/bbae7406cad78237bfd86fbd8223d7295e994a61)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.5.5](https://github.com/googleapis/java-os-config/compare/v2.5.4...v2.5.5) (2022-10-03) ### Dependencies * Update dependency cachetools to v5 ([#548](https://github.com/googleapis/java-os-config/issues/548)) ([7732104](https://github.com/googleapis/java-os-config/commit/773210484285e1866623cee124081a660b3d9b46)) * Update dependency certifi to v2022.9.24 ([#528](https://github.com/googleapis/java-os-config/issues/528)) ([4f1f127](https://github.com/googleapis/java-os-config/commit/4f1f127775897fad569904445e70e575a2ae2bd8)) * Update dependency charset-normalizer to v2.1.1 ([#532](https://github.com/googleapis/java-os-config/issues/532)) ([61f841c](https://github.com/googleapis/java-os-config/commit/61f841cd29541b17b8074c153668bf15c8150cff)) * Update dependency click to v8.1.3 ([#533](https://github.com/googleapis/java-os-config/issues/533)) ([21192b2](https://github.com/googleapis/java-os-config/commit/21192b229b95304a1df3ca2916aa8bf8ea44ea42)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#552](https://github.com/googleapis/java-os-config/issues/552)) ([80f58b0](https://github.com/googleapis/java-os-config/commit/80f58b03bbffcf154fdab9825a8d45897eb35e42)) * Update dependency gcp-releasetool to v1.8.8 ([#529](https://github.com/googleapis/java-os-config/issues/529)) ([14b3317](https://github.com/googleapis/java-os-config/commit/14b33172bfa894ac3ffbe000e0e13ed288467dbc)) * Update dependency google-api-core to v2.10.1 ([#534](https://github.com/googleapis/java-os-config/issues/534)) ([c654bc1](https://github.com/googleapis/java-os-config/commit/c654bc19fc43d85f9d3eff1dd7ee22e9cdd563a7)) * Update dependency google-cloud-core to v2.3.2 ([#530](https://github.com/googleapis/java-os-config/issues/530)) ([cd403a7](https://github.com/googleapis/java-os-config/commit/cd403a7f04ba05f98b718895e6542b94e0e18395)) * Update dependency google-cloud-storage to v2.5.0 ([#536](https://github.com/googleapis/java-os-config/issues/536)) ([de2e7c5](https://github.com/googleapis/java-os-config/commit/de2e7c5d015ab0d58f50974cbe8d0f593337d683)) * Update dependency google-crc32c to v1.5.0 ([#537](https://github.com/googleapis/java-os-config/issues/537)) ([41bd424](https://github.com/googleapis/java-os-config/commit/41bd424e13b21abfc28075c3768a5a39fc02a50a)) * Update dependency googleapis-common-protos to v1.56.4 ([#531](https://github.com/googleapis/java-os-config/issues/531)) ([e489df9](https://github.com/googleapis/java-os-config/commit/e489df98196bd89959a4c8d5793e67c2dcd5be3b)) * Update dependency importlib-metadata to v4.12.0 ([#538](https://github.com/googleapis/java-os-config/issues/538)) ([bc4dd99](https://github.com/googleapis/java-os-config/commit/bc4dd993721044c1269825834b4337718a6f24cc)) * Update dependency jeepney to v0.8.0 ([#539](https://github.com/googleapis/java-os-config/issues/539)) ([78e9609](https://github.com/googleapis/java-os-config/commit/78e9609086f297282384892980a1ee16c200f389)) * Update dependency jinja2 to v3.1.2 ([#540](https://github.com/googleapis/java-os-config/issues/540)) ([fc0b932](https://github.com/googleapis/java-os-config/commit/fc0b932fac63a34b16dd4c283c66c3da29bb5ab8)) * Update dependency keyring to v23.9.3 ([#541](https://github.com/googleapis/java-os-config/issues/541)) ([c61e086](https://github.com/googleapis/java-os-config/commit/c61e08684a016231bc7279fde7b52530cae4c40e)) * Update dependency markupsafe to v2.1.1 ([#542](https://github.com/googleapis/java-os-config/issues/542)) ([d175c47](https://github.com/googleapis/java-os-config/commit/d175c479184daae2b10cc35d4b7d8103bd3ea2e5)) * Update dependency protobuf to v3.20.2 ([#543](https://github.com/googleapis/java-os-config/issues/543)) ([5d1183e](https://github.com/googleapis/java-os-config/commit/5d1183e95bc6c91903ec88252095135f5d0d23fe)) * Update dependency protobuf to v4 ([#549](https://github.com/googleapis/java-os-config/issues/549)) ([8c65a2d](https://github.com/googleapis/java-os-config/commit/8c65a2de5cce879b6edc2a4a492d38375954286a)) * Update dependency pyjwt to v2.5.0 ([#544](https://github.com/googleapis/java-os-config/issues/544)) ([0c65d1a](https://github.com/googleapis/java-os-config/commit/0c65d1ae23d2dbe1f3b5b3fed0ecfea1b79559b2)) * Update dependency requests to v2.28.1 ([#545](https://github.com/googleapis/java-os-config/issues/545)) ([0a603a2](https://github.com/googleapis/java-os-config/commit/0a603a226990a201a3fde2d039f254dc093bc44f)) * Update dependency typing-extensions to v4.3.0 ([#546](https://github.com/googleapis/java-os-config/issues/546)) ([18a8071](https://github.com/googleapis/java-os-config/commit/18a80710aad26e2899fb3b3d76ea7ee77098ecee)) * Update dependency zipp to v3.8.1 ([#547](https://github.com/googleapis/java-os-config/issues/547)) ([3b4d187](https://github.com/googleapis/java-os-config/commit/3b4d187cc3198fabdb20a2cea578788fb1b17fa2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.5.1](https://github.com/googleapis/java-retail/compare/v2.5.0...v2.5.1) (2022-10-03) ### Bug Fixes * **samples:** Bug fix for removing buckets from bq. ([#548](https://github.com/googleapis/java-retail/issues/548)) ([059da48](https://github.com/googleapis/java-retail/commit/059da48754191311b56521a4295d677eb3a7fcef)) * **samples:** Bug fix for setup script ([#549](https://github.com/googleapis/java-retail/issues/549)) ([b9ba700](https://github.com/googleapis/java-retail/commit/b9ba7003234a39569add3294534ac5af8a02fa50)) * **samples:** Lro added out-of-order step. ([#539](https://github.com/googleapis/java-retail/issues/539)) ([7913182](https://github.com/googleapis/java-retail/commit/7913182491c75c3f1937677da21bb80804e6b26c)) * **samples:** Removed delays on LRO ([#527](https://github.com/googleapis/java-retail/issues/527)) ([6c39da2](https://github.com/googleapis/java-retail/commit/6c39da291e0d0340ebe81f3f85b79bd1dea45118)) * **samples:** Replaced your-project-id with default. ([#541](https://github.com/googleapis/java-retail/issues/541)) ([b09050f](https://github.com/googleapis/java-retail/commit/b09050fabe81b8b0b8bcfe17c952bfa0870649c9)) * **samples:** Updating both json files. ([#540](https://github.com/googleapis/java-retail/issues/540)) ([0bcae2a](https://github.com/googleapis/java-retail/commit/0bcae2afe084f6765c3c51a783174063eb09d7e3)) ### Dependencies * Update dependency cachetools to v5 ([#566](https://github.com/googleapis/java-retail/issues/566)) ([44d49b5](https://github.com/googleapis/java-retail/commit/44d49b5571eab26fe6e3bd7720e91a2587ed6502)) * Update dependency certifi to v2022.9.24 ([#568](https://github.com/googleapis/java-retail/issues/568)) ([cbfb804](https://github.com/googleapis/java-retail/commit/cbfb804e99a310eab1231813cd65b8e3d7dafc58)) * Update dependency charset-normalizer to v2.1.1 ([#556](https://github.com/googleapis/java-retail/issues/556)) ([0ac7723](https://github.com/googleapis/java-retail/commit/0ac7723fae0e65a53116ed6c5be17fc32c7bb8a7)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.16.1 ([#542](https://github.com/googleapis/java-retail/issues/542)) ([7815252](https://github.com/googleapis/java-retail/commit/7815252c2eaa812fd6ed9903420ec63e027be917)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#577](https://github.com/googleapis/java-retail/issues/577)) ([2d2998c](https://github.com/googleapis/java-retail/commit/2d2998c70f92b1c8c7558f7f4ee7576b6d8ff677)) * Update dependency com.google.cloud:google-cloud-storage to v2.12.0 ([#543](https://github.com/googleapis/java-retail/issues/543)) ([4f90a58](https://github.com/googleapis/java-retail/commit/4f90a58aeebb015ed93d2c49725085016feba97d)) * Update dependency gcp-releasetool to v1.8.8 ([#569](https://github.com/googleapis/java-retail/issues/569)) ([15ca79e](https://github.com/googleapis/java-retail/commit/15ca79eb3c1c55c977b09e01eb995fd3e1906715)) * Update dependency google-api-core to v2.10.1 ([#558](https://github.com/googleapis/java-retail/issues/558)) ([217a955](https://github.com/googleapis/java-retail/commit/217a955111832eb7a0f71fc837da894d5ef0bc46)) * Update dependency google-auth to v2.11.1 ([#570](https://github.com/googleapis/java-retail/issues/570)) ([5380a6e](https://github.com/googleapis/java-retail/commit/5380a6e2ec881a46d343ef87511a1f91e3ccaae5)) * Update dependency google-cloud-core to v2.3.2 ([#554](https://github.com/googleapis/java-retail/issues/554)) ([8061d2c](https://github.com/googleapis/java-retail/commit/8061d2c1ad6279815758852afe29db3feabb19eb)) * Update dependency google-cloud-storage to v2.5.0 ([#559](https://github.com/googleapis/java-retail/issues/559)) ([e5a9e2e](https://github.com/googleapis/java-retail/commit/e5a9e2e4504835f412800395715e06cc29279608)) * Update dependency google-crc32c to v1.5.0 ([#560](https://github.com/googleapis/java-retail/issues/560)) ([b1a9b7b](https://github.com/googleapis/java-retail/commit/b1a9b7b96148319f157692530fc2bef61535756a)) * Update dependency googleapis-common-protos to v1.56.4 ([#555](https://github.com/googleapis/java-retail/issues/555)) ([7ca1cc7](https://github.com/googleapis/java-retail/commit/7ca1cc70abccb4914af7df2f679d37a9dba81f8d)) * Update dependency importlib-metadata to v4.12.0 ([#561](https://github.com/googleapis/java-retail/issues/561)) ([f492330](https://github.com/googleapis/java-retail/commit/f492330dc8f3e4039049c8e015237248177e1d28)) * Update dependency jeepney to v0.8.0 ([#571](https://github.com/googleapis/java-retail/issues/571)) ([dcb7b44](https://github.com/googleapis/java-retail/commit/dcb7b4430f1dc8767c0bec5028ec591b3b6707b9)) * Update dependency jinja2 to v3.1.2 ([#572](https://github.com/googleapis/java-retail/issues/572)) ([0ebba8d](https://github.com/googleapis/java-retail/commit/0ebba8d2b5b5d3ced9743d12dccba83a2527dce9)) * Update dependency keyring to v23.9.3 ([#573](https://github.com/googleapis/java-retail/issues/573)) ([83b04aa](https://github.com/googleapis/java-retail/commit/83b04aa019f83456093ec488b62471d729cf34ca)) * Update dependency markupsafe to v2.1.1 ([#553](https://github.com/googleapis/java-retail/issues/553)) ([58570b9](https://github.com/googleapis/java-retail/commit/58570b9a1a1658384ac1a719e5b77d62db3f9533)) * Update dependency protobuf to v3.20.2 ([#574](https://github.com/googleapis/java-retail/issues/574)) ([3ef6c0c](https://github.com/googleapis/java-retail/commit/3ef6c0cfcf5866a661731764ad85c762bb1cb081)) * Update dependency protobuf to v4 ([#567](https://github.com/googleapis/java-retail/issues/567)) ([d5fa224](https://github.com/googleapis/java-retail/commit/d5fa224128580e2ec42852442da84684ac38852a)) * Update dependency pyjwt to v2.5.0 ([#562](https://github.com/googleapis/java-retail/issues/562)) ([845850c](https://github.com/googleapis/java-retail/commit/845850cba4cf80c459ebbea37cb61b84f31e5388)) * Update dependency requests to v2.28.1 ([#563](https://github.com/googleapis/java-retail/issues/563)) ([759437f](https://github.com/googleapis/java-retail/commit/759437f1935995e18a09f5c492cf9b7421f6f8aa)) * Update dependency typing-extensions to v4.3.0 ([#564](https://github.com/googleapis/java-retail/issues/564)) ([afac7b9](https://github.com/googleapis/java-retail/commit/afac7b95f6f8dae5878cbbc088f23341566689f7)) * Update dependency zipp to v3.8.1 ([#565](https://github.com/googleapis/java-retail/issues/565)) ([1456cc4](https://github.com/googleapis/java-retail/commit/1456cc4c4e1b49e9b58b9428415e4d4aeb63dc64)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.6.16](https://github.com/googleapis/java-iam/compare/v1.6.15...v1.6.16) (2022-11-20) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.15 ([#539](https://github.com/googleapis/java-iam/issues/539)) ([6931f5c](https://github.com/googleapis/java-iam/commit/6931f5ce074e706ae1b4f1cadc6fd194e77df088)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This PR adds support to BigQuery for inserts that use resumable upload using a write channel interface (different from #534).
Main changes are:
BlobWriteChannel
andBlobReadChannel
to core module (the latter for consistency)BlobWriteChannel
andBlobReadChannel
toWriteChannel
andReadChannel
BaseWriteChannel
implementing entity-agnostic channel functionalityBlobWriteChannel
andBlobReadChannel
implementations togcloud-java-storage
LoadConfiguration
and modifyLoadJobInfo
to take configuration as a parameterBigQuery.writer
method to return a write channel given aLoadConfiguration
BigQueryRpc.open
and.write
methods to implement write channelTableDataWriteChannel
class to support bigquery resumable streaming inserts