uros-db commented on PR #51553:
URL: https://github.com/apache/spark/pull/51553#issuecomment-3511181959

   Implemented the proposed approach, to keep `TIME` logic consistent with 
`TIMESTAMP`.
   
   We now have:
   ```
   select cast(cast(time '00:00:00' as variant) as string); -- returns: 
"00:00:00"
   ```
   
   For comparison:
   ```
   select cast(cast(timestamp '0001-01-01 00:00:00' as variant) as string); -- 
returns: "0001-01-01 00:00:00"
   ```


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