The GitHub Actions job "Required Checks" on 
texera.git/feat/standalone-relational-and-sampling has succeeded.
Run started by GitHub user kz930 (triggered by kz930).

Head commit for run:
516a0661117b33e6886f51626fe3daeefec4df13 / kary zheng <[email protected]>
fix(operator): add timestamps in the zone the script runs in

A timestamp column holds a wall clock, and the engine reads one through
`Timestamp.getTime`, which answers for the instant that wall clock names in the
JVM's default zone. The generated helper read the column as if the zone were
UTC, so every epoch millisecond it added was a whole offset out. With the JVM
in America/Mexico_City, summing midnight on 2024-01-01 and 2024-01-02 gives
2078-01-01 06:00:00 where the script said midnight, and the average differed by
21600000. UTC agreed, which is why this went unseen.

The column is now localized before its integers are read and the total is
carried back through the same zone, the way `new Timestamp(long)` renders one.
The two daylight-saving flags are java.time's own readings: the later of a
repeated hour, and a skipped one shifted past the gap. Both were checked against
Java 17 in America/New_York.

The two timestamp tests that were already here read as UTC without saying so,
so they now name the zone to the child process, and a third runs the arithmetic
in a zone that is not UTC.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/35671216296

With regards,
GitHub Actions via GitBox

Reply via email to