doris
doris copied to clipboard
[Enhancement](rewrite) support Or to In rule
Search before asking
- [X] I had searched in the issues and found no similar issues.
Description
support Or to In rewrite rule :
for example, sql select * from test_tbl where a = 1 or a = 2 or a in (3, 4) should rewrite to select * from test_tbl where a in (1,2,3,4)
Solution
support Or to In rewrite rule :
for example, sql select * from test_tbl where a = 1 or a = 2 or a in (3, 4) should rewrite to select * from test_tbl where a in (1,2,3,4)
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct