linrrzqqq opened a new pull request, #63080: URL: https://github.com/apache/doris/pull/63080
Problem Summary: `AI_AGG` previously stored `QueryContext` in a process-level static pointer. Concurrent AI_AGG queries could overwrite that pointer, causing one query to read another query's AI resource metadata, query options, or timeout state. The aggregate function instance now receives the query context from `AggFnEvaluator` and binds it to each AggregateFunctionAIAggData state when the state is created, reset, or deserialized. -- 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]
