IP Library › Granted Patent US 12,554,711
Granted Patent B2
US 12,554,711 · App. 18/589,670 · Granted Feb 17, 2026

Pipeline query transformation system

Inventors: Lin Luo (Carp, CA); Yong Wang (Pointe Claire, CA); Laszlo Toeroek (Toronto, CA); Boris Kuschel (Gatineau, CA); Ian Fraser Watts (Stouffville, CA)
Assignee: International Business Machines Corporation
G06F16/24534G06Q10/067
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,554,711
App. No.
18/589,670
Granted
Feb 17, 2026
Kind
B2
Abstract

Computer-implemented methods for a pipeline query transformation system are disclosed herein. Aspects include validating an input query of business logic in a pipeline query language using a pipeline dialect by a pipeline processor of a pipeline query transformation system. Aspects also include parsing the input query into pipeline operators. Aspects further include processing the pipeline operators using the pipeline dialect by the pipeline processor. Aspects include generating a query context by processing the pipeline operators. Aspects also include generating an SQL query from the query context.

Claims (91)

1 . A computer-implemented method comprising:

receiving an input query in a pipeline query language;

receiving, from an external configuration file that defines at least one customized transformation query rule supplied by a user;

detecting a pipeline dialect of the input query;

validating the input query using the pipeline dialect by a pipeline processor of a pipeline query transformation system;

parsing the input query into pipeline operators;

processing the pipeline operators using the pipeline dialect by the pipeline processor;

generating a query context for each of the pipeline operators;

generating an SQL query from the query context of each of the pipeline operators;

applying the at least one customized transformation query rule to at least one pipeline operator to generate customized SQL operators, wherein the customized SQL operators are added to the query context and used in generating the SQL query; and

executing the SQL query, wherein the SQL query is SQL representation of the input query.

2 . The computer-implemented method of claim 1 , wherein processing the pipeline operators comprises:

determining that a pipeline operator of the pipeline operators is a data source;

initializing the query context; and

in response to determining the pipeline operator has a source argument, transforming the source argument to a new query context by invoking a new pipeline processor.

3 . The computer-implemented method of claim 1 , wherein processing the pipeline operators comprises:

determining that a pipeline operator of the pipeline operators is a query context producer;

generating SQL operators from the pipeline operator;

generating a new query context comprising the query context and the SQL operators embedded as sources; and

replacing the query context with the new query context.

4 . The computer-implemented method of claim 1 , wherein processing the pipeline operators comprises:

determining that a pipeline operator of the pipeline operators is a query context decorator;

generating SQL operators from the pipeline operator; and

modifying the query context using the SQL operators.

5 . The computer-implemented method of claim 1 , further comprising:

generating customized SQL operators for a pipeline operator of the pipeline operators using a customized transformation query rule; and

adding the customized SQL operators to the query context.

6 . The computer-implemented method of claim 1 , further comprising:

selecting the pipeline dialect for the pipeline processor.

7 . The computer-implemented method of claim 1 , wherein the query context is a query representation that produces a tabular data output when executed.

8 . A system comprising:

a non-transitory memory having computer readable instructions; and

one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:

receiving an input query in a pipeline query language;

receiving, from an external configuration file that defines at least one customized transformation query rule supplied by a user,

detecting a pipeline dialect of the input query;

validating the input query using the pipeline dialect by a pipeline processor of a pipeline query transformation system;

parsing the input query into pipeline operators;

processing the pipeline operators using the pipeline dialect by the pipeline processor;

generating a query context for each of the pipeline operators;

generating an SQL query from the query context of each of the pipeline operators;

applying the at least one customized transformation query rule to at least one pipeline operator to generate customized SQL operators, wherein the customized SQL operators are added to the query context and used in generating the SQL query; and

executing the SQL query, wherein the SQL query is SQL representation of the input query.

9 . The system of claim 8 , wherein the operations to process the pipeline operators further comprise:

determining that a pipeline operator of the pipeline operators is a data source;

initializing the query context; and

in response to determining the pipeline operator has a source argument, transforming the source argument to a new query context by invoking a new pipeline processor.

10 . The system of claim 8 , wherein the operations to process the pipeline operators further comprise:

determining that a pipeline operator of the pipeline operators is a query context producer;

generating SQL operators from the pipeline operator;

generating a new query context comprising the query context and the SQL operators embedded as sources; and

replacing the query context with the new query context.

11 . The system of claim 8 , wherein the operations to process the pipeline operators further comprise:

determining that a pipeline operator of the pipeline operators is a query context decorator;

generating SQL operators from the pipeline operator; and

modifying the query context using the SQL operators.

12 . The system of claim 8 , wherein the operations further comprise:

generating customized SQL operators for a pipeline operator of the pipeline operators using a customized transformation query rule; and

adding the customized SQL operators to the query context.

13 . The system of claim 8 , wherein the operations further comprise:

selecting the pipeline dialect for the pipeline processor.

14 . The system of claim 8 , wherein the query context is a query representation that produces a tabular data output when executed.

15 . A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:

receiving an input query in a pipeline query language;

receiving, from an external configuration file that defines at least one customized transformation query rule supplied by a user;

detecting a pipeline dialect of the input query;

validating the input query using the pipeline dialect by a pipeline processor of a pipeline query transformation system;

parsing the input query into pipeline operators;

processing the pipeline operators using the pipeline dialect by the pipeline processor;

generating a query context for each of the pipeline operators; and

generating an SQL query from the query context of each of the pipeline operators;

applying the at least one customized transformation query rule to at least one pipeline operator to generate customized SQL operators, wherein the customized SQL operators are added to the query context and used in generating the SQL query; and

executing the SQL query, wherein the SQL query is SQL representation of the input query.

16 . The computer program product of claim 15 , wherein the operations to process the pipeline operators further comprise:

determining that a pipeline operator of the pipeline operators is a data source;

initializing the query context; and

in response to determining the pipeline operator has a source argument, transforming the source argument to a new query context by invoking a new pipeline processor.

17 . The computer program product of claim 15 , wherein the operations to process the pipeline operators further comprise:

determining that a pipeline operator of the pipeline operators is a query context producer;

generating SQL operators from the pipeline operator;

generating a new query context comprising the query context and the SQL operators embedded as sources; and

replacing the query context with the new query context.

18 . The computer program product of claim 15 , wherein the operations to process the pipeline operators further comprise:

determining that a pipeline operator of the pipeline operators is a query context decorator;

generating SQL operators from the pipeline operator; and

modifying the query context using the SQL operators.

19 . The computer program product of claim 15 , wherein the operations further comprise:

generating customized SQL operators for a pipeline operator of the pipeline operators using a customized transformation query rule; and

adding the customized SQL operators to the query context.

20 . The computer program product of claim 15 , wherein the operations further comprise:

selecting the pipeline dialect for the pipeline processor.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 29, 2024
From: LUO, LIN; WANG, YONG; TOEROEK, LASZLO; KUSCHEL, BORIS; WATTS, IAN FRASER
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 066597/0014 →
Continuity (1)
Related Publication 20250272284A1 · Aug 28, 2025
References Cited (27)
US 5664173A · Fast · 1997 [cited by applicant]
US 5909678A · Bergman et al. · 1999 [cited by applicant]
US 7831614B2 · Deffler · 2010 [cited by applicant]
US 8140558B2 · Kiefer et al. · 2012 [cited by applicant]
US 8972433B2 · Mclean et al. · 2015 [cited by applicant]
US 10318398B2 · Rickard et al. · 2019 [cited by applicant]
US 11550783B2 · Lee et al. · 2023 [cited by applicant]
US 11727007B1 · Kulkarni · 2023 [cited by examiner]
US 12265528B1 · Lan · 2025 [cited by examiner]
US 12346315B1 · Zhang · 2025 [cited by examiner]
US 20040078359A1 · Bolognese et al. · 2004 [cited by applicant]
US 20140280259A1 · McGillin · 2014 [cited by examiner]
US 20220244929A1 · Skvortsov · 2022 [cited by applicant]
US 20220358127A1 · Talluri · 2022 [cited by examiner]
US 20230004563A1 · Zhang et al. · 2023 [cited by applicant]
US 20230078177A1 · Wang et al. · 2023 [cited by applicant]
US 20230325441A1 · Krishnaprasad · 2023 [cited by examiner]
US 20240045863A1 · Rafidi · 2024 [cited by examiner]
US 20250200039A1 · Billa · 2025 [cited by examiner]
CN 101464862A · 2009 [cited by applicant]
CN 108027833B · 2022 [cited by applicant]
EP 2369502A2 · 2011 [cited by applicant]
JP 2009503678A · 2009 [cited by applicant]
ClickHouse, “Kusto phase 1 #37961”, https://github.com/ClickHouse/ClickHouse/pull/37961,(Retrieved: Jan. 25, 2024), 7 pages. [cited by applicant]
ClickHouse, “Support Kusto Query Language dialect—phase 2 #42510”, https://github.com/ClickHouse/ClickHouse/pull/42510, (Retrieved: Jan. 25, 2024), 25 pages. [cited by applicant]
IBM Newsroom, “IBM Unveils Cloud-Native SIEM Built to Maximize Security Teams' Time and Talent”, https://newsroom.ibm.com/2023-11-07-IBM-Unveils-Cloud-Native-SIEM-Built-to-Maximize-Security-Teams-Time-and-Talent, (Retri… [cited by applicant]
IBM Security QRadar, “Empowering today's modern SOC with enterprise-grade AI”, https://www.ibm.com/products/qradar-cloud-native-siem, (Retrieved: Feb. 27, 2024), 9 pages. Grace Period Disclosure under 35 U.S.C. § 102(b)… [cited by applicant]