Skip to content

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants