Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature](mtmv)Support single table rewrite cherry21 #35242

Merged

Conversation

seawinde
Copy link
Contributor

Support Single table query rewrite with out group by this is useful for complex filter or expresission

the mv def and query is as following
which can be query rewritten

mv def:

          select *
            from lineitem where l_comment like '%xx%'

query:

            select l_linenumber, l_receiptdate
            from lineitem where l_comment like '%xx%'

Proposed changes

commit id: 0f95160
pr: #34185

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...

Support Single table  query rewrite with out group by
this is useful for complex filter or expresission

the mv def and query is as following
which can be query rewritten

mv def:
```
          select *
            from lineitem where l_comment like '%xx%'
```

query:
```
            select l_linenumber, l_receiptdate
            from lineitem where l_comment like '%xx%'
```


Co-authored-by: zfr9527 <qhu15zhang3294197@163.com>
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@seawinde
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit 4075408 into apache:branch-2.1 May 23, 2024
8 of 9 checks passed
@yiguolei yiguolei mentioned this pull request Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants