Invention Grant
- Patent Title: Query generation based on merger of subqueries
-
Application No.: US16945735Application Date: 2020-07-31
-
Publication No.: US11409744B2Publication Date: 2022-08-09
- Inventor: Naman Shah , Rakesh Kothari , Archit Bansal
- Applicant: ThoughtSpot, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: ThoughtSpot, Inc.
- Current Assignee: ThoughtSpot, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Young Basile Hanlon & MacFarlane, P.C.
- Main IPC: G06F16/2453
- IPC: G06F16/2453 ; G06F16/2455 ; G06F16/248 ; G06F16/901

Abstract:
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.
Public/Granted literature
- US20210034625A1 Query Generation Based On Merger Of Subqueries Public/Granted day:2021-02-04
Information query