You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/11/09 16:11:00 UTC

[jira] [Closed] (SPARK-37248) Failed test_make_date (pyspark.sql.tests.test_functions.FunctionsTests)

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

Dongjoon Hyun closed SPARK-37248.
---------------------------------

> Failed test_make_date (pyspark.sql.tests.test_functions.FunctionsTests)
> -----------------------------------------------------------------------
>
>                 Key: SPARK-37248
>                 URL: https://issues.apache.org/jira/browse/SPARK-37248
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.3.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> {code:java}
> Traceback (most recent call last):
>   File "/Users/xinrong.meng/spark/python/pyspark/sql/tests/test_functions.py", line 247, in test_make_date
>     row_from_col = df.select(make_date(df.Y, df.M, df.D)).first()
>   File "/Users/xinrong.meng/spark/python/pyspark/sql/functions.py", line 2159, in make_date
>     jc = sc._jvm.functions.make_date(year_col, month_col, day_col)
>   File "/Users/xinrong.meng/spark/python/lib/py4j-0.10.9.2-src.zip/py4j/java_gateway.py", line 1535, in __getattr__
>     raise Py4JError(
> py4j.protocol.Py4JError: org.apache.spark.sql.functions.make_date does not exist in the JVM
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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