Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Multi column indexes are only used if all columns share operation #261

Open
@erizocosmico

Description

@erizocosmico

Because our methods for Index accept ...interface{}, where the len of that slice is the length of columns in the index, all those methods require all the values, one for each column.

This creates a problem: all columns must use the exact same operation.

For example, consider we have an index on A and B:

  • A = 1 AND B = 1 will use the index.
  • A > 1 AND B > 5 will use the index.
  • A = 1 AND B < 5 will not, because = and < are not the same operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedSome other issue is blocking thiswipwork in progress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions