The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-8480-bf930b7a3b085da4732d21192a9ce0371baeff65 has failed. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: e267331f9a71d871269a964ffc4cb9d051d170a3 / Kary Zheng <[email protected]> feat(operator): read the whole-number parts out of a timestamp column (#8480) ### What changes were proposed in this PR? An operator that reads the year, quarter, month, day, weekday, day of year, ISO week, hour, minute or second out of a timestamp column, each added as a whole-number column of its own. Nothing here is parsed. The column is already a moment when it arrives, and which text became which moment was settled upstream, the way KNIME, Alteryx and Spark all separate parsing from extraction. The parts are read as ISO-8601 states them, because the two runtimes disagree by default: pandas counts Monday as 0, `java.time` counts it as 1. ### Any related issues, documentation, discussions? Not part of #8325: that set makes the operators Texera already had exportable. This adds a new one, which implements the trait from the start rather than gaining it. The trait is in #8327, which has merged. Closes #8478, the task this change is the whole of. Aggregate groups by a column's values, and a timestamp has a different value in almost every row, so grouping by one puts each row in its own group. Sales by month could not be asked for, though the platform carries a TIMESTAMP type, a Gantt chart and a time-series plot. ### How was this PR tested? Twelve unit tests in the operator's own spec, over the schema it declares, the values the executor reads and the Python it emits. The parity harness runs it on 13 configurations, one per field plus a hostile column name and an empty cell, comparing the engine's answer against the exported script's. The operator in the editor, reading `event_time` and asking for the year, the month and the weekday:  The three whole-number columns beside the timestamp they came from. 2024-01-15 is a Monday, 2024-07-04 a Thursday and 2025-02-09 a Sunday, reading 1, 4 and 7 as ISO-8601 states them rather than the 0, 3 and 6 pandas would give:  ### 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/44075497234 With regards, GitHub Actions via GitBox
