Query generation based on merger of subqueries

Systems and methods for query generation based on merger of subqueries are described. For example, methods may include accessing a first join graph representing tables in a database, wherein the first join graph has vertices corresponding to respective tables in the database and directed edges corre...

Full description

Saved in:
Bibliographic Details
Main Authors Bansal, Archit, Kothari, Rakesh, Shah, Naman
Format Patent
LanguageEnglish
Published 23.04.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Systems and methods for query generation based on merger of subqueries are described. For example, methods may include accessing a first join graph representing tables in a database, wherein the first join graph has vertices corresponding to respective tables in the database and directed edges corresponding to join relationships; receiving a first query specification that references data in two or more of the tables of the database to specify multiple subqueries in a set of subqueries; checking that two or more subqueries from the set of subqueries have the same join graph; checking that the two or more subqueries have the same set of grouping columns; responsive, at least in part, to the two or more subqueries having the same join graph and the same set of grouping columns, merging the two or more subqueries to obtain a consolidated query.
Bibliography:Application Number: US202217861640