[
https://issues.apache.org/jira/browse/SPARK-28881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916435#comment-16916435
]
Dongjoon Hyun commented on SPARK-28881:
---------------------------------------
Sorry, but why the reported scenario is a problem?
{code:java}
Exception in thread "serve-Arrow" org.apache.spark.SparkException: Job aborted
due to stage failure: Total size of serialized results of 1 tasks (4.9 MB) is
bigger than spark.driver.maxResultSize (1024.0 KB)
{code}
> toPandas with Arrow returns an empty DataFrame when the result size exceeds
> `spark.driver.maxResultSize`
> --------------------------------------------------------------------------------------------------------
>
> Key: SPARK-28881
> URL: https://issues.apache.org/jira/browse/SPARK-28881
> Project: Spark
> Issue Type: Bug
> Components: PySpark, SQL
> Affects Versions: 2.4.3
> Reporter: Hyukjin Kwon
> Priority: Major
>
> {code}
> ./bin/pyspark --conf spark.driver.maxResultSize=1m
> spark.conf.set("spark.sql.execution.arrow.enabled",True)
> spark.range(10000000).toPandas()
> {code}
> The codes above returns an empty dataframe.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]