create_schema

Function create_schema 

Source
pub async fn create_schema(
    table_ref: &TableReference,
    schema: &SchemaRef,
    table_create_options: &CreateOptions,
    pool: &ClickHouseConnectionPool,
    if_not_exists: bool,
) -> Result<()>
Expand description

Create a table in the remote ClickHouse instance.

ยงErrors

  • Returns an error if the ClickHouse endpoint is unreachable
  • Returns an error if the ClickHouse schema fails to be created