@Override public RESULT visitCreateTable(CONTEXT context, LogicalPlan plan, LogicalPlan.QueryBlock block, CreateTableNode node, Stack<LogicalNode> stack) throws TajoException { RESULT result = null; stack.push(node); if (node.hasSubQuery()) { result = visit(context, plan, block, node.getChild(), stack); } stack.pop(); return result; }
@Override public RESULT visitCreateTable(CONTEXT context, LogicalPlan plan, LogicalPlan.QueryBlock block, CreateTableNode node, Stack<LogicalNode> stack) throws TajoException { RESULT result = null; stack.push(node); if (node.hasSubQuery()) { result = visit(context, plan, block, node.getChild(), stack); } stack.pop(); return result; }
@Override public LogicalNode visitCreateTable(Context context, LogicalPlan plan, LogicalPlan.QueryBlock block, CreateTableNode node, Stack<LogicalNode> stack) throws TajoException { super.visitCreateTable(context, plan, block, node, stack); // here, we don't need check table existence because this check is performed in PreLogicalPlanVerifier. if (node.hasSubQuery()) { ensureDomains(context.state, node.getLogicalSchema(), node.getChild(0).getOutSchema()); } return node; }
@Override public LogicalNode visitCreateTable(Context context, LogicalPlan plan, LogicalPlan.QueryBlock block, CreateTableNode node, Stack<LogicalNode> stack) throws TajoException { super.visitCreateTable(context, plan, block, node, stack); // here, we don't need check table existence because this check is performed in PreLogicalPlanVerifier. if (node.hasSubQuery()) { ensureDomains(context.state, node.getLogicalSchema(), node.getChild(0).getOutSchema()); } return node; }