- 专利标题: Query generation based on merger of subqueries
-
申请号: US17861640申请日: 2022-07-11
-
公开(公告)号: US11966395B2公开(公告)日: 2024-04-23
- 发明人: Naman Shah , Rakesh Kothari , Archit Bansal
- 申请人: ThoughtSpot, Inc.
- 申请人地址: US CA San Jose
- 专利权人: ThoughtSpot, Inc.
- 当前专利权人: ThoughtSpot, Inc.
- 当前专利权人地址: US CA Mountain View
- 代理机构: Young Basile Hanlon & MacFarlane, P.C.
- 主分类号: G06F16/2453
- IPC分类号: G06F16/2453 ; G06F16/2455 ; G06F16/248 ; G06F16/901
摘要:
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.
公开/授权文献
- US20220350803A1 Query Generation Based On Merger Of Subqueries 公开/授权日:2022-11-03
信息查询