qzsee commented on pull request #6526:
URL: https://github.com/apache/incubator-doris/pull/6526#issuecomment-910064230


   > ```c++
   > Status ExprContext::prepare(RuntimeState* state, const RowDescriptor& 
row_desc,
   >                             const std::shared_ptr<MemTracker>& tracker) {
   >     _prepared = true;
   >     ...
   > }
   > 
   > Status ExprContext::open(RuntimeState* state) {
   >     DCHECK(_prepared);
   >     ...
   > }
   > ```
   > 
   > Maybe you can refer to the `ExprContext` method to avoid repeatedly 
calling prepare by mistake?
   
   The process of preparing is normal


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