stevomitric opened a new pull request, #57966: URL: https://github.com/apache/spark/pull/57966
### What changes were proposed in this pull request? Add an end-to-end test to `TimestampNanosFunctionsSuiteBase` (run in both ANSI modes) asserting that mode returns the most-frequent value keyed on the full nanos value (the frequent and rare values differ only within the microsecond) and preserves the input precision and family (NTZ/LTZ). Also add a deterministic golden SQL case (`mode(...)` with a unique most-frequent value) to `timestamp-ntz-nanos.sql` / `timestamp-ltz-nanos.sql`. ### Why are the changes needed? Extend test coverage for timestamp nanosecond precision datatype. ### Does this PR introduce _any_ user-facing change? No, test only change. ### How was this patch tested? Test only change. ### Was this patch authored or co-authored using generative AI tooling? Co-Authored-By: Claude Code 4.8 -- 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]
