carloea2 opened a new pull request, #8321: URL: https://github.com/apache/texera/pull/8321
### What changes were proposed in this PR? Add a small `pytexera.workflow` runtime for generated Python UDFs. It provides: - Cloudpickle encoding for selected Python values, including aliases and cycles; - explicit field-presence tracking; - boundary import and export helpers; - tuple-operator adapters used by generated UDF modules. Cloudpickle payloads are internal workflow data. Deserialization remains inside Python UDF workers that already execute user-provided Python code; this API must not be used as a safe decoder for untrusted bytes. ### Any related issues, documentation, discussions? Related to #8319 and discussion #8160. ### How was this PR tested? ```powershell python -m pytest amber/src/test/python/pytexera/workflow/test_codec.py amber/src/test/python/pytexera/workflow/test_operators.py amber/src/test/python/pytexera/workflow/test_runtime.py -q ``` Result: 22 passed. The tests cover round trips, aliases, cycles, missing fields, malformed envelopes, boundary routing, and operator behavior. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: OpenAI Codex (GPT-5) -- 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]
