carloea2 opened a new pull request, #5912:
URL: https://github.com/apache/texera/pull/5912

   ### What changes were proposed in this PR?
   
   This PR wires Python UDF UI parameters into operator execution end to end.
   
   It introduces:
   
   | Area | Change |
   | --- | --- |
   | Python UDF operator descriptors | Adds `uiParameters` to tuple, 
dual-input, and source Python UDF operators. |
   | Runtime injection | Injects selected UI parameter values into Python UDF 
code before creating the physical operator. |
   | Frontend sync | Keeps active `self.UiParameter(...)` calls in sync with 
the operator property model from the code editor. |
   | Property editor UI | Renders inferred Python UDF UI parameters through the 
`ui-udf-parameters` property field. |
   | UDF templates | Adds commented usage notes for supported `UiParameter` 
types to Python UDF templates. |
   | Windows runtime compatibility | Escapes Python worker startup-config JSON 
when launching Python from Java on Windows. |
   | Test coverage | Adds Scala coverage for Windows startup-config argv 
escaping. |
   
   This PR is stacked after #5603 and completes the end-to-end UI parameter 
integration.
   
   ### Any related issues, documentation, discussions?
   
   Part of the Python UDF UI parameter feature split from `feat/ui-parameter`.
   
   Related tracking issue / stack: #5044
   
   Stack order:
   
   1. Frontend UI parameter building blocks: #5043
   2. Scala backend injection model: #5141
   3. Python runtime support: #5603
   4. End-to-end integration: this PR
   
   ### How was this PR tested?
   
   Commands run:
   
   ```bash
   sbt --no-server scalafmtAll scalafixAll
   sbt --no-server scalafmtCheckAll "scalafixAll --check"
   
   cd amber
   ruff check src/main/python src/test/python
   ruff format --check src/main/python src/test/python
   cd ..
   
   sbt --no-server "WorkflowExecutionService / Test / testOnly 
org.apache.texera.amber.engine.architecture.pythonworker.PythonWorkflowWorkerStartupConfigSpec"


-- 
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]

Reply via email to