sas_singlestore_log
Retrieve the SingleStore statements a SAS run executed between two epoch timestamps from MV_PLANCACHE, showing the SQL sent by PROC SQL, FedSQL, DATA step, or CAS.
Instructions
The SingleStore side of a SAS run: the statements the cluster's aggregators ran between started_at and
ended_at (the run's epoch seconds), from MV_PLANCACHE - what SAS (PROC SQL, FedSQL, DATA step, CAS) really
sent, whatever library it used. The plan cache keeps totals per plan, so rows and ms are per run on average;
literals show as ^; another session's identical statement in the same seconds would show too.
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": {
"started_at": "<started_at>",
"ended_at": "<ended_at>"
},
"name": "sas_singlestore_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended_at | Yes | ||
| started_at | Yes |