Results of 1 - 3 of about 3 for UDFs (0.001 sec.)
- Security 11886
- This page covers Quack's security posture end to end: what the server exposes, what stays local, the role of a TLS-terminating reverse proxy, and the authentication / authorization callbacks the server runs on every connection and every que
...e query unchanged). Anything resolvable as a function with the matching arity will work: built-in scalar functions, scalar UDFs registered by another extension, or SQL macros. Authentication takes (VARCHAR, VARCHAR, VARCHAR) , authorization takes (VA...R, VARCHAR) . The callbacks run in a fresh, transient server-side connection . That means they can read tables, call other UDFs, and reference extensions, but each invocation starts a new session and cannot rely on session-local state. Authentication...the extension is loaded, point quack_authentication_function or quack_authorization_function at the function name. Python UDFs registered through con.create_function are scoped to the connection that created them. Quack invokes each callback on a fr... - https://man.mtool.work/duckdb/2.0/quack/security.html
- Python Function API 8315
- You can create a DuckDB user-defined function (UDF) from a Python function so it can be used in SQL queries. Similarly to regular functions , they need to have a name, a return type and parameter types. Creating Functions To register a Pyth
...+ 1 con = duckdb.connect() con.create_function("add_one", add_one) print(con.sql("SELECT add_one(41)").fetchall()) [(42,)] UDFs need NumPy. Without the numpy package, create_function raises InvalidInputException: 'numpy' is required for this operatio...con.create_function("lookup", lookup) print(con.sql("SELECT lookup(1)").fetchall()) [(42,)] Using Partial Functions DuckDB UDFs can also be created with Python partial functions . The arguments the partial function fixes are not parameters of the UDF... - https://man.mtool.work/duckdb/2.0/clients/python/function.html
- Write User Defined Functions 7664
- Overview The JDBC driver can register user-defined functions (UDFs) written in Java, including scalar functions and table functions. This page covers building and registering both, from the simple functional-interface overloads to the vecto
...cale) sets an explicit DECIMAL precision and scale. Composite types such as LIST and STRUCT are not currently supported in UDFs. Support for them is planned for a future release. Further Reading Handle Results — the DuckDBDataChunkReader API used to... - https://man.mtool.work/duckdb/2.0/clients/java/functions.html
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work