Skip to content

Conversation

@kangkaisen
Copy link
Contributor

For #3452

Current implement is very simply and conservative, because our query planner is error-prone.

After we implement the new query planner, we could do this work by Predicate Equivalence Class and PredicatePushDown rule like presto.

@morningman morningman merged commit caa7a07 into apache:master May 4, 2020
@EmmyMiao87 EmmyMiao87 mentioned this pull request Aug 17, 2020
@xinghuayu007
Copy link
Contributor

@kangkaisen ,Mysql has implemented an optimizer with Multiple Equivalence Predicate (MEP). For example, a
=b and b= c and c = 123 ===>> =(a,b,c,123), which implement transitivity of predicates. Does this algorithm solve your problem? Add my WeChat: xinghuayu520 to have a disscussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants