MaxGekk commented on PR #56317: URL: https://github.com/apache/spark/pull/56317#issuecomment-4632527967
> Also, it would be nice to add at least one complex type cast test (e.g. using array). Added in a50de21. The new `CastSuiteBase` test "SPARK-57256: cast complex types with nanosecond timestamps to string" covers `array<timestamp_ntz_nanos>` and `array<timestamp_ltz_nanos>` (with a null element to exercise the recursive `nullString` path in `ToStringBase`), plus a struct nesting both nanosecond variants. These go through the same recursive element path, confirming the nanos cases work nested inside complex types. -- 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]
