Search in sources :

Example 1 with ExplainPlan

use of io.crate.planner.node.management.ExplainPlan in project crate by crate.

the class ExplainPlannerTest method testExplain.

@Test
public void testExplain() throws Exception {
    for (String statement : EXPLAIN_TEST_STATEMENTS) {
        ExplainPlan plan = e.plan("explain " + statement);
        assertNotNull(plan);
        assertNotNull(plan.subPlan());
    }
}
Also used : ExplainPlan(io.crate.planner.node.management.ExplainPlan) Test(org.junit.Test) CrateUnitTest(io.crate.test.integration.CrateUnitTest)

Aggregations

ExplainPlan (io.crate.planner.node.management.ExplainPlan)1 CrateUnitTest (io.crate.test.integration.CrateUnitTest)1 Test (org.junit.Test)1