I'm trying to use RLE encoding with this library, but I always get this error regardless of how I tweak the configuration parameters.
The value "NaN" is invalid for option "size" at Function.alloc (buffer.js:371:3)
(node:74887) UnhandledPromiseRejectionWarning: RangeError [ERR_INVALID_OPT_VALUE]: The value "NaN" is invalid for option "size"
at Function.alloc (buffer.js:371:3)
at encodeRunBitpacked (/myproject/node_modules/parquetjs/lib/codec/rle.js:8:20)
at Object.exports.encodeValues (/myproject/node_modules/parquetjs/lib/codec/rle.js:81:31)
at encodeValues (/myproject/node_modules/parquetjs/lib/writer.js:287:34)
at encodeDataPageV2 (/myproject/node_modules/parquetjs/lib/writer.js:346:19)
at encodeColumnChunk (/myproject/node_modules/parquetjs/lib/writer.js:420:18)
at encodeRowGroup (/myproject/node_modules/parquetjs/lib/writer.js:483:22)
at ParquetEnvelopeWriter.writeRowGroup (/myproject/node_modules/parquetjs/lib/writer.js:201:18)
at ParquetWriter.close (/myproject/node_modules/parquetjs/lib/writer.js:116:33)
at test (/myproject/src/parquetify.js:112:18)
Here is my simple test case. Am I doing something wrong, or is this a real bug?
I'm trying to use RLE encoding with this library, but I always get this error regardless of how I tweak the configuration parameters.
Here is my simple test case. Am I doing something wrong, or is this a real bug?
I'm using parquetjs 0.11.2 from https://registry.npmjs.org/parquetjs/-/parquetjs-0.11.2.tgz