Max Gekk created SPARK-52596:
--------------------------------

             Summary: 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
            Assignee: Max Gekk
             Fix For: 4.1.0


Modify the make_timestamp_ntz() function to create a timestamp from date and 
time.

h4. Syntax
{code:sql}
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 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]

Reply via email to