Skip to content

Query planner intersection of AND index keys is not properly handling things that don't exist in the index #342

@cjnolet

Description

@cjnolet

It's scanning through the index scanner without regarding keys that didn't come back- therefore when the intersection is done it's only taking into account those keys which were returned from the scanner and not all the keys that were asked for.

When a key doesn't exist at all, there should be 0 shards to scan through. Instead, the key that doesn't exist is basically just ignored from the query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions