Hyukjin Kwon created SPARK-28881:
------------------------------------

             Summary: 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
             Fix For: 2.4.4


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

Reply via email to