[ 
https://issues.apache.org/jira/browse/IMPALA-15001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082047#comment-18082047
 ] 

ASF subversion and git services commented on IMPALA-15001:
----------------------------------------------------------

Commit 178b49d02850c6be96743898dc440feccb72fa8c in impala's branch 
refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=178b49d02 ]

IMPALA-15001: OpenTelemetry Query Tracing not working with fallback planner

Some tests within test_otel_trace.py are failing when the USE_CALCITE_PLANNER
environment variable is set to true (i.e. test_select_values).

This fix avoids setting the tracing when parsing has failed, since the Calcite
planner may have issues with parsing that are resolved by the original
planner.  A "finally" block is added outside of all retries to ensure that
the backend gets a message for all requests.

Change-Id: Ia776e7bc3245b950d332855c59207d5f21e26bff
Reviewed-on: http://gerrit.cloudera.org:8080/24322
Reviewed-by: Jason Fehr <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Otelemetry feature not working well with Calcite planner fallback
> -----------------------------------------------------------------
>
>                 Key: IMPALA-15001
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15001
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Steve Carlin
>            Priority: Major
>
> I am running the start-impala-cluster.py with the USE_CALCITE_PLANNER=true 
> environment variable.  This will run the cluster trying the Calcite planner 
> first and falling back to the Original planner on any compilation error.
> The test_otel_trace.py has some failures when running in this mode (e.g. 
> test_select_values) The query_trace values are being set to false on the 
> first pass Calcite analysis and do not get reset on the second compilation 
> attempt with the original planner.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to