drop_table Action
Implement the drop_table DoAction to support DROP TABLE statements for deleting tables from your Arrow Flight server database.
The drop_table action deletes an existing table from the database. This action is invoked when executing a DROP TABLE SQL statement.
SQL Example
DROP TABLE example.main.employees;
DROP TABLE IF EXISTS example.main.temp_data;Input Parameters
The action receives a single msgpack-serialized parameter:
struct DropItemActionParameters
{
std::string type;
std::string catalog_name;
std::string schema_name;
std::string name;
bool ignore_not_found;
MSGPACK_DEFINE_MAP(type, catalog_name, schema_name, name, ignore_not_found)
};The type field of the parameters will be set to the value table.
Return Value
The action does not return a value. If an error occurs, the server must raise an Arrow Flight exception with an appropriate error message.