You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/05/15 06:18:00 UTC

[jira] [Assigned] (SPARK-35408) Improve parameter validation in DataFrame.show

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

Apache Spark reassigned SPARK-35408:
------------------------------------

    Assignee: Apache Spark

> Improve parameter validation in DataFrame.show
> ----------------------------------------------
>
>                 Key: SPARK-35408
>                 URL: https://issues.apache.org/jira/browse/SPARK-35408
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 3.1.1
>            Reporter: Gera Shegalov
>            Assignee: Apache Spark
>            Priority: Major
>
> Being more used to Scala API the user may  be tempted to call  
> {code:python}
> df.show(False)
> {code}
> in PySparkl and she will receive an error message that does not easily map to the user code 
> {noformat}
> py4j.Py4JException: Method showString([class java.lang.Boolean, class java.lang.Integer, class java.lang.Boolean]) does not exist
> 	at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:318)
> 	at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:326)
> 	at py4j.Gateway.invoke(Gateway.java:274)
> 	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
> 	at py4j.commands.CallCommand.execute(CallCommand.java:79)
> 	at py4j.GatewayConnection.run(GatewayConnection.java:238)
> 	at java.lang.Thread.run(Thread.java:748
> {noformat}



--
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