@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; }
} else if (this.plan.getType() == NodeType.CREATE_TABLE) { CreateTableNode createTable = (CreateTableNode) plan; int idx = createTable.getLogicalSchema().getColumnId(column.getQualifiedName()); keyIds[i] = idx; } else {
} else if (this.plan.getType() == NodeType.CREATE_TABLE) { CreateTableNode createTable = (CreateTableNode) plan; int idx = createTable.getLogicalSchema().getColumnId(column.getQualifiedName()); keyIds[i] = idx; } else {