table_points
A table as a points table for kernel Points: x, y, z point columns, an id and numeric attributes.
Flags
| Flag | Value |
|---|---|
| Kind | construct: makes a value from values |
| Rows | keeps the rows |
| Deterministic | yes |
| Order matters | no |
| Decomposable | yes |
| Makes | a table value |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
table |
reference | yes | A value's reference. |
x |
string | no | |
y |
string | no | |
z |
string | no | |
id |
string | no | |
response_format |
"concise" | "detailed" | no | The byte budget: 64 KiB concise, 512 KiB detailed. |
Example
Over the example tables multi; ${input:name} is an input's reference and ${verb} the value an earlier call made.
table_points {
"table": "${input:multi}",
"x": "f0",
"y": "f1",
"z": "f2"
}Result
450 points
{
"ref": "sha256:b75733e5e8f8912bbbffbf1004c2048c16c749ca08fdb3f2e12fcbc58ec818aa",
"kind": "table",
"rows": 450,
"schema": {
"fields": [
{
"name": "x",
"type": {
"kind": "float64"
},
"nullable": false,
"metadata": {
"hint.point.axis": "x",
"hint.semantic": "point"
}
},
{
"name": "y",
"type": {
"kind": "float64"
},
"nullable": false,
"metadata": {
"hint.point.axis": "y",
"hint.semantic": "point"
}
},
{
"name": "z",
"type": {
"kind": "float64"
},
"nullable": false,
"metadata": {
"hint.point.axis": "z",
"hint.semantic": "point"
}
},
{
"name": "label",
"type": {
"kind": "int64"
},
"nullable": false,
"metadata": {}
}
],
"metadata": {}
},
"dropped": []
}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.