github-actions[bot] commented on code in PR #33846:
URL: https://github.com/apache/doris/pull/33846#discussion_r1570481515


##########
be/src/runtime/routine_load/routine_load_task_executor.cpp:
##########
@@ -371,6 +396,9 @@ void 
RoutineLoadTaskExecutor::exec_task(std::shared_ptr<StreamLoadContext> ctx,
     // wait for all consumers finished
     HANDLE_ERROR(ctx->future.get(), "consume failed");
 
+    HANDLE_ERROR(_get_kafka_latest_offsets_for_partitions(consumer_grp, ctx),

Review Comment:
   warning: boolean expression can be simplified by DeMorgan's theorem 
[readability-simplify-boolean-expr]
   ```cpp
       HANDLE_ERROR(_get_kafka_latest_offsets_for_partitions(consumer_grp, ctx),
       ^
   ```
   <details>
   <summary>Additional context</summary>
   
   **be/src/runtime/routine_load/routine_load_task_executor.cpp:321:** expanded 
from macro 'HANDLE_ERROR'
   ```cpp
           if (UNLIKELY(!_status_.ok() && !_status_.is<PUBLISH_TIMEOUT>())) { \
               ^
   ```
   **be/src/common/compiler_util.h:35:** expanded from macro 'UNLIKELY'
   ```cpp
   #define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
                                            ^
   ```
   
   </details>
   



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