Ruifeng Zheng created SPARK-53547:
-------------------------------------
Summary: Add `def make_timestamp_ntz(date, time): Column` in Python
Key: SPARK-53547
URL: https://issues.apache.org/jira/browse/SPARK-53547
Project: Spark
Issue Type: Sub-task
Components: Connect, PySpark
Affects Versions: 4.1.0
Reporter: Ruifeng Zheng
to support
{code:java}
/**
* Create a local date-time from date and time fields.
*
* @group datetime_funcs
* @since 4.1.0
*/
def make_timestamp_ntz(date: Column, time: Column): Column =
Column.fn("make_timestamp_ntz", date, time) {code}
in pyspark,
note that we already have
{code:java}
def make_timestamp_ntz(
years: "ColumnOrName",
months: "ColumnOrName",
days: "ColumnOrName",
hours: "ColumnOrName",
mins: "ColumnOrName",
secs: "ColumnOrName",
) -> Column: {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]