Skip to content

DynamicFilterPhysicalExpr violates Hash/Eq contract #19641

@adriangb

Description

@adriangb

Describe the bug

Because Hash and Eq take out separate locks it's possible the underlying expression changes in between calls. Thus you get the same hash but not matches for equality. I think this may be problematic, it seemed to cause a spin loop with HashMap in some non commited code I have.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions