Skip to content

Parquet predicate filters fail with "Invalid comparison operation: Utf8View <= Utf8" #15920

@ctsk

Description

@ctsk

Describe the bug

When running the tpch benchmark with debug logging, some errors are logged - they look like this:

DEBUG datafusion_datasource_parquet::row_group_filter] Error evaluating row group predicate on bloom filter: Arrow error: Invalid argument error: Invalid comparison operation: Utf8View <= Utf8

DEBUG datafusion_datasource_parquet::row_group_filter] Error evaluating row group predicate values Arrow error: Invalid argument error: Invalid comparison operation: Utf8View <= Utf8

DEBUG datafusion_datasource_parquet::page_filter] Error evaluating page index predicate values Arrow error: Invalid argument error: Invalid comparison operation: Utf8View <= Utf8

This does not affect the query result, but I wonder if this there is a cast / conversion missing somewhere.

To Reproduce

If not done yet, download the tpch dataset+convert it to parquet via

./bench.sh data tpch

Then run:

RUST_LOG=debug ./bench.sh run tpch |& grep error

Expected behavior

No errors =)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions