HappenLee commented on code in PR #58993:
URL: https://github.com/apache/doris/pull/58993#discussion_r2629468488
##########
be/src/vec/aggregate_functions/aggregate_function_python_udaf.cpp:
##########
@@ -200,18 +199,17 @@ void AggregatePythonUDAF::create(AggregateDataPtr
__restrict place) const {
new (place) Data();
DCHECK(reinterpret_cast<Data*>(place)) << "Place must not be null";
- // Get or initialize shared client (thread-safe)
- PythonUDAFClient* client = _get_shared_client();
+ // Get or create thread-local client (thread-safe)
Review Comment:
what happen if thread change in agg operator
--
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]