create_extract
Create a data extract job that moves data from a source dataset to a target database table, applying dimension and aggregate columns.
Instructions
Create a CDV data extract job.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"src_dataset_id": "<src_dataset_id>",
"tgt_dataconnection_id": "<tgt_dataconnection_id>",
"tgt_dbname": "<tgt_dbname>",
"tgt_tablename": "<tgt_tablename>",
"dim_data": "<dim_data>",
"agg_data": "<agg_data>"
},
"name": "create_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src_dataset_id | Yes | Source dataset ID. | |
| tgt_dataconnection_id | Yes | Target data connection ID. | |
| tgt_dbname | Yes | Target database name. | |
| tgt_tablename | Yes | Target table name. | |
| dim_data | Yes | JSON string of dimension columns, e.g. '[{"expr":"[col]","alias":"col"}]'. | |
| agg_data | Yes | JSON string of aggregate columns, e.g. '[{"expr":"sum([col])","alias":"col"}]'. | |
| partition_data | No | JSON string of partition columns for incremental refresh (default '[]'). | [] |
| schedule_id | No | Optional schedule ID to attach a job to the extract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |