Skip to content

Commit

Permalink
Merge pull request #178 from selotape/fix_redundant_snappy
Browse files Browse the repository at this point in the history
remove redundant SNAPPY from supported compressions list
  • Loading branch information
martindurant committed Jul 3, 2017
2 parents 38f9084 + 7be2180 commit 3a05329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastparquet/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def gzip_compress_v3(data, compresslevel=COMPRESSION_LEVEL):

rev_map = {getattr(parquet_thrift.CompressionCodec, key): key for key in
dir(parquet_thrift.CompressionCodec) if key in
['UNCOMPRESSED', 'SNAPPY', 'GZIP', 'SNAPPY', 'LZO', 'BROTLI']}
['UNCOMPRESSED', 'SNAPPY', 'GZIP', 'LZO', 'BROTLI']}


def compress_data(data, algorithm='gzip'):
Expand Down

0 comments on commit 3a05329

Please sign in to comment.