Skip to content

Commit 2c3ce12

Browse files
committed
address comment
Signed-off-by: Lantao Jin <ltjin@amazon.com>
1 parent 160f1da commit 2c3ce12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opensearch/src/main/java/org/opensearch/sql/opensearch/executor/OpenSearchExecutionEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ public void explain(
156156
ResponseListener<ExplainResponse> listener) {
157157
client.schedule(
158158
() -> {
159-
CalcitePlanContext.isExplain.set(true);
160159
try {
160+
CalcitePlanContext.isExplain.set(true);
161161
if (format == ExplainFormat.SIMPLE) {
162162
String logical = RelOptUtil.toString(rel, SqlExplainLevel.NO_ATTRIBUTES);
163163
listener.onResponse(

0 commit comments

Comments
 (0)