yiguolei commented on code in PR #30746:
URL: https://github.com/apache/doris/pull/30746#discussion_r1477234921


##########
be/src/pipeline/exec/scan_operator.cpp:
##########
@@ -1456,36 +1450,19 @@ Status 
ScanOperatorX<LocalStateType>::get_block(RuntimeState* state, vectorized:
     }};
 
     if (state->is_cancelled()) {

Review Comment:
   And  also should check if scanner ctx is nullptr here, if null ptr should 
cancel.
   sometimes the scanner ctx is not inited successully. and it will core if not 
check it.



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

Reply via email to