[ https://issues.apache.org/jira/browse/SPARK-37601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-37601: ---------------------------------- Fix Version/s: (was: 3.3.0) > Could/should sql.DataFrame.transform accept function parameters? > ---------------------------------------------------------------- > > Key: SPARK-37601 > URL: https://issues.apache.org/jira/browse/SPARK-37601 > Project: Spark > Issue Type: Improvement > Components: PySpark > Affects Versions: 3.3.0 > Reporter: Rafal Wojdyla > Priority: Major > > {code:python} > def foo(df: DataFrame, p: int) -> DataFrame > ... > # current: > from functools import partial > df.transform(partial(foo, p=3)) > # or: > df.transform(lambda df: foo(df, p=3)) > # vs suggested: > df.transform(foo, p=3) > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org