The GitHub Actions job "Required Checks" on 
texera.git/feat/standalone-base-transforms has failed.
Run started by GitHub user kz930 (triggered by kz930).

Head commit for run:
8a8a7d0ce69422f6bf970ec2b528fc42c22bb23f / kary zheng <[email protected]>
fix(operator): cast a column the way AttributeTypeUtils does

Python's own conversions answer differently on the values a column holds.
`bool("false")` is true, because every non-empty string is, so a script cast
"false" and "0" to true where the run it was exported from read both as false.
The numeric casts had the same shape from the other side: coercing turned
"6.7" into the integer 6 and "abc" into NaN, where the engine refuses both and
stops.

`StandaloneHelpers.AttributeCasts` transcribes `parseField`'s three numeric
and boolean arms, refusal included: a value the engine will not read now ends
the script rather than writing a number the workflow never produced.

A timestamp stays approximate and says so. The engine reads it through
DateParserUtils, whose accepted formats no single pandas call states.

The new test runs the generated Python over "true", "false", "0", "1", text
that is neither, and an empty cell, and compares each answer against
`AttributeTypeUtils.parseField` rather than against a hard-coded list, so the
two sides cannot drift apart quietly.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to