set_default
Action
The set_default
action is used to set a default value for a column as part of the ALTER
SQL command.
Input Parameters
There is a single msgpack
serialized parameter passed to the action.
// The base class for all alter parameters.
struct AirportAlterBase
{
//! Catalog name to alter
std::string catalog;
//! Schema name to alter
std::string schema;
//! Entry name to alter
std::string name;
bool ignore_not_found;
};
struct AirportAlterTableSetDefaultParameters : AirportAlterBase
{
std::string column_name;
std::string expression;
(catalog, schema, name, column_name, expression);
MSGPACK_DEFINE_MAP};
Return Value
The action does not return a value, but should raise a Arrow Flight exception if there is an error.