> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# create_delta_table

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/create_delta_table.rs#L19-L30)
pub async fn [create\_delta\_table](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/create-delta-table.md#method.create_delta_table)( \&self, delta\_table\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), table\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[CreateDeltaTableResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Create a table that has the changes to table\_name since the last refresh

##### Arguments

<ul>
  <li>`delta_table_name` - Name of the table to be created.</li>
  <li>`table_name` - Name of the input table whose changes will be forwared to the delta\_table\_name output.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/create_delta_table.rs#L41-L59)
pub async fn [create\_delta\_table\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/create-delta-table.md#method.create_delta_table_with_opts)( \&self, delta\_table\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), table\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), options: [CreateDeltaTableRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[CreateDeltaTableResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Create a table that has the changes to table\_name since the last refresh

##### Arguments

<ul>
  <li>`delta_table_name` - Name of the table to be created.</li>
  <li>`table_name` - Name of the input table whose changes will be forwared to the delta\_table\_name output.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/create_delta_table.rs#L62-L73)
pub async fn [create\_delta\_table\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/create-delta-table.md#method.create_delta_table_raw)( \&self, request: &[CreateDeltaTableRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[CreateDeltaTableResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`CreateDeltaTableRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableRequest) to the `/create/deltatable` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/create_delta_table.rs#L77-L89)
pub async fn [create\_delta\_table\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/create-delta-table.md#method.create_delta_table_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[CreateDeltaTableRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[CreateDeltaTableResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`CreateDeltaTableRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.CreateDeltaTableRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.