Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Deterministic index selection for filter rule with no hybrid scan #428

Merged
merged 4 commits into from
Apr 22, 2021

Conversation

apoorvedave1
Copy link
Contributor

@apoorvedave1 apoorvedave1 commented Apr 21, 2021

What is the context for this pull request?

Deterministic index selection for FilterIndexRule with hybrid scan disabled.

What changes were proposed in this pull request?

This PR changes the filter index rule selection from picking the head of the eligible indexes to picking the index which has

  • the minimum size in terms of index file sizes
  • lexicographically smallest index name (if there are multiple indexes with minimum size)

Does this PR introduce any user-facing change?

no

How was this patch tested?

unit tests

Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (pending @sezruby's approval), thanks @apoorvedave1!

@sezruby
Copy link
Collaborator

sezruby commented Apr 22, 2021

LGTM Thanks!

@imback82 imback82 merged commit a373eef into microsoft:master Apr 22, 2021
@clee704 clee704 added this to the v0.5.0 milestone Jun 15, 2021
@clee704 clee704 added the enhancement New feature or request label Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants