System and method of query transformation
First Claim
Patent Images
1. A group query transformation system for transforming structured query language group query windowed aggregates, the system comprising:
- a group query analysis module for analyzing one or more structured query language (SQL)/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system; and
a group query transformation module for transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system.
4 Assignments
0 Petitions
Accused Products
Abstract
A group query transformation system for Transforming structured query language group query windowed aggregates is provided. The group query transformation system comprises a group query analysis module for analyzing one or more structured query language (SQL)/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system, and a group query transformation module for transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system.
46 Citations
10 Claims
-
1. A group query transformation system for transforming structured query language group query windowed aggregates, the system comprising:
-
a group query analysis module for analyzing one or more structured query language (SQL)/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system; and
a group query transformation module for transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system.
-
-
2. A method of transforming structured query language (SQL) group query windowed aggregates, the method comprising the steps of;
-
analyzing one or more SQL/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system; and
transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system. - View Dependent Claims (3, 4, 5, 6)
-
-
7. A method of group query transformation, the method comprising the steps of:
-
determining if a detailed table is required;
traversing an aggregate list and assigning a group index to each aggregate based on the location of a control break in a control break list;
determining a derail table Tn;
traversing the control break list and for each control break in the control break list;
adding all columns in the control break to a select list of a derived table; and
for each column in the control break, constructing a join condition of the form Tn.Cj-T1.Cj OR (Tn.Cj IS NULL AND Ti.Cj IS NULL);
traversing the select list and analyzing each expression and performing a specific action based on the type of expression encountered; and
constructing a final query.
-
-
8. A computer data signal embodied in a carrier wave and representing sequences of instructions which, when executed by a processor, cause the processor to perform a method of transforming structured query language (SQL) group query windowed aggregates, the method comprising the steps of:
-
analyzing one or more SQL/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system; and
transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system.
-
-
9. A computer-readable medium having computer readable code embodied therein for use in the execution in a computer of a method of transforming structured query language (SQL) group query windowed aggregates, the method comprising the steps of:
-
analyzing one or more SQL/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system; and
transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system.
-
-
10. A computer program product for use in the execution in a computer of a group query transformation system for transforming structured query language (SQL) group windowed aggregates, the computer program product comprising:
-
a group query analysis module for analyzing one or more SQL/on-line analytical programming (OLAP) windowed aggregates that are not supported by a target database system; and
a group query transformation module for transforming the one or more SQL/OLAP windowed aggregates into semantically equivalent standard aggregate functions that are supported by the target database system.
-
Specification