Skip to content

[Feature] Optimize and simply predicates#5623

Closed
xinghuayu007 wants to merge 1 commit intoapache:masterfrom
xinghuayu007:predicate_conflict_check
Closed

[Feature] Optimize and simply predicates#5623
xinghuayu007 wants to merge 1 commit intoapache:masterfrom
xinghuayu007:predicate_conflict_check

Conversation

@xinghuayu007
Copy link
Contributor

@xinghuayu007 xinghuayu007 commented Apr 9, 2021

Proposed changes

For #5505 ;
Marker:代表一个范围的边界,上边界或者下边界,由一个数值和一个大小关系表示。例如 1 < a <= 2,上边界(1, 大于)组成,下边界(2, 大于等于)组成
Range:代表一个范围,有两个marker组成,分别是上边界和下边界。例如 1 < a <=2,range= {(1, 大于), (2, 大于等于)}
SortedRangeSet:代表可排序的类型的range,基本类型:int, string, date都可排序
Domain: 代表多个范围的集合,因为一个列可能有多个范围
TupleDomain: 一个列和它的多个范围

Types of changes

What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)
  • Code refactor (Modify the code structure, format the code, etc...)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have created an issue on (Fix 【Proposal】Check conflict predicate and merge predicates #5505) and described the bug/feature there in detail
  • Compiling and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • If these changes need document changes, I have updated the document
  • Any dependent changes have been merged

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@EmmyMiao87 EmmyMiao87 added area/optimizer Issues or PRS related to query optimizer or improvement kind/feature Categorizes issue or PR as related to a new feature. labels Apr 30, 2021
@EmmyMiao87 EmmyMiao87 self-assigned this Apr 30, 2021
@morrySnow morrySnow closed this Jun 21, 2022
w41ter pushed a commit to w41ter/incubator-doris that referenced this pull request Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/optimizer Issues or PRS related to query optimizer or improvement kind/feature Categorizes issue or PR as related to a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

【Proposal】Check conflict predicate and merge predicates

3 participants