Skip to content

自定义解析器传入部分解析器而非全部时 会覆盖所有默认解析器 #175

Description

@Henri-lab

// 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,
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions