MANAGING CONTINUOUS QUERIES IN THE PRESENCE OF SUBQUERIES
First Claim
1. A system, comprising:
- a memory storing a plurality of instructions; and
one or more processors configured to access the memory, wherein the one or more processors are further configured to execute the plurality of instructions to at least;
identify a continuous query including at least a subquery;
process the subquery to obtain a logical plan; and
process the continuous query based at least in part on merging a continuous query plan with the logical plan to obtain a result.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for managing continuous queries that include subqueries are provided. In some examples, a continuous query that includes at least a subquery may be identified. Additionally, the subquery may be processed to obtain a first result or generate a logical subquery plan. Further, in some instances, the continuous query may then be processed based at least in part on the first result from the subquery or by merging a logical continuous query plan with the logical subquery plan. This may result in obtaining a second result via querying a data source with the continuous query that is based at least in part on the first result from the subquery and/or the merged plans.
68 Citations
20 Claims
-
1. A system, comprising:
-
a memory storing a plurality of instructions; and one or more processors configured to access the memory, wherein the one or more processors are further configured to execute the plurality of instructions to at least; identify a continuous query including at least a subquery; process the subquery to obtain a logical plan; and process the continuous query based at least in part on merging a continuous query plan with the logical plan to obtain a result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable memory storing a plurality of instructions executable by one or more processors, the plurality of instructions comprising:
-
instructions that cause the one or more processors to receive a continuous query statement with at least one nested subquery statement from a user associated with business event data; instructions that cause the one or more processors to process the at least one nested subquery statement to obtain at least a logical subquery plan corresponding to the business event data; and instructions that cause the one or more processors to process the continuous query based at least in part on merging a continuous query plan with the logical subquery plan to obtain at least a second result corresponding to the business event data. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer-implemented method, comprising:
-
receiving a continuous query statement from a user associated with business event data; determining whether the continuous query includes one or more continuous subqueries; and when the continuous query includes one or more continuous subqueries; processing the continuous subquery to obtain a set of first results based at least in part on implementing a clause of the continuous subquery on a stream associated with the business event data of the user; and processing the continuous query by utilizing at least a subset of the set of first results to obtain second results based at least in part on implementing a clause of the continuous query on the stream associated with the business event data of the user. - View Dependent Claims (19, 20)
-
-
17. The computer-implemented method of 16, further comprising not instantiating an operator of the continuous query when it relies on a dimension table until a time after receiving an indication that data in the dimension table has changed.
-
18. The computer-implemented method of 16, further comprising loading less than all of the set of first results in memory.
Specification