Skip to main content
Source

pub async fn create_schema( &self, schema_name: String, ) -> Result<CreateSchemaResponse, KineticaError>

Create a SQL-style schema.

Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.

  • schema_name - Name of the schema to be created. Has the same naming restrictions as tables.

Create a SQL-style schema.

Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.

  • schema_name - Name of the schema to be created. Has the same naming restrictions as tables.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built CreateSchemaRequest to the /create/schema endpoint.

Sends a pre-built CreateSchemaRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.