-
公开(公告)号:US12135715B1
公开(公告)日:2024-11-05
申请号:US18309490
申请日:2023-04-28
Applicant: Snowflake Inc.
Inventor: Xuelai Cui , Prashant Gaharwar , Vineet Garg , Boyung Lee , Kevin Ye Jie Li , Nicola Dan Onose , Andrew Xue , Jiaqi Yan
IPC: G06F16/30 , G06F11/34 , G06F16/2452 , G06F16/2453
Abstract: The subject technology receives a query, the query including a statement for performing the query. The subject technology performs a first lookup operation on a multi-phase cache based on the query. The subject technology performs, in response to a first cache miss of the multi-phase cache, parsing of the statement from the query. The subject technology performs, based on the parsing, a compilation process on the query to generate a compiled query plan, the compilation process determining an optimization and a generalization for the query. The subject technology determines that the compiled query plan is cacheable. The subject technology registers, in response to the compiled query plan being cacheable, a dummy entry in the multi-phase cache.
-
公开(公告)号:US20250021556A1
公开(公告)日:2025-01-16
申请号:US18901289
申请日:2024-09-30
Applicant: Snowflake Inc.
Inventor: Xuelai Cui , Prashant Gaharwar , Vineet Garg , Boyung Lee , Kevin Ye Jie Li , Nicola Dan Onose , Andrew Z. Xue , Jiaqi Yan
IPC: G06F16/2453 , G06F11/34 , G06F16/2452
Abstract: The subject technology receives a query, the query including a statement for performing the query. The subject technology performs a first lookup operation on a multi-phase cache based on the query. The subject technology performs, in response to a first cache miss of the multi-phase cache, parsing of the statement from the query. The subject technology performs, based on the parsing, a compilation process on the query to generate a compiled query plan, the compilation process determining an optimization and a generalization for the query. The subject technology determines that the compiled query plan is cacheable. The subject technology registers, in response to the compiled query plan being cacheable, a dummy entry in the multi-phase cache.
-
公开(公告)号:US20230350893A1
公开(公告)日:2023-11-02
申请号:US18172688
申请日:2023-02-22
Applicant: Snowflake Inc.
Inventor: Bicheng Gao , Nicola Dan Onose , Jiaqi Yan
IPC: G06F16/2453 , G06F16/23
CPC classification number: G06F16/24544 , G06F16/2365
Abstract: A source table can be provided by a provider account in a data system. A secure view of the source table is provided to one or more consumer accounts, the secure view limiting access to a subset of data in the source table. A plan to execute a command using the secure view may be generated, the plan including a secure view boundary on a subset of operations defining the secure view. The plan may be modified to move a first operation that was outside the secure view boundary to within the secure view boundary to generate a second plan to optimize performance in view of limitations or restrictions placed by the secure view.
-
公开(公告)号:US11507685B1
公开(公告)日:2022-11-22
申请号:US17586646
申请日:2022-01-27
Applicant: Snowflake Inc.
Inventor: Damien Carru , Thierry Cruanes , Subramanian Muralidhar , Nicola Dan Onose , Ryan Michael Thomas Shelly , Brian Smith , Jaeyun Noh
IPC: H04L29/06 , G06F21/62 , H04L9/40 , G06F16/245 , H04L9/32 , G06F16/248
Abstract: Techniques described herein can allow users to share cached results of an original query with other users while protecting sensitive information. The techniques described herein can check whether the other users have access to the underlying data queried before allowing those users to see the stored query results. That is, the system may perform privilege checks on the shared users before giving them access to the stored query results but without having to re-run the original query.
-
公开(公告)号:US20250103593A1
公开(公告)日:2025-03-27
申请号:US18976635
申请日:2024-12-11
Applicant: Snowflake Inc.
Inventor: Bicheng Gao , Nicola Dan Onose , Jiaqi Yan
IPC: G06F16/2453 , G06F16/23
Abstract: A source table can be provided by a provider account in a data system. A secure view of the source table is provided to one or more consumer accounts, the secure view limiting access to a subset of data in the source table. A plan to execute a command using the secure view may be generated, the plan including a secure view boundary on a subset of operations defining the secure view. The plan may be modified to move a first operation that was outside the secure view boundary to within the secure view boundary to generate a second plan to optimize performance in view of limitations or restrictions placed by the secure view.
-
公开(公告)号:US12204541B2
公开(公告)日:2025-01-21
申请号:US18172688
申请日:2023-02-22
Applicant: Snowflake Inc.
Inventor: Bicheng Gao , Nicola Dan Onose , Jiaqi Yan
IPC: G06F16/2453 , G06F16/23
Abstract: A source table can be provided by a provider account in a data system. A secure view of the source table is provided to one or more consumer accounts, the secure view limiting access to a subset of data in the source table. A plan to execute a command using the secure view may be generated, the plan including a secure view boundary on a subset of operations defining the secure view. The plan may be modified to move a first operation that was outside the secure view boundary to within the secure view boundary to generate a second plan to optimize performance in view of limitations or restrictions placed by the secure view.
-
公开(公告)号:US20240362222A1
公开(公告)日:2024-10-31
申请号:US18309490
申请日:2023-04-28
Applicant: Snowflake Inc.
Inventor: Xuelai Cui , Prashant Gaharwar , Vineet Garg , Boyung Lee , Kevin Ye Jie Li , Nicola Dan Onose , Andrew Xue , Jiaqi Yan
IPC: G06F16/2453 , G06F11/34 , G06F16/2452
CPC classification number: G06F16/24542 , G06F11/3409 , G06F16/24528 , G06F16/24539
Abstract: The subject technology receives a query, the query including a statement for performing the query. The subject technology performs a first lookup operation on a multi-phase cache based on the query. The subject technology performs, in response to a first cache miss of the multi-phase cache, parsing of the statement from the query. The subject technology performs, based on the parsing, a compilation process on the query to generate a compiled query plan, the compilation process determining an optimization and a generalization for the query. The subject technology determines that the compiled query plan is cacheable. The subject technology registers, in response to the compiled query plan being cacheable, a dummy entry in the multi-phase cache.
-
公开(公告)号:US20230367896A1
公开(公告)日:2023-11-16
申请号:US18359360
申请日:2023-07-26
Applicant: Snowflake Inc.
Inventor: Damien Carru , Thierry Cruanes , Subramanian Muralidhar , Nicola Dan Onose , Ryan Michael Thomas Shelly , Brian Smith , Jaeyun Noh
IPC: G06F21/62 , G06F16/248 , H04L9/32 , H04L9/40 , G06F16/245
CPC classification number: G06F21/6227 , G06F16/248 , H04L9/3213 , H04L63/102 , H04L63/105 , G06F16/245
Abstract: Techniques described herein can allow users to share cached results of an original query with other users while protecting sensitive information. The techniques described herein can check whether the other users have access to the underlying data queried before allowing those users to see the stored query results. That is, the system may perform privilege checks on the shared users before giving them access to the stored query results but without having to re-run the original query.
-
公开(公告)号:US12277117B1
公开(公告)日:2025-04-15
申请号:US18649537
申请日:2024-04-29
Applicant: Snowflake Inc.
Inventor: Karan Chadha , Prashant Gaharwar , Shrainik Jain , Nicola Dan Onose , Jiaqi Yan
IPC: G06F16/24 , G06F11/34 , G06F16/2453
Abstract: The subject technology receives a query, the query including a statement for performing the query. The subject technology performs a lookup operation on a stored plan cache based on the query. The subject technology performs, in response to a cache match of the query to a stored query plan in the stored plan cache based on the lookup operation, a validation process of the stored query plan. The subject technology determines whether the stored query plan is valid based on the validation process. The subject technology performs, in response to determining that the stored query plan is valid, a program building process for the stored query plan to generate a final query plan. The subject technology sends the final query plan to an execution node for execution.
-
公开(公告)号:US12235985B2
公开(公告)日:2025-02-25
申请号:US18359360
申请日:2023-07-26
Applicant: Snowflake Inc.
Inventor: Damien Carru , Thierry Cruanes , Subramanian Muralidhar , Nicola Dan Onose , Ryan Michael Thomas Shelly , Brian Smith , Jaeyun Noh
IPC: G06F21/00 , G06F16/245 , G06F16/248 , G06F21/62 , H04L9/32 , H04L9/40
Abstract: Techniques described herein can allow users to share cached results of an original query with other users while protecting sensitive information. The techniques described herein can check whether the other users have access to the underlying data queried before allowing those users to see the stored query results. That is, the system may perform privilege checks on the shared users before giving them access to the stored query results but without having to re-run the original query.
-
-
-
-
-
-
-
-
-