-
公开(公告)号:US20240256531A1
公开(公告)日:2024-08-01
申请号:US18161475
申请日:2023-01-30
Applicant: Databricks, Inc.
IPC: G06F16/242 , G06F16/22 , G06F21/60
CPC classification number: G06F16/2448 , G06F16/2255 , G06F16/2291 , G06F21/602
Abstract: A system executes user defined functions (UDFs) invoked by database queries. The UDF includes UDF code specified using a programing language distinct from a database query language. A hash value from the UDF code provided by a client application for creating the UDF is compared with a hash value generated from UDF code invoked by database queries to determine whether the two UDF codes match. If the two hash values fail to match, the system takes an action, for example, storing an indication of UDF code mismatch or disabling subsequent executions of the database queries invoking the UDF. The system may use encoded UDF code that is decoded by the system at runtime using a key obtained from a separate system such as the client application. The client application can disable execution of database queries executing the UDF code by refusing to provide the key.