amorynan commented on code in PR #32620:
URL: https://github.com/apache/doris/pull/32620#discussion_r1554806608


##########
be/src/vec/functions/array/function_array_index.h:
##########
@@ -87,6 +96,58 @@ class FunctionArrayIndex : public IFunction {
 
     bool use_default_implementation_for_nulls() const override { return false; 
}
 
+    Status open(FunctionContext* context, FunctionContext::FunctionStateScope 
scope) override {
+        if (scope == FunctionContext::THREAD_LOCAL) {
+            return Status::OK();

Review Comment:
   because this param in functionState is just read-only, which should be 
fragment-local



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