}
private void verify(String query) throws RecognitionException, ParsingFailureException, IOException {
LogicalPlan plan = validate( query );
System.out.println( "Plan after setter: " + plan.toString() );
new AllExpressionVisitor( plan, new DependencyOrderWalker( plan ) ) {
@Override
protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan exprPlan) throws FrontendException {
return new LogicalExpressionVisitor( exprPlan, new DependencyOrderWalker( exprPlan ) ) {
@Override
public void visit(ProjectExpression expr) throws FrontendException {
Assert.assertTrue( null == expr.getColAlias() );
Assert.assertTrue( expr.getColNum() >= -1 );
}