carloea2 opened a new issue, #9337:
URL: https://github.com/apache/texera/issues/9337
### Feature Summary
Java UDFs cannot declare parameters whose values users edit in the workflow
UI. Add Java support to the existing UI parameter model and editor.
### Proposed Solution or Design
Declare parameters on fields of `JavaUDFOpExec`, for example
`@UiParameter("count") private int count;`. Infer the parameter type from the
Java field type; a string resource selector can use
`@UiParameter(value="model", resource="model")`.
Reuse the shared metadata validation, type manifest, parameter editor,
synchronization, and execution-time resource binding. Keep Java syntax parsing
separate. Compile validated values into field initializers so each executor has
its own values available during construction. Preserve Java UDFs without
parameters.
Verify declaration and value contracts, invalid input, resource binding, and
actual Java compilation and tuple execution.
### Affected Area
Workflow Engine (Amber), Workflow UI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]