FINE-GRAINED ACCESS CONTROL VIA DATABASE ROLES
    382.
    发明公开

    公开(公告)号:US20230195922A1

    公开(公告)日:2023-06-22

    申请号:US18109191

    申请日:2023-02-13

    Applicant: Snowflake Inc.

    CPC classification number: G06F21/6218 G06F16/256 G06F16/21 G06F2221/2141

    Abstract: Embodiments of the present disclosure relate to sharing database roles using hidden roles. A database role may be generated within a database container having a plurality of data objects, wherein the database role exists exclusively within the database container. A set of grants to a particular subset of the plurality of data objects of the database container may be assigned to the database role and the database role may be granted to the share object. The share object is mounted within a consumer account to generate an imported database container within the consumer account, the imported database container including an imported copy of the database role. The imported copy of the database role may be granted to each of one or more account level roles of the consumer account to share the particular subset of the plurality of data objects without creating proxy objects in the consumer account that represent the particular subset of the plurality of data objects.

    Tracking lineage of database data
    386.
    发明授权

    公开(公告)号:US11645262B2

    公开(公告)日:2023-05-09

    申请号:US17162790

    申请日:2021-01-29

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/2358 G06F16/2455 G06F16/278

    Abstract: The subject technology executes a change on an existing micro-partition of a table of a database, the executing of the change comprising generating a new micro-partition that embodies the change. The subject technology receives a request for a delta for the table between a first timestamp and a second timestamp. The subject technology queries at least one change tracking column to determine the delta between the first timestamp and the second timestamp, the delta including information indicating at least one database operation that was performed to at least one row of a set of rows of the table, without including information as to intermediate changes made to at least one row of the set of rows of the table between the first timestamp and the second timestamp, that facilitates a reduction in storage of historical versions of the set of rows of the table.

    Automated query retry in a database system

    公开(公告)号:US11599440B2

    公开(公告)日:2023-03-07

    申请号:US17663253

    申请日:2022-05-13

    Applicant: Snowflake Inc.

    Abstract: Techniques for automated query retry in a database platform include assigning by at least one hardware processor a first execution of a query directed to database data to a first execution node of a plurality of execution nodes of an execution platform. The first execution node uses a first set of configurations during the first execution. The techniques further include determining that the first execution of the query by the first execution node results in a failed execution. The query is transferred to a second execution node of the plurality of execution nodes. A second execution of the query at the second execution node is caused. The second execution node uses a second set of configurations during the second execution. A cause of the failed execution at the first execution node is determined based on a result of the second execution of the query at the second execution node.

    INCREMENTAL REFRESH OF A MATERIALIZED VIEW

    公开(公告)号:US20230004552A1

    公开(公告)日:2023-01-05

    申请号:US17930177

    申请日:2022-09-07

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for incrementally refreshing a materialized view are disclosed. A method includes generating a materialized view based on a source table. The method includes merging the source table and the materialized view to generate a merged table to identify whether an update has been executed on the source table that is not reflected in the materialized view. The method includes, in response to detecting an update made to the source table that is not reflected in the materialized view, applying the update to the materialized view.

    Scheduling data processing tasks using a stream of tracking entries

    公开(公告)号:US11507570B2

    公开(公告)日:2022-11-22

    申请号:US17650890

    申请日:2022-02-14

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for scheduling of data processing tasks are disclosed. A method includes performing a modification on a first set of immutable partitions storing database data to generate a second set of immutable partitions. The second set is associated with a modified version of the database data. A change tracking entry is entered in a stream of tracking entries based on committing the modification. The change tracking entry includes an indication of the modification on the first set of immutable partitions. A stream offset of the stream of tracking entries is advanced based on the entering of the change tracking entry in the stream of tracking entries. The stream offset indicates a timestamp associated with a latest committed modification to the database data. A data processing task is scheduled for execution on the modified version of the database data based on the advancing of the stream offset.

Patent Agency Ranking