Append a table
Appends content to the table from a secondary CAS table.
Name | Type | Required | Description |
---|---|---|---|
caslibName | string | true | The name of the Caslib containing the target table. |
serverName | string | true | Server name for which the tables are being accessed. |
tableName | string | true | Table name of the target table. |
Name | Type | Required | Description |
---|---|---|---|
sessionId | string | false | Session ID (used when a session-specific table is being accessed). |
Inputs when appending to a CAS table, including information about the source table.
Name | Type | Required | Description |
---|---|---|---|
sourceCaslibName | string | false | Name of the input caslib containing the table specified by sourceTableName. If not specified, defaults to the caslib name of the target table from the URL. |
sourceTableName | string | false | Name of the input table containing the rows to be appended. |
singlePass | boolean | false | If true, CAS will avoid creating a transient table for the source table on the server. While this can be efficient, the data might not have stable ordering upon repeated runs. Defaults to false. |
filter | string | false | If specified, the filter to be applied to records from the source table. This allows a subset of the source table records to be appended to the target table. If omitted, all source table records will be appended. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The table was appended successfully. | ||
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The requested CAS server or Caslib does not exist. | ||
409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. Details are included in the response body. |