You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maciej Szymkiewicz (Jira)" <ji...@apache.org> on 2020/01/30 13:17:00 UTC

[jira] [Created] (SPARK-30681) Add higher order functions API to PySpark

Maciej Szymkiewicz created SPARK-30681:
------------------------------------------

             Summary: Add higher order functions API to PySpark
                 Key: SPARK-30681
                 URL: https://issues.apache.org/jira/browse/SPARK-30681
             Project: Spark
          Issue Type: Improvement
          Components: PySpark, SQL
    Affects Versions: 3.0.0
            Reporter: Maciej Szymkiewicz


As of 3.0.0 higher order functions are available in SQL and Scala, but not in PySpark, forcing Python users to invoke these through {{expr}}, {{selectExpr}} or {{sql}}.

This is error prone and not well documented. Spark should provide {{pyspark.sql}} wrappers that accept plain Python functions (of course within limits of {{(*Column) -> Column}}) as arguments.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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