Skip to main content
Source

pub async fn export_records_to_table( &self, table_name: String, remote_query: String, ) -> Result<ExportRecordsToTableResponse, KineticaError>

Exports records from source table to the specified target table in an external database

Exports records from source table to the specified target table in an external database.

  • table_name - Name of the table from which the data will be exported to remote database, in [schema_name.]table_name format, using standard name resolution rules.
  • remote_query - Parameterized insert query to export gpudb table data into remote database.

Exports records from source table to the specified target table in an external database

Exports records from source table to the specified target table in an external database.

  • table_name - Name of the table from which the data will be exported to remote database, in [schema_name.]table_name format, using standard name resolution rules.
  • remote_query - Parameterized insert query to export gpudb table data into remote database.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built ExportRecordsToTableRequest to the /export/records/totable endpoint.

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