TRANSLATION OF STREAMING QUERIES INTO SQL QUERIES
First Claim
1. A computer-implemented method for processing a streaming language query of a data stream log stored in a file system, comprising:
- translating the streaming language query into a database management system query; and
evaluating the database management system query against the data stream log to obtain query results.
2 Assignments
0 Petitions
Accused Products
Abstract
A query translation system and method for processing a streaming language query on existing or stored data. The streaming language query is applied against a data stream log by first translating the streaming language query into a database management system query (such as a SQL query) and then applying the translated streaming language query against the data stream log. Embodiments of the query translation system and method include a bitemporal converter that converts a bitemporal data stream log into a canonical history table format. Once in this format, embodiments of the query translation system and method translate a streaming language query into a SQL query. A categorization of each of the streaming operators that make up the streaming language query is performed to determine which translation technique to use. In general, one of three general translation techniques is used based on these categorizations of the streaming operators.
103 Citations
20 Claims
-
1. A computer-implemented method for processing a streaming language query of a data stream log stored in a file system, comprising:
-
translating the streaming language query into a database management system query; and evaluating the database management system query against the data stream log to obtain query results. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for translating a streaming language query into a structured query language (SQL) query, comprising:
-
input the streaming language query; defining the streaming language query as a composition of streaming operators; categorizing each of the streaming operators in the composition; translating each of the streaming operators in the composition separately using a translation technique selected based on the categorization; if the streaming operator is categorized as a SQL-like operator, then translating the streaming operator using a SQL-like operator translation technique; if the streaming operator is categorized as a snapshot-oriented operator, then translating the streaming operator using a snapshot-oriented operator translation technique; if the streaming operator is categorized as a GROUP&
APPLY operator, then translating the streaming operator using a GROUP&
APPLY operator translation technique;composing translation results of the translation of each of the streaming operators to generate a SQL query; and output the SQL query that is a translation of the streaming language query. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A process for applying a structured query language (SQL) query to a data stream log, comprising:
-
generating a streaming language query for the data stream log; defining the streaming language query as a composition of streaming operators; categorizing each of the streaming operators as one of;
(a) a SQL-like operator;
(b) a snapshot-oriented operator;
(c) a GROUP&
APPLY operator;translating each of the streaming operators in the composition separately into a corresponding SQL operator using a translation technique selected based on the categorization of the streaming operator; composing translation results obtained from the translation of each of the streaming operators to generate the SQL query; and applying the translated streaming language query as the SQL query to the data stream log to obtain a query results log. - View Dependent Claims (19, 20)
-
Specification