[
https://issues.apache.org/jira/browse/SPARK-52596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-52596:
-----------------------------------
Labels: pull-request-available (was: )
> Support the time type by try_make_timestamp_ntz()
> -------------------------------------------------
>
> Key: SPARK-52596
> URL: https://issues.apache.org/jira/browse/SPARK-52596
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Max Gekk
> Priority: Major
> Labels: pull-request-available
>
> Modify the try_make_timestamp_ntz() function to create a timestamp from date
> and time.
> h4. Syntax
> {code:sql}
> try_make_timestamp_ntz(date [, time])
> {code}
> h4. Arguments
> # date: A date expression
> # time: A time expression
> h4. Returns
> A TIMESTAMP.
> h4. Examples
> {code:sql}
> > SELECT try_make_timestamp_ntz(DATE'2014-12-28', TIME'6:30:45.887');
> 2014-12-28 06:30:45.887
> {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]