| CPC G06F 16/24545 (2019.01) | 20 Claims |

|
1. A system, comprising:
at least one data processor; and
at least one memory storing instructions which, when executed by the at least one data processor, cause operations comprising:
generating a query plan including at least one pipeline of operators;
determining whether the at least one pipeline of operators includes a first operator that requires a complete result set as an input and further includes a second operator that supports providing the complete result set using a state identified by a state reference;
in response to determining the at least one pipeline of operators includes the first operator that requires the complete result set as the input and further includes the second operator that supports providing the complete result set using the state identified by the state reference, bypassing in the query plan pipelining between the first operator and the second operator; and
in response to determining the second operator does not support providing the complete result set using the state identified by the state reference, continuing to use, in the at least one pipeline, one or more chunks to exchange data, during execution of the query plan, between the first operator and the second operator.
|