// node_modules/hyparquet/src/rowgroup.js (readRowGroup)
const columnDecoder = {
pathInSchema,
element: schemaPath[schemaPath.length - 1].element,
schemaPath,
parsers: { ...DEFAULT_PARSERS, ...options.parsers }, // ① 先合并默认
...options, // ② 再用 options 整体覆盖 parsers
...chunk.columnMetadata,
}
// node_modules/hyparquet/src/rowgroup.js (readRowGroup)
const columnDecoder = {
pathInSchema,
element: schemaPath[schemaPath.length - 1].element,
schemaPath,
parsers: { ...DEFAULT_PARSERS, ...options.parsers }, // ① 先合并默认
...options, // ② 再用 options 整体覆盖 parsers
...chunk.columnMetadata,
}