BiteTheDDDDt commented on pull request #6526:
URL: https://github.com/apache/incubator-doris/pull/6526#issuecomment-909937505
```cpp
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?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]