pub async fn create_table(
configuration: &Configuration,
id: &str,
body: Vec<u8>,
delimiter: Option<&str>,
mode: Option<&str>,
x_lance_table_location: Option<&str>,
x_lance_table_properties: Option<&str>,
) -> Result<CreateTableResponse, Error<CreateTableError>>
Expand description
Create table id
in the namespace with the given data in Arrow IPC stream. The schema of the Arrow IPC stream is used as the table schema. If the stream is empty, the API creates a new empty table. REST NAMESPACE ONLY REST namespace uses Arrow IPC stream as the request body. It passes in the CreateTableRequest
information in the following way: - id
: pass through path parameter of the same name - mode
: pass through query parameter of the same name - location
: pass through header x-lance-table-location
- properties
: pass through header x-lance-table-properties