Back to results
US 12,182,130 B2Granted
Optimized processing of data in different formats
AssigneeSnowflake Inc.
InventorsTyler Arthur Akidau, Thierry Cruanes, Istvan Cseri, Benoit Dageville, Tyler Jones, Dinesh Chandrakant Kulkarni
Life of this patent
Estimating the term…
Abstract
Hybrid tables can be used in different use-case scenarios. Hybrid tables provide a flexible mechanism to support files and data in different formats while providing access to the different types of data as part of one table. This flexibility can allow the use of hybrid tables in data lake or other similar environments.
Claims18
A method comprising:
- storing a first set of data in a first format for a hybrid table in a first cloud storage location;
- storing a second set of data in a second format for the hybrid table in a second cloud storage location;
- storing a copy of a first subset of the first set of data in the second cloud storage location in the second format, wherein the first subset of the first set of data in the first format is maintained in the first cloud storage location;
- providing an interface for accessing the first set of data and the second set of data;
- receiving, via the interface, a query referencing the first set of data and the second set of data;
- determining that the query references a second set subset of the first set of data not copied in the second storage location;
- converting the second subset of the first set of data from the first format into a common format;
- joining the second subset of data referenced in the query and the second subset of the first set of data in the common format;
- executing the query based on the joined data;
- classifying the first subset of the first set of data as low-value data;
- in response to classifying the first subset of the first set of data as low-value data, deleting the copy of the first subset of the first set of data in the second cloud storage location in the second format;
- and
- updating metadata of the hybrid table based on deleting the copy of the first subset of the first set of data.
10 more elements
A machine-storage medium embodying instructions that, when executed by a machine, cause the machine to perform operations comprising:
- storing a first set of data in a first format for a hybrid table in a first cloud storage location;
- storing a second set of data in a second format for the hybrid table in a second cloud storage location;
- storing a copy of a first subset of the first set of data in the second cloud storage location in the second format, wherein the first subset of the first set of data in the first format is maintained in the first cloud storage location;
- providing an interface for accessing the first set of data and the second set of data;
- receiving, via the interface, a query referencing the first set of data and the second set of data;
- determining that the query references a second set subset of the first set of data not copied in the second storage location;
- converting the second subset of the first set of data from the first format into a common format;
- joining the second subset of data referenced in the query and the second subset of the first set of data in the common format;
- executing the query based on the joined data;
- classifying the first subset of the first set of data as low-value data;
- in response to classifying the first subset of the first set of data as low-value data, deleting the copy of the first subset of the first set of data in the second cloud storage location in the second format;
- and
- updating metadata of the hybrid table based on deleting the copy of the first subset of the first set of data.
10 more elements
A system comprising:
- at least one hardware processor;
- and
- at least one memory storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations comprising:
- storing a first set of data in a first format for a hybrid table in a first cloud storage location;
- storing a second set of data in a second format for the hybrid table in a second cloud storage location;
- storing a copy of a first subset of the first set of data in the second cloud storage location in the second format, wherein the first subset of the first set of data in the first format is maintained in the first cloud storage location;
- providing an interface for accessing the first set of data and the second set of data;
- receiving, via the interface, a query referencing the first set of data and the second set of data;
- determining that the query references a second set subset of the first set of data not copied in the second storage location;
- converting the second subset of the first set of data from the first format into a common format;
- joining the second subset of data referenced in the query and the second subset of the first set of data in the common format;
- executing the query based on the joined data;
- classifying the first subset of the first set of data as low-value data;
- in response to classifying the first subset of the first set of data as low-value data, deleting the copy of the first subset of the first set of data in the second cloud storage location in the second format;
- and
- updating metadata of the hybrid table based on deleting the copy of the first subset of the first set of data.
13 more elements
Dependencies are inferred from the claim text.