MaxGekk opened a new pull request #26367: [SPARK-29671][SQL] Simplify string 
representation of intervals
URL: https://github.com/apache/spark/pull/26367
 
 
   ### What changes were proposed in this pull request?
   In the PR, I propose to changed `CalendarInterval.toString`:
   - to skip the `week` unit
   - to convert `milliseconds` and `microseconds` as the fractional part of the 
`seconds` unit.
   
   ### Why are the changes needed?
   To improve readability.
   
   ### Does this PR introduce any user-facing change?
   Yes
   
   ### How was this patch tested?
   - By `CalendarIntervalSuite` and `IntervalUtilsSuite`
   - `literals.sql`, `datetime.sql` and `interval.sql`
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to