Skip to content

CHAR columns are accepted for statistics but never collect min/max#4066

Description

@leekeiabstraction

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.9.0 (latest release)

Please describe the bug 馃悶

DataTypeChecks.isSupportedStatisticsType lists CHAR, so a table can enable statistics on a CHAR column and LogRecordBatchStatisticsCollector gives it an index slot and a null count. But the switch in updateMinMax (LogRecordBatchStatisticsCollector.java:134) has no CHAR case, so it falls through to the default branch and ships null bounds, leaving a filter on that column unable to prune anything.

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions