Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/23777 )
Change subject: IMPALA-14370: [Patch 1 of 2] - OpenTelemetry Query Tracing Skips Queries with Leading Comments ...................................................................... Patch Set 23: Code-Review+1 (3 comments) Thank you for resolving the comments! http://gerrit.cloudera.org:8080/#/c/23777/20/be/src/observe/span-manager.cc File be/src/observe/span-manager.cc: http://gerrit.cloudera.org:8080/#/c/23777/20/be/src/observe/span-manager.cc@367 PS20, Line 367: impala::to_string(client_request_state_->exec_request().stmt_type)}} > The namespace prefix is actually needed because the compiler attempts to pi Done http://gerrit.cloudera.org:8080/#/c/23777/20/be/src/service/client-request-state.h File be/src/service/client-request-state.h: http://gerrit.cloudera.org:8080/#/c/23777/20/be/src/service/client-request-state.h@554 PS20, Line 554: otel_span_manager_->HasEnded() > That's an interesting idea. SpanManager::HasEnded() calls into the root Bu Done http://gerrit.cloudera.org:8080/#/c/23777/20/fe/src/main/java/org/apache/impala/service/Frontend.java File fe/src/main/java/org/apache/impala/service/Frontend.java: http://gerrit.cloudera.org:8080/#/c/23777/20/fe/src/main/java/org/apache/impala/service/Frontend.java@3325 PS20, Line 3325: } else { : updateQueryOtelTracing(queryCtx.getQuery_id(), planCtx, parsedStmt); : } : } : : return parsedStmt; : } : : /** : * Determines if a statement should have an OpenTelemetry trace created for it and : * notifies the backend of the decision. Sets <code>planCtx.queryTraced_</code> with the : * result of the decision if it has not already been set. : * : * No-op if <code>planCtx.queryTraced_</code> is already set which means the first call : * of this function wins (if it is called multiple times). : * : * @param queryId {@link TUniqueId} of the statement to check : * @param planCtx {@link PlanCtx} of the statement to check : * @param parsedStmt {@link ParsedStatement} of the statement to check, returned from : * the sql parser : * @throws AnalysisException see {@link Frontend#updateQueryOtelTracingInBE} : */ > It really comes down to programming preference. I want to keep knowledge o Done -- To view, visit http://gerrit.cloudera.org:8080/23777 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I1425b32006f81586bf75c2e4045d23bab91e1611 Gerrit-Change-Number: 23777 Gerrit-PatchSet: 23 Gerrit-Owner: Jason Fehr <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Reviewer: Surya Hebbar <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Fri, 08 May 2026 09:59:32 +0000 Gerrit-HasComments: Yes
