Execution and attestation of user defined functions in databases
AssigneeDatabricks, Inc.
InventorsMartin Grund, Herman Rudolf Petrus Catharina van Hövell tot Westerflier, Stefania Leone
Life of this patent
Estimating the term…
Loading patent…
AssigneeDatabricks, Inc.
InventorsMartin Grund, Herman Rudolf Petrus Catharina van Hövell tot Westerflier, Stefania Leone
Estimating the term…
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.
A computer-implemented method for executing user defined functions in database systems, the computer-implemented method comprising:
A non-transitory computer readable storage medium comprising stored instructions for executing user defined functions in database systems that when executed by one or more computer processors cause the one or more computer processors to:
A computer system comprising:
Dependencies are inferred from the claim text.