We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00547e0 commit 91be1d8Copy full SHA for 91be1d8
src/webapp/databricks.py
@@ -459,11 +459,11 @@ def _consume_chunk(chunk_obj: Any) -> int | None:
459
storage_client = storage.Client()
460
bucket = storage_client.bucket(bucket_name)
461
blob = bucket.blob(object_name)
462
+ blob.content_encoding = "gzip"
463
try:
464
blob.upload_from_string(
465
gz,
466
content_type="application/json",
- content_encoding="gzip",
467
if_generation_match=0, # write-once; 412 if someone beat us
468
)
469
except gcs_errors.PreconditionFailed:
0 commit comments