Iterator<PlanNode> iterator = plan.iterator();
PlanNode planNode = iterator.next();
assertThat(planNode, instanceOf(DropTableNode.class));
DropTableNode node = (DropTableNode) planNode;
assertThat(node.tableInfo().ident().name(), is("users"));
}
@Test
public void testDropPartitionedTable() throws Exception {
Plan plan = plan("drop table parted");