[ https://issues.apache.org/jira/browse/SPARK-51421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-51421. ------------------------------ Fix Version/s: 4.1.0 Resolution: Fixed Issue resolved by pull request 50525 [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 > Assignee: Senthil Kumar > Priority: Minor > Labels: pull-request-available > Fix For: 4.1.0 > > > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org