create_schema Action
Implement the create_schema DoAction to support CREATE SCHEMA statements in your Arrow Flight server database.
The create_schema action creates a new schema in the database. This action is invoked when executing a CREATE SCHEMA SQL statement.
SQL Example
CREATE SCHEMA example.analytics;
CREATE SCHEMA example.staging;Input Parameters
The action receives a single msgpack-serialized parameter:
struct AirportCreateSchemaParameters
{
string catalog_name;
string schema;
std::optional<string> comment;
unordered_map<string, string> tags;
MSGPACK_DEFINE_MAP(catalog_name, schema, comment, tags)
};Return Value
The Arrow Flight server must respond with a single msgpack-serialized message containing an AirportSerializedContentsWithSHA256Hash structure as described in the list_schemas action.