github-actions[bot] commented on code in PR #17615:
URL: https://github.com/apache/doris/pull/17615#discussion_r1130755925
##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -190,6 +200,11 @@ Status PipelineTask::execute(bool* eos) {
Status PipelineTask::finalize() {
SCOPED_TIMER(_task_profile->total_time_counter());
SCOPED_CPU_TIMER(_task_cpu_timer);
+ Defer defer {[&]() {
+ if (_task_queue) {
+ _task_queue->update_statistics(this, time_spent);
Review Comment:
warning: use of undeclared identifier 'time_spent' [clang-diagnostic-error]
```cpp
_task_queue->update_statistics(this, time_spent);
^
```
##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -200,6 +215,11 @@
Status PipelineTask::close() {
int64_t close_ns = 0;
+ Defer defer {[&]() {
+ if (_task_queue) {
+ _task_queue->update_statistics(this, time_spent);
Review Comment:
warning: use of undeclared identifier 'time_spent' [clang-diagnostic-error]
```cpp
_task_queue->update_statistics(this, time_spent);
^
```
--
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]