split_make
A split by kind, sizes and seed, its test partition sealed.
Flags
| Flag | Value |
|---|---|
| Kind | construct: makes a value from values |
| Rows | one result, not a table |
| Deterministic | yes |
| Order matters | no |
| Decomposable | no |
| Makes | a split value |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
table |
reference | yes | A value's reference. |
response_format |
"concise" | "detailed" | no | The byte budget: 64 KiB concise, 512 KiB detailed. |
Example
Over the example tables reg; ${input:name} is an input's reference and ${verb} the value an earlier call made.
split_make {
"table": "${input:reg}",
"kind": "random",
"seed": 9
}Result
a split of 300 rows
{
"ref": "sha256:b92692c8639d8538bc1bbb576ff6387f87ff27bdd9c1d9ee42ce3446a39607f1",
"kind": "split"
}Diagnostics
A refusal comes back as ok: false with coded diagnostics; every code, with its fix, is on the diagnostics page. A parameter that does not match the schema above is ARG_INVALID, with the parameter's path.