ironSource / parquetjs

fully asynchronous, pure JavaScript implementation of the Parquet file format
MIT License
348 stars 175 forks source link

Is it possible to use GZIP compression with your module ? #94

Open HugoSecteur4 opened 4 years ago

HugoSecteur4 commented 4 years ago

Hi,

First, thank you for your module, nice work ! I wanted to know if it was possible to use GZIP compression for writing parquet data with your module.

If yes, can I have a simple example please ? thank you very much !

rickyk586 commented 4 years ago
const schema = new parquetjs.ParquetSchema({
    id: { type: 'UINT_64', compression: 'GZIP' },
    name: { type: 'UTF8', compression: 'GZIP' },
    createdAt: { type: 'TIMESTAMP_MILLIS', compression: 'GZIP' },
});
theloveofcode commented 2 years ago

@rickyk586 Why isn't GZIP listed here?