[ 
https://issues.apache.org/jira/browse/SPARK-52619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18003624#comment-18003624
 ] 

Mike Artz edited comment on SPARK-52619 at 7/7/25 9:40 PM:
-----------------------------------------------------------

I can work on this if no one else is. I will largely follow the same pattern as 
{{TimestampType}} to the {{IntegralType}} but rounding the values since 
midnight instead of absolute epoch time.  


was (Author: JIRAUSER301522):
I can work on this if no one else is. I will largely follow the same pattern as 
`TimestampType` to the `IntegralType` but rounding the values since midnight 
instead of absolute epoch time.  

> Cast TimeType to IntegralType
> -----------------------------
>
>                 Key: SPARK-52619
>                 URL: https://issues.apache.org/jira/browse/SPARK-52619
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Max Gekk
>            Priority: Major
>
> Round the TIME values to seconds (following the SQL standard) while casting 
> to IntegralType: BYTE, SHORT, INT, LONG.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to