| CPC G06F 8/44 (2013.01) [G06F 9/547 (2013.01); G06F 16/245 (2019.01); G06F 16/2455 (2019.01); G06F 21/53 (2013.01); G06F 21/602 (2013.01); G06F 21/606 (2013.01)] | 15 Claims |

|
1. A method comprising:
receiving, by a cloud processing system operating using a first programming language, a query referencing a user defined function (UDF) including a body with a code portion in a second programming language;
generating a query plan to execute the query, the query plan including at least one function associated with the UDF;
transmitting the query plan to a processing node;
providing a worker process of the processing node and providing a separate UDF server in the processing node, the UDF server and the worker process being associated with separate processors of the processing node;
transmitting the code portion of the UDF from the worker process to the UDF server via a remote call protocol, the UDF server being restricted from accessing select data accessible by the worker process;
compiling the code portion of the UDF to generate compiled results in a language-specific integration operating on the UDF server, the UDF server operating using the first programming language and the language-specific integration operating in the second programming language; and
transmitting the compiled results from the UDF server to the worker process via the remote call protocol,
generating a response to the query based on the compiled results.
|