kennknowles commented on code in PR #33384: URL: https://github.com/apache/beam/pull/33384#discussion_r1907701067
########## sdks/python/apache_beam/io/gcp/gcsio.py: ########## @@ -589,8 +589,29 @@ def __init__( blob, chunk_size=DEFAULT_READ_BUFFER_SIZE, enable_read_bucket_metric=False, - retry=DEFAULT_RETRY): - super().__init__(blob, chunk_size=chunk_size, retry=retry) + retry=DEFAULT_RETRY, + raw_download=True): + # By default, we always request to retrieve raw data from GCS even if the + # object meets the criteria of decompressive transcoding + # (https://cloud.google.com/storage/docs/transcoding). + super().__init__( + blob, chunk_size=chunk_size, retry=retry, raw_download=raw_download) Review Comment: Will these be a stable API? It is not documented at https://cloud.google.com/python/docs/reference/storage/latest/google.cloud.storage.fileio.BlobReader -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org