apache / apache/beam

Allow disabling Gzip on BigQuery streaming writes

Open
#20,058 0 comments 0 reactions 0 assignees View on GitHub
gcp improvement io java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

I need to be able to call setDisableGZipContent(true) on the insertAll method executed here:

[https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java#L779](https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java#L779)

Right now, about 50% of our Dataflow CPUs are being consumed just in libzip for the GZIP compression of BigQuery streaming writes.

I have no idea what component to file this under, so please change it to the appropriate one.

Imported from Jira [BEAM-9174](https://issues.apache.org/jira/browse/BEAM-9174). Original Jira may contain additional context.
Reported by: hach-que.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.