You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gera Shegalov (Jira)" <ji...@apache.org> on 2021/05/15 05:51:00 UTC
[jira] [Created] (SPARK-35408) Improve parameter validation in
DataFrame.show
Gera Shegalov created SPARK-35408:
-------------------------------------
Summary: 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
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