spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-28881) toPandas with Arrow returns an empty DataFrame when the result size exceeds `spark.driver.maxResultSize`
Date Tue, 27 Aug 2019 06:45:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-28881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916440#comment-16916440
] 

Hyukjin Kwon commented on SPARK-28881:
--------------------------------------

This scenario is a problem as it returns an empty DataFrame in branch-2.4.
This is fixed in the master as part of SPARK-27992.

{code}
./bin/pyspark --conf spark.driver.maxResultSize=1m
spark.conf.set("spark.sql.execution.arrow.enabled",True)
spark.range(10000000).toPandas()
{code}

{code}
Empty DataFrame
Columns: [id]
Index: []
{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.0, 2.4.1, 2.4.2, 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message