huangmengbin opened a new pull request #6099:
URL: https://github.com/apache/incubator-doris/pull/6099


   ## Proposed changes
   
   - We find that the execution efficiency of statements like `where a in (...) 
and b in (...) ......` is very poor, especially when the `max_scan_key_num` and 
the number of column are large.
   - Every time this function `RowCursor::init_scan_key` is called in the 
for-loop, a duplicate object, `schema`, which owns a `vector<Field*>` inside, 
will be created.
   - So we want to construct this object outside the for-loop, and make it be 
shared by multiple `row_cursor`
   
   ## Types of changes
   
   - [ ] Bugfix (non-breaking change which fixes an issue)
   - [x] 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
   
   - [x] I have created an issue on (Enhancement #6098 ) and described the 
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
   - [x] Any dependent changes have been merged
   
   ## Further comments
   
   - I am not sure if this change will break the original code structure.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to