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:
Sep. 05, 2023

Filed:

Oct. 10, 2022
Applicant:

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

Inventors:

Ashok Anand, Bengaluru, IN;

Bhanu Prakash, Bengaluru, IN;

Tushar Marda, Jaipur, IN;

Assignee:

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

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 12/0864 (2016.01); G06F 16/901 (2019.01); G06F 9/50 (2006.01); G06F 12/02 (2006.01);
U.S. Cl.
CPC ...
G06F 12/0864 (2013.01); G06F 9/5016 (2013.01); G06F 12/023 (2013.01); G06F 16/9014 (2019.01); G06F 16/9017 (2019.01);
Abstract

Obtaining an approximate unique count for a column from a table from a database includes, generating, for a value from an unevaluated row, a hash value in a defined range of hash values, determining a cardinality of leading zeros in the hash value, identifying a bucket with respect to the hash value from a plurality of buckets corresponding to the defined range of hash values, wherein the buckets from the plurality of buckets correspond with respective non-overlapping portions of the defined range of hash values, such that the hash value is in the portion of the defined range of hash values corresponding to the bucket, and appending to an unsorted sparse representation a bucket identifier for the bucket and the cardinality of the leading zeros, and, in response to a determination that unevaluated rows are unavailable in the table, determining the approximate unique count using the unsorted sparse representation.


Find Patent Forward Citations

Loading…