[ 
https://issues.apache.org/jira/browse/SPARK-53548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruifeng Zheng updated SPARK-53548:
----------------------------------
    Description: 
support
{code:java}
/**
 * Try to create a local date-time from date and time fields.
 *
 * @group datetime_funcs
 * @since 4.1.0
 */
def try_make_timestamp_ntz(date: Column, time: Column): Column =
  Column.fn("try_make_timestamp_ntz", date, time) {code}
in pyspark,

 

note that we already have
{code:java}
def try_make_timestamp_ntz(
    years: "ColumnOrName",
    months: "ColumnOrName",
    days: "ColumnOrName",
    hours: "ColumnOrName",
    mins: "ColumnOrName",
    secs: "ColumnOrName",
) -> Column: {code}

> Support `def try_make_timestamp_ntz(date, time): Column` in Python
> ------------------------------------------------------------------
>
>                 Key: SPARK-53548
>                 URL: https://issues.apache.org/jira/browse/SPARK-53548
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, PySpark
>    Affects Versions: 4.1.0
>            Reporter: Ruifeng Zheng
>            Priority: Major
>
> support
> {code:java}
> /**
>  * Try to create a local date-time from date and time fields.
>  *
>  * @group datetime_funcs
>  * @since 4.1.0
>  */
> def try_make_timestamp_ntz(date: Column, time: Column): Column =
>   Column.fn("try_make_timestamp_ntz", date, time) {code}
> in pyspark,
>  
> note that we already have
> {code:java}
> def try_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]

Reply via email to