Skip to content

Errors in partition pruning filters are ignored #12901

@eejbyfeldt

Description

@eejbyfeldt

Describe the bug

Filters with errors are ignored when evaluating partition filters are ignored. This is problematic since we return Exact for partition filters leading to correctness issues.

To Reproduce

A query like

SELECT c2 from aggregate_test_100 where CASE WHEN true THEN 1 / 0 ELSE 0 END = 1;

Expected behavior

Query should produce an error (Divide by zero) instead of returning results.

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