Exports records from source table to the specified target table in an external
database.
Input Parameter Description
string
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.
string
Parameterized insert query to export gpudb table data into remote database.The default value is ”.
map of string to strings
Optional parameters.The default value is an empty map ( {} ).
Show options
Batch size, which determines how many rows to export per round trip.The default value is 200000.
Name of an existing external data sink to which table name specified in input parameter table_name will be exported.
Executes the statement per each JDBC session before doing actual load.The default value is ”.
Executes the statement once before doing actual load.The default value is ”.
Name of the target table to which source table is exported. When this option is specified remote_query cannot be specified.The default value is ”.
Wraps parameterized variables with st_geomfromtext or st_geomfromwkb based on source column type.The default value is false.The supported values are:
true
false
Uses $n style syntax when generating insert query for remote_table option.The default value is false.The supported values are:
true
false
Output Parameter Description
The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query. Here is a description of the various fields of the wrapper:
String
‘OK’ or ‘ERROR’
String
Empty if success or an error message
String
‘export_records_to_table_response’ or ‘none’ in case of an error
String
Empty string
JSON or String
This embedded JSON represents the result of the /export/records/totable endpoint:
Show data_str
string
Value of input parameter table_name.
long
Number of records inserted into the target table.
long
Number of records skipped.
long
[Not yet implemented] Number of records updated within the target table.
map of string to strings
Additional information.
Empty string in case of an error.
Assistant
Responses are generated using AI and may contain mistakes.