| CPC G06F 16/24544 (2019.01) [G06F 16/2456 (2019.01)] | 20 Claims |

|
1. A method comprising:
executing, by at least one processor, at least a portion of a query plan including a first pipeline and a first join operator, wherein the query plan further includes in a second pipeline a second join operator, and wherein the query plan defines at least one operator usage state and at least one operator pruning condition;
detecting, by the at least one processor and based on the at least one operator usage state and the at least one operator pruning condition, an empty state object shared between the first join operator and the second join operator in the second pipeline;
processing, by the at least one processor and based on the at least one operator pruning condition, an indication of the empty state object, wherein the at least one operator pruning condition is associated with the second join operator and includes at least a first rule to mark the second join operator for pruning; and
marking, by the at least one processor, the second join operator for pruning.
|