TECHNICAL FIELD

The present disclosure generally relates to cloud computing, more specifically to compilation of inline code from User-Defined Functions (UDF) in a secure environment.

BACKGROUND

Cloud-based data warehouses and other cloud database systems or data platforms sometimes provide support for user-defined functions that enable such systems to perform operations that are not available through the built-in, system-defined functions. However, for mitigating security risks, security mechanisms to ensure that user code running on such systems remain isolated are used.

Some programs execute on multi-tenant cloud environments, and their programs include user-defined functions (UDFs). To provide security, the programs are executed in safe environments, isolated from other tenants. However, if the UDFs are defined in other programming languages, they are typically compiled at a different location. This makes using UDFs in other programming languages difficult and time consuming.

