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/04/17 05:38:00 UTC
[jira] [Assigned] (SPARK-51414) Add the make_time() function
[ https://issues.apache.org/jira/browse/SPARK-51414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk reassigned SPARK-51414:
--------------------------------
Assignee: Rob
> Add the make_time() function
> ----------------------------
>
> Key: SPARK-51414
> URL: https://issues.apache.org/jira/browse/SPARK-51414
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Max Gekk
> Assignee: Rob
> Priority: Major
> Labels: pull-request-available
>
> The make_time() function creates a time from hour, min, and sec fields.
> h4. Syntax
> {code:sql}
> make_time(hour, min, sec)
> {code}
> h4. Arguments
> # hour: An INTEGER expression evaluating to a value between 0 and 23.
> # min: An INTEGER expression evaluating to a value between 0 and 59.
> # sec: A numeric expression evaluating to a value between 0 and 59.999999.
> h4. Returns
> A TIME.
> h4. Examples
> {code:sql}
> > SELECT make_time(6, 30, 45.887);
> 06:30:45.887
> > SELECT make_time(NULL, 30, 0);
> NULL
> {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