Skip to content

Commit

Permalink
run_udf: Simplified and clarified the schema for data - no functi…
Browse files Browse the repository at this point in the history
…onal change. #515
  • Loading branch information
m-mohr committed Jul 26, 2024
1 parent 47b45d4 commit 831b09b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `filter_spatial`: Clarified that masking is applied using the given geometries. [#469](https://github.com/Open-EO/openeo-processes/issues/469)
- `mod`: Clarified behavior for y = 0
- `sqrt`: Clarified that NaN is returned for negative numbers.
- `run_udf`: Simplified and clarified the schema for `data` - no functional change.

## [2.0.0-rc.1] - 2023-05-25

Expand Down
19 changes: 4 additions & 15 deletions proposals/run_udf_externally.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,10 @@
"parameters": [
{
"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."
}
]
"description": "The data to be passed to the UDF.\n\nThe data must be given in a way that the UDF can understand it. Usually, `run_udf` is executed as part of a data cube process such as `reduce_dimension` and in this case the process would expect an array of values as provided in the parameter `data` by `reduce_dimension`. Please refer to the documentation of the UDF runtime for details on how to provide the data.",
"schema": {
"description": "A value of any data type."
}
},
{
"name": "url",
Expand Down
19 changes: 4 additions & 15 deletions run_udf.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,10 @@
"parameters": [
{
"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."
}
]
"description": "The data to be passed to the UDF.\n\nThe data must be given in a way that the UDF can understand it. Usually, `run_udf` is executed as part of a data cube process such as `reduce_dimension` and in this case the process would expect an array of values as provided in the parameter `data` by `reduce_dimension`. Please refer to the documentation of the UDF runtime for details on how to provide the data.",
"schema": {
"description": "A value of any data type."
}
},
{
"name": "udf",
Expand Down

0 comments on commit 831b09b

Please sign in to comment.