mirror of https://github.com/citusdata/citus.git
Add bool expression to pruning instance with a function
parent
e8b793c454
commit
7e436c0277
|
@ -469,20 +469,7 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
|
||||||
*/
|
*/
|
||||||
foreach(opCell, boolExpr->args)
|
foreach(opCell, boolExpr->args)
|
||||||
{
|
{
|
||||||
PendingPruningInstance *instance =
|
AddNewConjuction(context, lfirst(opCell));
|
||||||
palloc0(sizeof(PendingPruningInstance));
|
|
||||||
|
|
||||||
instance->instance = context->currentPruningInstance;
|
|
||||||
instance->continueAt = lfirst(opCell);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Signal that this instance is not to be used for pruning on
|
|
||||||
* its own. Once the pending instance is processed, it'll be
|
|
||||||
* used.
|
|
||||||
*/
|
|
||||||
instance->instance->isPartial = true;
|
|
||||||
|
|
||||||
context->pendingInstances = lappend(context->pendingInstances, instance);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue