[
https://issues.apache.org/jira/browse/SPARK-51420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936153#comment-17936153
]
Sakthi commented on SPARK-51420:
--------------------------------
Thanks [~maxgekk] !
[PR|https://github.com/apache/spark/pull/50296] is up for review. Looking
forward to your feedback.
> Get minutes of time
> -------------------
>
> Key: SPARK-51420
> URL: https://issues.apache.org/jira/browse/SPARK-51420
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Max Gekk
> Priority: Major
> Labels: pull-request-available, starter
>
> Modify the minute() function to return the minute component of the *time*
> expr.
> h4. Syntax
> {code:sql}
> minute(expr)
> {code}
> h4. Arguments
> expr: An TIMESTAMP or TIME expression or a STRING of a valid timestamp
> format.
> h4. Returns
> An INTEGER.
> h4. Examples
> {code:sql}
> > SELECT minute(TIME'12:58:59');
> 58
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]