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

Data Skipping Index Part 1: Refactoring #481

Merged
merged 2 commits into from
Jul 29, 2021
Merged

Conversation

clee704
Copy link

@clee704 clee704 commented Jul 27, 2021

  • Replace CoveringIndexFilter with a generic IndexTypeFilter so that it
    can be reused for DataSkippingIndex.
  • Rename RuleUtils to CoveringIndexRuleUtils and extract methods not
    specific to CoveringIndex into RuleUtils so that DataSkippingIndex can
    use them.
  • Move ExtractRelation from index.covering to index.rules because it is
    a general extractor that can be used by DataSkippingIndex.

What is the context for this pull request?

What changes were proposed in this pull request?

Reorganize code so that code duplication is minimized when new index types are added later.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing unit tests

Chungmin Lee added 2 commits July 28, 2021 18:48
- Replace CoveringIndexFilter with a generic IndexTypeFilter so that it
  can be reused for DataSkippingIndex.
- Rename RuleUtils to CoveringIndexRuleUtils and extract methods not
  specific to CoveringIndex into RuleUtils so that DataSkippingIndex can
  use them.
- Move ExtractRelation from index.covering to index.rules because it is
  a general extractor that can be used by DataSkippingIndex.
@clee704 clee704 marked this pull request as ready for review July 28, 2021 09:53
@clee704 clee704 requested a review from sezruby July 28, 2021 09:53
@sezruby sezruby merged commit 467a891 into microsoft:master Jul 29, 2021
@clee704 clee704 self-assigned this Jul 29, 2021
@clee704 clee704 added the refactoring Changes that don't alter observable program behaviors label Jul 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactoring Changes that don't alter observable program behaviors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants