Operations functions in the Airport DuckDB extension
Function category
Operations
2 functionsExecute work against an Arrow Flight server. Stream the result of a specific ticket inline (airport_take_flight) or invoke a server-defined Action for non-query operations (airport_action).
Signature
2 overloaded forms · click to inspectArguments
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
location
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
action_name
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
auth_token
|
Type
VARCHAR
|
Mode Named | Description |
Argument
secret
|
Type
VARCHAR
|
Mode Named | Description |
Argument
headers
|
Type
MAP(VARCHAR, VARCHAR)
|
Mode Named | Description |
Arguments
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
location
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
action_name
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
parameter
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
auth_token
|
Type
VARCHAR
|
Mode Named | Description |
Argument
secret
|
Type
VARCHAR
|
Mode Named | Description |
Argument
headers
|
Type
MAP(VARCHAR, VARCHAR)
|
Mode Named | Description |
Description
Invokes a custom Flight Action on the server (the Arrow Flight RPC for non-query operations). Used for server-defined commands like refresh, snapshot, or stored-procedure calls.
1
Example 1
SELECT * FROM airport_action('grpc://localhost:8815', 'my_action');
Signature
2 overloaded forms · click to inspectArguments
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
table_pointer
|
Type
POINTER
|
Mode Positional | Description |
Argument
table_entry_pointer
|
Type
POINTER
|
Mode Positional | Description |
Argument
transaction_id
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
auth_token
|
Type
VARCHAR
|
Mode Named | Description |
Argument
secret
|
Type
VARCHAR
|
Mode Named | Description |
Argument
at_unit
|
Type
VARCHAR
|
Mode Named | Description |
Argument
at_value
|
Type
ANY
|
Mode Named | Description |
Arguments
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
location
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
descriptor
|
Type
ANY
|
Mode Positional | Description |
Argument
auth_token
|
Type
VARCHAR
|
Mode Named | Description |
Argument
secret
|
Type
VARCHAR
|
Mode Named | Description |
Argument
ticket
|
Type
BLOB
|
Mode Named | Description |
Argument
headers
|
Type
MAP(VARCHAR, VARCHAR)
|
Mode Named | Description |
Argument
at_unit
|
Type
VARCHAR
|
Mode Named | Description |
Argument
at_value
|
Type
ANY
|
Mode Named | Description |
Description
Fetches the result of a specific Arrow Flight ticket as a DuckDB table. Use when you have a known flight descriptor and want to stream its results inline.