Max Gekk created SPARK-51415:
--------------------------------

             Summary: Support TIME by make_timestamp()
                 Key: SPARK-51415
                 URL: https://issues.apache.org/jira/browse/SPARK-51415
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Max Gekk


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

h4. Syntax
{code:sql}
make_timestamp(date [, time [, timezone ] ])
{code}

h4. Arguments

# date: A date expression
# time: A time expression

h4. Returns
A TIMESTAMP.

h4. Examples

{code:sql}
> SELECT make_timestamp(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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to