[
https://issues.apache.org/jira/browse/SPARK-51421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941413#comment-17941413
]
Senthil Kumar commented on SPARK-51421:
---------------------------------------
PR raised: https://github.com/apache/spark/pull/50525
> Get seconds of time
> -------------------
>
> Key: SPARK-51421
> URL: https://issues.apache.org/jira/browse/SPARK-51421
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Max Gekk
> Priority: Minor
> Labels: pull-request-available
>
> Modify the second() function to returns the second component of the time expr.
> h4. Syntax
> {code:sql}
> second(expr)
> {code}
> h4. Arguments
> {code:sql}
> expr: A TIME expression.
> {code}
> h4. Returns
> An INTEGER.
> h4. Examples
> {code:sql}
> > SELECT second(TIME'12:58:59');
> 59
> {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]