mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-20 17:57:30 +01:00
Switch to zstd compression for parquet writers
This commit is contained in:
@@ -87,7 +87,7 @@ func writeParquetBytes(rows []ParquetJobRow) ([]byte, error) {
|
||||
var buf bytes.Buffer
|
||||
|
||||
writer := pq.NewGenericWriter[ParquetJobRow](&buf,
|
||||
pq.Compression(&pq.Snappy),
|
||||
pq.Compression(&pq.Zstd),
|
||||
)
|
||||
|
||||
if _, err := writer.Write(rows); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user