Fine-grained access control via database roles

    公开(公告)号:US11366920B1

    公开(公告)日:2022-06-21

    申请号:US17464538

    申请日:2021-09-01

    Applicant: Snowflake Inc.

    Abstract: Embodiments of the present disclosure provide systems and methods for defining database roles to allow sharing of the objects within a database in a more granular fashion. A database role is created within a database, and privileges are granted to the database role by a provider account. The database role may be granted to a share object, which would result in the share object being indirectly granted all privileges that have been granted to the database role. Once the share object has been hydrated in the consumer account, the local administrator can then decide which local roles are granted usage on the shared database role, thus ultimately allowing some level of filtering as to which shared objects can be accessed by which local roles.

    Cloning catalog objects
    542.
    发明授权

    公开(公告)号:US11354334B2

    公开(公告)日:2022-06-07

    申请号:US17207508

    申请日:2021-03-19

    Applicant: Snowflake Inc.

    Abstract: Example systems and methods for cloning catalog objects are described. In one implementation, a method identifies an original catalog object associated with data and creates a duplicate copy of the original catalog object without copying the data itself. The method allows access to the data using the duplicate catalog object and supports modifying the data associated with the original catalog object independently of the duplicate catalog object. The duplicate catalog object can be deleted upon completion of modifying the data associated with the original catalog object.

    Systems and methods for selective scanning of external partitions

    公开(公告)号:US11354316B2

    公开(公告)日:2022-06-07

    申请号:US17561222

    申请日:2021-12-23

    Applicant: Snowflake Inc.

    Abstract: Disclosed herein are systems and methods for selective scanning of external partitions. In an embodiment, a database platform receives a query directed at least in part to an external table stored on an external data storage platform. The external table is partitioned into partitions corresponding to storage locations in the external data storage platform. The database platform prunes, using external-table metadata that is stored by the database platform and that maps the partitions of the external table to the storage locations in the external data storage platform, those partitions that do not potentially contain data that satisfies the query. The database platform identifies data that satisfies the query by scanning any one or more of the partitions of the external table that were not pruned, and responds to the query at least in part with the identified data that satisfies the query.

    PRIVATE DATA EXCHANGE METRICS SHARING

    公开(公告)号:US20220159007A1

    公开(公告)日:2022-05-19

    申请号:US17666473

    申请日:2022-02-07

    Applicant: Snowflake Inc.

    Abstract: Providing access to metrics on a private data exchange is described. An example computer-implemented method can include executing one or more queries against data referenced by a data listing of a data exchange, the data exchange comprising a plurality of data listings provided by one or more data providers, gathering consumer information based on the one or more queries, assigning privileges that grant access to the consumer information to a share object, in response to the share object being added to a list of consumed share objects of a data provider that provided the data listing, generating a database that references the consumer information based on the share object, and granting access to the database to the data provider that provided the data listing.

    OBJECT RESOLUTION AMONG ACCOUNT-LEVEL NAMESPACES FOR DATABASE PLATFORMS

    公开(公告)号:US20220138184A1

    公开(公告)日:2022-05-05

    申请号:US17647915

    申请日:2022-01-13

    Applicant: Snowflake Inc.

    Abstract: A database platform receives an object identifier from a client in association with a database session. The client is associated with a customer account of the database platform, and the database session is associated with the client. The customer account includes multiple disjoint account-level namespaces, each of which represents a distinct context for resolution of object identifiers, such that matching object identifiers in different account-level namespaces in the customer account do not collide with respect to object-identifier resolution. The database platform determines that the object identifier does not specify an account-level namespace, and responsively resolves the object identifier with reference to a current account-level namespace of the database session by identifying an object corresponding to the object identifier in the customer account.

    Triggers of scheduled tasks in database systems

    公开(公告)号:US11308078B2

    公开(公告)日:2022-04-19

    申请号:US17389234

    申请日:2021-07-29

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for executing a task on database data in response to a trigger event are disclosed. A method includes executing a transaction on a table comprising database data, wherein executing the transaction comprises generating a new table version. The method includes, in response to the transaction being fully executed, generating a change tracking entry comprising an indication of one or more modifications made to the table by the transaction and storing the change tracking entry in a change tracking stream. The method includes executing a task on the new table version in response to a trigger event.

Patent Agency Ranking