Results of 1 - 4 of about 4 for callbacks (0.001 sec.)
- Security 11576
- 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
...n callback, quack_nop_authorization , returns the query text unchanged for every query. No further filtering happens. Both callbacks can be replaced with user-supplied code, including plain SQL macros. See the examples below. The Callback Contract Two set...extension, or SQL macros. Authentication takes (VARCHAR, VARCHAR, VARCHAR) , authorization takes (VARCHAR, VARCHAR) . The callbacks run in a fresh, transient server-side connection . That means they can read tables, call other UDFs, and reference extensi...ver-side connection, so Python UDFs are not visible at dispatch time and cannot be used as authentication or authorization callbacks. Register the function via a DuckDB extension to make it globally visible. Example: Read-Only Queriers A self-contained ex... - https://man.mtool.work/duckdb/2.0/quack/security.html
- Write User Defined Functions 10503
- 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
..., 3, 4); NULL Handling By default, a scalar function is called for every input row, including rows that contain SQL NULL : Callbacks that take Object arguments ( Function , BiFunction , and the varargs form) receive null for a NULL input and may return nu...ll to produce a NULL result. The primitive callbacks ( withIntFunction() , withLongFunction() , and withDoubleFunction() ) are never handed a null . When DuckDB passes a NULL...y skip the call and return NULL whenever an argument is NULL . The engine does not always take this shortcut, so an object callback should still check its arguments for null . Volatile Functions DuckDB may treat a scalar function as deterministic and cach... - https://man.mtool.work/duckdb/2.0/clients/java/functions.html
- Write User Defined Functions 7563
- Overview The Rust client can register user-defined functions written in Rust: scalar functions with the vscalar feature and table functions with the vtab feature. Both operate on DuckDB's columnar data chunks, so a single call processes a b
...VTab trait, registered with register_table_function() and queried like any other table. VTab splits the work across three callbacks: bind runs once when the statement is prepared. It declares the result columns with add_result_column() and reads the call... - https://man.mtool.work/duckdb/2.0/clients/rust/functions.html
- Reference 7304
- This page lists the functions, settings, and log types exposed by the quack extension . For a tour of the protocol, start with the Overview . Function Reference Server Management Function Description quack_serve(⟨listen_uri⟩, ...) Start a s
...lar DuckDB session / global options. Set with SET ⟨name⟩ = ⟨value⟩ or SET GLOBAL . Authentication / Authorization The auth callbacks are evaluated on a fresh server-side connection every time, so the two settings below are global-scoped ( SET GLOBAL ). A... - https://man.mtool.work/duckdb/2.0/quack/reference.html
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work