Jason Fehr 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 18: (1 comment) http://gerrit.cloudera.org:8080/#/c/23777/18/fe/src/main/java/org/apache/impala/analysis/ParsedStatement.java File fe/src/main/java/org/apache/impala/analysis/ParsedStatement.java: http://gerrit.cloudera.org:8080/#/c/23777/18/fe/src/main/java/org/apache/impala/analysis/ParsedStatement.java@45 PS18, Line 45: // true if this is an alter table ddl statement > Instead of adding all these checks, how about adding an isTraceable method I considered that approach but ended up with keeping anything tracing related as high up in the call stack as possible. A ParsedStatement object should not need to know about the external concept of a trace. It should only know about the statement it represents. The taken approach is a little more code, but better separation of concerns. -- 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: 18 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: Thu, 19 Mar 2026 21:53:38 +0000 Gerrit-HasComments: Yes
