set_not_null Action

This set_not_null action is used to add a NOT NULL constraint on a column in a table. It is sent 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 AirportAlterTableSetNotNullParameters : AirportAlterBase
{
  std::string column_name;

  MSGPACK_DEFINE_MAP(catalog, schema, name, column_name);
};

Return Value

The action does not return a value, but should raise a Arrow Flight exception if there is an error.