fix insert .. select pushdown

naisila/user_arb_config
onderkalaci 2023-04-28 14:21:24 +03:00 committed by naisila
parent 51a3c8548b
commit fc454535be
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ RouterModifyTaskForShardInterval(Query *originalQuery,
* Note that this is only the case with PG14 as the parameter doesn't exist
* prior to that.
*/
shardRestrictionList = make_simple_restrictinfo(NULL,
shardRestrictionList = make_simple_restrictinfo(restriction->plannerInfo,
(Expr *) shardOpExpressions);
extendedBaseRestrictInfo = lappend(extendedBaseRestrictInfo,
shardRestrictionList);