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

   
   ### What changes were proposed in this pull request?
   Adds end-to-end tests for the nanosecond timestamp types (TIMESTAMP_NTZ(p) / 
TIMESTAMP_LTZ(p), p in [7, 9]) over the data-manipulation clauses and file 
formats that had no nanos coverage:
   - TimestampNanosDmlSuiteBase - INSERT / INSERT OVERWRITE / UPDATE / MERGE 
(all three WHEN arms) / DELETE against an in-memory row-level V2 table, plus a 
cross-precision write, all keyed on the sub-microsecond remainder across the 
NTZ and LTZ families.
   - TimestampNanosFileRoundTripSuiteBase - Parquet and ORC write→read 
round-trips asserting the sub-microsecond remainder, precision flooring 
(p=7/p=8) and NULL all survive, both families.
   
   
   ### Why are the changes needed?
   These clauses/formats are the highest-risk untested surface for the nanos 
preview.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No. Test-only.
   
   ### How was this patch tested?
   New tests. All four subclasses pass (26 tests, ANSI on/off); scalastyle 
clean.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   Co-authored-by: Claude Opus 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]

Reply via email to