create_schema Action

This create_schema action is used to create a schema in a database as part of the CREATE SCHEMA SQL command.

Input Parameters

There is a single msgpack serialized parameter passed to the action.

struct AirportCreateSchemaParameters
{
  string catalog_name;
  string schema;

  std::optional<string> comment;
  unordered_map<string, string> tags;

  MSGPACK_DEFINE_MAP(catalog_name, schema, comment, tags)
};

Output Result

The Arrow Flight server responds with a single msgpack-serialized message containing a AirportSerializedContentsWithSHA256Hash as describe in the list_schemas RPC.