Skip to content

ColumnWriterImpl::write_batch_with_statistics can write incorrect page statistics #2015

@tustvold

Description

@tustvold

Describe the bug

If calls to write_batch_with_statistics are mixed with calls to write_batch it can lead to invalid page statistics, as they will only be computed for the data passed to write_batch.

To Reproduce

Inspect code

Expected behavior

These methods should behave consistently

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugparquetChanges to the parquet crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions