vrajat opened a new issue, #16041: URL: https://github.com/apache/pinot/issues/16041
Server GRPC queries are used when Pinot is used with Trino/Presto. queryId is not set for these queries and is set to null. However the assert in the following function caused tests to fail. ``` public void createExecutionContextInner(@Nullable String queryId, int taskId, ThreadExecutionContext.TaskType taskType, @Nullable ThreadExecutionContext parentContext) { _threadLocalEntry.get()._errorStatus.set(null); if (parentContext == null) { // is anchor thread assert queryId != null; _threadLocalEntry.get() .setThreadTaskStatus(queryId, CommonConstants.Accounting.ANCHOR_TASK_ID, taskType, Thread.currentThread()); } else { // not anchor thread _threadLocalEntry.get().setThreadTaskStatus(queryId, taskId, parentContext.getTaskType(), parentContext.getAnchorThread()); } } ``` -- 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: commits-unsubscr...@pinot.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org