The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 16, 2024

Filed:

Jun. 13, 2023
Applicant:

Thoughtspot, Inc., Mountain View, CA (US);

Inventors:

Ashok Anand, Bengaluru, IN;

Ambareesh Sreekumaran Nair Jayakumari, Cupertino, CA (US);

Prateek Gaur, San Jose, CA (US);

Donko Donjerkovic, San Mateo, CA (US);

Assignee:

ThoughtSpot, Inc., Mountain View, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/2455 (2019.01); G06F 16/22 (2019.01); G06F 16/248 (2019.01); G06F 16/27 (2019.01);
U.S. Cl.
CPC ...
G06F 16/24556 (2019.01); G06F 16/2282 (2019.01); G06F 16/248 (2019.01); G06F 16/27 (2019.01);
Abstract

Query planning in a distributed database that includes a table partitioned into shards according to a sharding criterion and distributed to database instances includes receiving a data-query. The data-query includes a 'distinct count' clause on a first column and a “group by” clause on least a second column. A query plan is formulated to include respective instructions for converting, at at least some of the database instances, distinct values of the first column grouped by values of the second column into a count of the distinct values grouped by the values of the second column to obtain respective intermediate results; instructions for receiving the respective intermediate results from at least a subset of the at least some of the database instances; and instructions for concatenating the respective intermediate results using a summing operation to obtain the first “distinct count” of the first column grouped by the second column.


Find Patent Forward Citations

Loading…