File tree Expand file tree Collapse file tree
core/src/main/java/org/opensearch/sql/calcite
integ-test/src/test/java/org/opensearch/sql/ppl
plugin/src/main/java/org/opensearch/sql/plugin/rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public class CalcitePlanContext {
3636 public final QueryType queryType ;
3737 public final Integer querySizeLimit ;
3838
39+ /** This thread local variable is only used to skip script encoding in script pushdown. */
3940 public static final ThreadLocal <Boolean > skipEncoding = ThreadLocal .withInitial (() -> false );
4041
4142 @ Getter @ Setter private boolean isResolvingJoinCondition = false ;
Original file line number Diff line number Diff line change 77
88import static org .opensearch .sql .legacy .TestUtils .getResponseBody ;
99import static org .opensearch .sql .plugin .rest .RestPPLQueryAction .EXPLAIN_API_ENDPOINT ;
10- import static org .opensearch .sql .plugin .rest .RestPPLQueryAction .EXTENDED_EXPLAIN_API_ENDPOINT ;
1110import static org .opensearch .sql .plugin .rest .RestPPLQueryAction .QUERY_API_ENDPOINT ;
1211
1312import com .google .common .io .Resources ;
3231
3332/** OpenSearch Rest integration test base for PPL testing. */
3433public abstract class PPLIntegTestCase extends SQLIntegTestCase {
34+ private static final String EXTENDED_EXPLAIN_API_ENDPOINT =
35+ "/_plugins/_ppl/_explain?format=extended" ;
3536 private static final Logger LOG = LogManager .getLogger ();
3637
3738 @ Override
Original file line number Diff line number Diff line change 4141public class RestPPLQueryAction extends BaseRestHandler {
4242 public static final String QUERY_API_ENDPOINT = "/_plugins/_ppl" ;
4343 public static final String EXPLAIN_API_ENDPOINT = "/_plugins/_ppl/_explain" ;
44- public static final String EXTENDED_EXPLAIN_API_ENDPOINT =
45- "/_plugins/_ppl/_explain?format=extended" ;
4644
4745 private static final Logger LOG = LogManager .getLogger ();
4846
You can’t perform that action at this time.
0 commit comments