Dongjoon Hyun created SPARK-28459:
-------------------------------------

             Summary: Date/Time Functions: make_timestamp
                 Key: SPARK-28459
                 URL: https://issues.apache.org/jira/browse/SPARK-28459
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Yuming Wang


||Function||Return Type||Description||Example||Result||
|{{make_date(_year_ }}{{int}}{{, _month_ }}{{int}}{{, _day_ 
}}{{int}}{{)}}|{{date}}|Create date from year, month and day 
fields|{{make_date(2013, 7, 15)}}|{{2013-07-15}}|
|{{make_timestamp(_year_ }}{{int}}{{, _month_ }}{{int}}{{, _day_ }}{{int}}{{, 
_hour_ }}{{int}}{{, _min_ }}{{int}}{{, _sec_}}{{double 
precision}}{{)}}|{{timestamp}}|Create timestamp from year, month, day, hour, 
minute and seconds fields|{{make_timestamp(2013, 7, 15, 8, 15, 
23.5)}}|{{2013-07-15 08:15:23.5}}|

https://www.postgresql.org/docs/11/functions-datetime.html



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to