joelrobin18 commented on PR #60218:
URL: https://github.com/apache/spark/pull/60218#issuecomment-6817573423

   Thank you for the review. Commit 78fdd4e addresses the three findings and 
the suggestions for the PR description.
   
   - `time_from_seconds` with a DOUBLE uses primitive arithmetic for each row. 
This also answers the decision challenge: every row uses the primitive floor, 
and a parity test compares it with `BigDecimal.valueOf`.
   - The comment and the tests use inputs that fail if the conversion changes.
   - All producers of `TIME(p)` values truncate to `p`, also Arrow ingest.
   - The PR description now uses 2.49E-4 as the example. It also lists the 
other changes for a DOUBLE: a value between -1 nanosecond and 0 fails the range 
check, and 1.0E10 fails with 'Overflow in TIME conversion'.


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