MaxGekk commented on PR #56317:
URL: https://github.com/apache/spark/pull/56317#issuecomment-4635084819

   @uros-b Now that #56320 (SPARK-57257, `HiveResult` support) is merged, I 
rebased onto it and added end-to-end golden-file coverage in `cast.sql` (so it 
runs in both ANSI and, via `--IMPORT`, non-ANSI). The new `CAST(... AS STRING)` 
cases cover precision flooring (7/8/9), trailing-zero trimming, 
`nanosWithinMicro` boundaries (`.000000999`, sub-precision floored to `0`), 
pre-1970 negative-epoch values (`1960-...`), complex types with a nested `NULL` 
(`array`/`map`/`struct`), a top-level `NULL`, and use in a real string context 
(`concat`). Every result column is `STRING` (the nanos type is only 
intermediate), so no `ThriftServerQueryTestSuite` ignore entry is needed, and 
the nanos preview flag is already on by default under tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to