stevomitric opened a new pull request, #56207:
URL: https://github.com/apache/spark/pull/56207

   ### What changes were proposed in this pull request?
   
   Implement `Ordering` for `TimestampNTZNanosType(p)` and 
`TimestampLTZNanosType(p)`, both in the interpreted path and the codegen path.
   
   ### Why are the changes needed?
   
   Without ordering, SQL operators that need a total order on the type (`ORDER 
BY`, sort-merge join, sort-based `GROUP BY`, `DISTINCT`) cannot execute against 
nanos-precision columns.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   New UT in this PR.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.7


-- 
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