apache / apache/texera

Run a Python operator the way the engine runs it

Open
#8,409 0 comments 0 reactions 1 assignee Claimed by @kz930 View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### Task Summary

A Python operator is not called; it is handed to an interpreter that imports the generated module and drives it through the same open, process and close the engine uses. This step adds `PyOpExecHarness`, which writes that module, starts the driver, and reads back what the operator emitted.

The driver is the engine's side of the contract written out plainly. It is what makes the answer this side produces the engine's answer rather than an approximation of it.

Step 4 of 27 in #8325. It stands on its own: it touches no code from the export itself.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.