Drop Schema

Drop schemas from Airport-attached databases using standard SQL DROP SCHEMA statements with Arrow Flight server validation.

The Airport extension supports dropping schemas from attached databases. The Arrow Flight server determines whether the schema drop request is permitted.

Example

For a DuckDB session to drop a schema, a standard SQL DROP SCHEMA statement is executed in a schema that is managed by the Airport extension.

-- Attach an Airport database
ATTACH 'example' (TYPE AIRPORT, location 'grpc://localhost:50312/');

DROP SCHEMA example.main;

Arrow Flight Server Implementation Notes

The Airport extension will perform a DoAction Arrow Flight RPC with a method name of drop_schema.