forked from kbajalc/parquets
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Using this file:
https://github.com/Teradata/kylo/blob/master/samples/sample-data/parquet/userdata1.parquet
Have seen people having a similar issue with OG parquetjs: https://stackoverflow.com/questions/54988627/nodejs-javascript-typescript-error-while-reading-parquet-file
595 | // cursor.offset += parquet_util.decodeThrift(pageHeader, cursor.buffer);
596 | const { pageHeader, length } = Util.decodePageHeader(cursor.buffer);
597 | cursor.offset += length;
598 | const pageType = Util.getThriftEnum(thrift_1.PageType, pageHeader.type);
599 | if (pageType !== 'DATA_PAGE_V2' && pageType !== 'DATA_PAGE') {
600 | throw new Error(`Unsupported data page type ${pageType}`);
^
error: Unsupported data page type DICTIONARY_PAGE
at decodeDataPages (/home/dpn/workspace/datasets/node_modules/@dobesv/parquets/lib/reader.js:600:18)
at decodeColumnChunk (/home/dpn/workspace/datasets/node_modules/@dobesv/parquets/lib/reader.js:572:11)
at processTicksAndRejections (:55:76)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels