Seth Hollyman created BEAM-10930:
------------------------------------
Summary: Use dense encoding for BigQuery JSON API interactions
Key: BEAM-10930
URL: https://issues.apache.org/jira/browse/BEAM-10930
Project: Beam
Issue Type: Improvement
Components: io-java-gcp
Reporter: Seth Hollyman
Did a quick audit of java BigQueryIO, which leverages the underlying discovery
client for the HTTP interactions with the BigQuery service.
By default, interactions with BigQuery will use pretty-printed JSON responses
which may include significant whitespace due to the complexity inherent in the
BigQuery JSON response structure. This whitespace is all unnecessary for
programmatic interactions, and interactions should use dense encoding as JSON
is whitespace agnostic.
Information about the system parameters can be found at the below URL. In
particular, the prettyPrint parameter governs dense-vs-pretty JSON
representation.
[https://cloud.google.com/apis/docs/system-parameters]
I already have a fix for this issue in progress, creating this issue in order
to submit the PR for review.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)