Skip to content
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

feat: Add compression option ZSTD. #1890

Merged
merged 13 commits into from
Apr 11, 2024
Prev Previous commit
Next Next commit
updates compression object comparison
  • Loading branch information
chalmerlowe committed Apr 10, 2024
commit b57dd6678b6482bb4a5c1ac5a0a5eea105a591e0
4 changes: 2 additions & 2 deletions tests/unit/job/test_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_to_api_repr(self):
from google.cloud.bigquery import job

config = self._make_one()
config.compression = job.Compression.SNAPPY
config.compression = job.Compression.SNAPPY.value
tswast marked this conversation as resolved.
Show resolved Hide resolved
config.destination_format = job.DestinationFormat.AVRO
config.field_delimiter = "ignored for avro"
config.print_header = False
Expand All @@ -50,7 +50,7 @@ def test_to_api_repr(self):
resource,
{
"extract": {
"compression": job.Compression.SNAPPY,
"compression": "SNAPPY",
"destinationFormat": "AVRO",
"fieldDelimiter": "ignored for avro",
"printHeader": False,
Expand Down