Skip to content

FallbackValuesWriter can corrupt row group when reusing dictionary writer #3637

Description

@nastra

Describe the bug, including details regarding any error messages, version, and platform.

When a column's first page(s) use PLAIN_DICTIONARY and a later page falls back to PLAIN, the FallbackValuesWriter switches currentWriter from the dictionary writer to the plain writer. However, the initial writer is never reset at row-group boundaries, which can silently corrupt the next row group.

Component(s)

Core

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions