You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2025/09/11 02:43:00 UTC
[jira] [Updated] (SPARK-53548) Support `def try_make_timestamp_ntz(date, time): Column` in Python
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org