Open
Description
Process ID: run_udf
Describe the issue:
Run UDF has the following definition for data
:
{
"name": "data",
"description": "The data to be passed to the UDF.",
"schema": [
{
"title": "Array",
"type": "array",
"minItems": 1,
"items": {
"description": "Any data type."
}
},
{
"title": "Single Value",
"description": "A single value of any data type."
}
]
}
Why does it explicitly define an array type? The way the second schema is defined, both apply for an array. So it's equivalent to:
{
"name": "data",
"description": "The data to be passed to the UDF.",
"schema": {
"title": "Single Value",
"description": "A single value of any data type."
}
}
Can someone remember why this is the way it is? @soxofaan maybe?
Proposed solution:
Simplify the schema?