Processing queries containing a union-type operation
First Claim
1. A computer-implemented method of generating a computer program based on an SQL query, including:
- receiving a SQL query, including a reference to a first data set stored at a first data source, and including a reference to a second data set stored at a second data source different from the first data source;
determining that the SQL query includes two or more commands, the commands including a first union-type operation, and a first aggregation operation, anddetermining that the SQL query describes that the first union-type operation shall be applied to at least a portion of data from the first data set, and applied to at least a portion of data from the second data set;
determining that the SQL query describes that the first aggregation operation shall be applied to data resulting from the first union-type operation;
generating, on a first system, a computer program based on the SQL query, the generating includinggenerating at least a first module of the computer program representing a second system, the first module configured for;
transmitting instructions that direct a second system to perform a second aggregation operation on a portion of data from the first data set, andreceiving, from the second system, a particular data set that is a summary of the portion of data from the first data set; and
generating at least a second module of the computer program configured for;
receiving output originating from the first module, andperforming a second union-type operation on the particular data set and a summary of a portion of data from the second data set.
3 Assignments
0 Petitions
Accused Products
Abstract
Among other things, a method of generating a computer program based on an SQL query includes receiving a SQL query, including a reference to a first data set stored at a first data source, and including a reference to a second data set stored at a second data source different from the first data source, determining that the SQL query includes two or more commands, the commands including a first union-type operation, and a first aggregation operation, and determining that the SQL query describes that the first union-type operation shall be applied to at least a portion of data from the first data set, and applied to at least a portion of data from the second data set, determining that the SQL query describes that the first aggregation operation shall be applied to data resulting from the first union-type operation, and generating the computer program.
-
Citations
44 Claims
-
1. A computer-implemented method of generating a computer program based on an SQL query, including:
-
receiving a SQL query, including a reference to a first data set stored at a first data source, and including a reference to a second data set stored at a second data source different from the first data source; determining that the SQL query includes two or more commands, the commands including a first union-type operation, and a first aggregation operation, and determining that the SQL query describes that the first union-type operation shall be applied to at least a portion of data from the first data set, and applied to at least a portion of data from the second data set; determining that the SQL query describes that the first aggregation operation shall be applied to data resulting from the first union-type operation; generating, on a first system, a computer program based on the SQL query, the generating including generating at least a first module of the computer program representing a second system, the first module configured for; transmitting instructions that direct a second system to perform a second aggregation operation on a portion of data from the first data set, and receiving, from the second system, a particular data set that is a summary of the portion of data from the first data set; and generating at least a second module of the computer program configured for; receiving output originating from the first module, and performing a second union-type operation on the particular data set and a summary of a portion of data from the second data set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A system for generating a computer program based on an SQL query, including:
-
one or more processors configured for; receiving a SQL query, including a reference to a first data set stored at a first data source, and including a reference to a second data set stored at a second data source different from the first data source; determining that the SQL query includes two or more commands, the commands including a first union-type operation, and a first aggregation operation, and determining that the SQL query describes that the first union-type operation shall be applied to at least a portion of data from the first data set, and applied to at least a portion of data from the second data set; determining that the SQL query describes that the first aggregation operation shall be applied to data resulting from the first union-type operation; generating, on a first system, a computer program based on the SQL query, the generating including generating at least a first module of the computer program representing a second system, the first module configured for; transmitting instructions that direct a second system to perform a second aggregation operation on a portion of data from the first data set, and receiving, from the second system, a particular data set that is a summary of the portion of data from the first data set; and generating at least a second module of the computer program configured for; receiving output originating from the first module, and performing a second union-type operation on the particular data set and a summary of a portion of data from the second data set. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. A non-transitory computer-readable medium storing executable code that, when executed, causes a computer system to carry out operations for generating a computer program based on an SQL query, including:
-
receiving a SQL query, including a reference to a first data set stored at a first data source, and including a reference to a second data set stored at a second data source different from the first data source; determining that the SQL query includes two or more commands, the commands including a first union-type operation, and a first aggregation operation, and determining that the SQL query describes that the first union-type operation shall be applied to at least a portion of data from the first data set, and applied to at least a portion of data from the second data set; determining that the SQL query describes that the first aggregation operation shall be applied to data resulting from the first union-type operation; generating, on a first system, a computer program based on the SQL query, the generating including generating at least a first module of the computer program representing a second system, the first module configured for; transmitting instructions that direct a second system to perform a second aggregation operation on a portion of data from the first data set, and receiving, from the second system, a particular data set that is a summary of the portion of data from the first data set; and generating at least a second module of the computer program configured for; receiving output originating from the first module, and performing a second union-type operation on the particular data set and a summary of a portion of data from the second data set. - View Dependent Claims (31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
-
-
44. A system for generating a computer program based on an SQL query, including:
-
means for receiving a SQL query, including a reference to a first data set stored at a first data source, and including a reference to a second data set stored at a second data source different from the first data source; means for determining that the SQL query includes two or more commands, the commands including a first union-type operation, and a first aggregation operation, and means for determining that the SQL query describes that the first union-type operation shall be applied to at least a portion of data from the first data set, and applied to at least a portion of data from the second data set; means for determining that the SQL query describes that the first aggregation operation shall be applied to data resulting from the first union-type operation; means for generating, on a first system, a computer program based on the SQL query, the generating including generating at least a first module of the computer program representing a second system, the first module configured for; transmitting instructions that direct a second system to perform a second aggregation operation on a portion of data from the first data set, and receiving, from the second system, a particular data set that is a summary of the portion of data from the first data set; and generating at least a second module of the computer program configured for; receiving output originating from the first module, and performing a second union-type operation on the particular data set and a summary of a portion of data from the second data set.
-
Specification