Skip to content

Commit

Permalink
use latest parquet version 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignalina committed Sep 23, 2022
1 parent c860115 commit 6cfc8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/TableToFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
func SaveToParquet(schema *arrow.Schema, record []arrow.Record, writer io.Writer, i int64) error {
var err error

props := parquet.NewWriterProperties(parquet.WithDictionaryDefault(false), parquet.WithCompression(compress.Codecs.Snappy))
props := parquet.NewWriterProperties(parquet.WithVersion(parquet.V2_LATEST),parquet.WithDictionaryDefault(false), parquet.WithCompression(compress.Codecs.Snappy))
arrProps := pqarrow.DefaultWriterProps()
tbl := array.NewTableFromRecords(schema, record)

Expand Down

0 comments on commit 6cfc8a7

Please sign in to comment.