zstd w/ compression level 4 is now standard for athena query results

This commit is contained in:
Ari Brown 2023-11-30 16:48:45 -05:00
parent 210e7ebd92
commit 97c27f25a0

View file

@ -108,7 +108,7 @@ class Query(Execute):
"results", "results",
str(random.random())) str(random.random()))
query = f"unload ({self.sql}) to {repr(out)} " + \ query = f"unload ({self.sql}) to {repr(out)} " + \
f"with (format = '{self.format}')" f"with (format = '{self.format}', compression ='zstd', compression_level = 4)"
return query return query