Discovery functions in the Airport DuckDB extension
Function category
Discovery
2 functionsEnumerate what an Arrow Flight server exposes — its databases, its flights (each with a schema and metadata). Use these before ATTACH to figure out what's available.
Signature
airport_databases(server_location: ANY) → None
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
server_location
|
Type
ANY
|
Mode Positional | Description |
Description
Lists databases exposed by the Arrow Flight server identified by the given secret. Used to enumerate what's available before attaching.
Signature
2 overloaded forms · click to inspectArguments
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
col0
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
secret
|
Type
VARCHAR
|
Mode Named | Description |
Argument
auth_token
|
Type
VARCHAR
|
Mode Named | Description |
Arguments
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
col0
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
col1
|
Type
VARCHAR
|
Mode Positional | Description |
Argument
auth_token
|
Type
VARCHAR
|
Mode Named | Description |
Argument
secret
|
Type
VARCHAR
|
Mode Named | Description |
Description
Lists the flight descriptors offered by an Arrow Flight server, with their schemas and metadata. The starting point for ad-hoc querying without ATTACH.