Query generation based on a logical data model with one-to-one joins

Systems and methods for query generation based on a logical data model with one-to-one joins are described. For example, methods may include accessing a join graph representing tables in a database; receiving a first query; selecting a connected subgraph of the join graph that includes the two or mo...

Full description

Saved in:
Bibliographic Details
Main Authors Kothari, Rakesh, Agarwal, Vaibhav, Shah, Naman
Format Patent
LanguageEnglish
Published 12.03.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Systems and methods for query generation based on a logical data model with one-to-one joins are described. For example, methods may include accessing a join graph representing tables in a database; receiving a first query; selecting a connected subgraph of the join graph that includes the two or more tables referenced in the first query; accessing an indication that a directed edge of the connected subgraph corresponds to a one-to-one join; modifying the connected subgraph based on the indication to obtain a modified subgraph; generating one or more leaf queries based on the modified subgraph; generating a query graph that specifies joining of results from queries based on the one or more leaf queries; invoking a transformed query on the database that is based on the query graph and the queries based on the one or more leaf queries.
Bibliography:Application Number: US202016854219