mirror of https://github.com/citusdata/citus.git
add command execution -3
parent
acd661b715
commit
b8e42ab608
|
@ -268,6 +268,13 @@ distributed_planner(Query *parse, int cursorOptions, ParamListInfo boundParams)
|
|||
* restriction information per table and parse tree transformations made by
|
||||
* postgres' planner.
|
||||
*/
|
||||
|
||||
RangeTblEntry *subqueryRte = ExtractSelectRangeTableEntry(planContext.originalQuery);
|
||||
subqueryRte = linitial(subqueryRte->subquery->rtable);
|
||||
RangeTblEntry *valuesRte = linitial(subqueryRte->subquery->rtable);
|
||||
elog(INFO, "valuesRte: %d len: %d",valuesRte->rtekind, list_length(valuesRte->values_lists));
|
||||
|
||||
|
||||
planContext.plan = standard_planner(planContext.query,
|
||||
planContext.cursorOptions,
|
||||
planContext.boundParams);
|
||||
|
|
|
@ -322,6 +322,8 @@ DistributedInsertSelectSupported(Query *queryTree, RangeTblEntry *insertRte,
|
|||
char targetPartitionMethod = PartitionMethod(targetRelationId);
|
||||
ListCell *rangeTableCell = NULL;
|
||||
|
||||
return false;
|
||||
|
||||
/* we only do this check for INSERT ... SELECT queries */
|
||||
AssertArg(InsertSelectIntoCitusTable(queryTree));
|
||||
|
||||
|
|
Loading…
Reference in New Issue