zhiqiang-hhhh commented on code in PR #24286:
URL: https://github.com/apache/doris/pull/24286#discussion_r1323991119


##########
be/src/pipeline/exec/union_source_operator.h:
##########
@@ -67,6 +68,49 @@ class UnionSourceOperator final : public 
SourceOperator<UnionSourceOperatorBuild
     std::shared_ptr<DataQueue> _data_queue;
     bool _need_read_for_const_expr;
 };
+class UnionSourceOperatorX;
+class UnionSourceLocalState final : public 
PipelineXLocalState<UnionDependency> {
+public:
+    ENABLE_FACTORY_CREATOR(UnionSourceLocalState);
+    using Base = PipelineXLocalState<UnionDependency>;
+    using Parent = UnionSourceOperatorX;
+    UnionSourceLocalState(RuntimeState* state, OperatorXBase* parent) : 
Base(state, parent) {};
+
+    Status init(RuntimeState* state, LocalStateInfo& info) override;

Review Comment:
   [[nodiscard]]
   we should make sure all status return value is checked



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