The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-8358-2e98e44ed9945982250c1cdc66dbb792c10cd5ed has succeeded. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 191f1f7a0d3e52acd3a6fd0a942aff8898f0b76d / Kary Zheng <[email protected]> test(verify): run the script the export produces (#8358) ### What changes were proposed in this PR? The other side of the comparison. `StandaloneRunner` writes the script the operator's generator emits, binds its inputs to the files the fixture wrote, runs it, and reads the frames it leaves behind. The script is kept where it ran, so an operator whose two answers differ can be opened as generated rather than described second-hand. A DOUBLE column holds four values a float64 frame cannot tell apart: NaN, both infinities and -0.0, beside a null. The script writes each the way the engine's writer does, where `to_json` wrote the first three as null and -0.0 as 0.0. An input column holding a real NaN reaches the script as `Float64`, which is what a source reading one hands over, and any other DOUBLE column as `float64`, as before. A Python operator's inputs go through the same adapter the translator applies, so the run checks the script a real export writes. A TIMESTAMP column with a year outside pandas' nanosecond window is read cell by cell, then made `datetime64[us]` when no value carries a digit past the microsecond, as an exported upstream hands it on. A column with nanoseconds stays of object dtype. `HarnessSpec` covers all three pieces on one operator whose answer is short enough to state in full. It can also run the whole script the export writes for a plan, and write each leaf the same way, so a workflow-level comparison reads the script's answer with the same comparator. ### Any related issues, documentation, discussions? Part of #8325, 5 of 27; that issue lists the set in order. It does not compile until #8357 lands: that entry's build.sbt change puts workflow-operator's test sources on this module's test classpath, and `StandaloneRunner` reuses the `PythonWorkerPool` that lives there. It also needs #8341, whose source-naming API the runner calls to bind each source's file. It also needs #8597, whose `standaloneInputAdapter` the runner applies to a Python operator's inputs. Closes #8410, the task this change is the whole of. ### How was this PR tested? The tests in this change cover it. The whole set is exercised together once the last piece lands: every operator run through the engine and through its generated script, and the two answers compared. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 5) --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/44238781784 With regards, GitHub Actions via GitBox
