You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2025/03/26 06:14:00 UTC
[jira] [Assigned] (SPARK-51419) Get hour of time
[ https://issues.apache.org/jira/browse/SPARK-51419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk reassigned SPARK-51419:
--------------------------------
Assignee: Senthil Kumar
> Get hour of time
> ----------------
>
> Key: SPARK-51419
> URL: https://issues.apache.org/jira/browse/SPARK-51419
> 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, starter
>
> Modify the hour() function to return the hour component of a time.
> h4. Syntax
> {code:sql}
> hour(expr)
> {code}
> h4. Arguments
> expr: A TIME expression.
> h4. Returns
> An INTEGER.
> h4. Examples
> {code:sql}
> > SELECT hour(TIME'12:13:14');
> 12
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org