[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-08 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Description: 
Over in the Apache Arrow community, we hear from a lot of users who want to 
return the contents of a PySpark DataFrame as a [PyArrow 
Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
Currently the only documented way to do this is:

*PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*

This adds significant overhead compared to going direct from PySpark DataFrame 
to PyArrow Table. Since [PySpark already goes through PyArrow to convert to 
pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
 would it be possible to publicly expose a *toArrow()* method of the Spark 
DataFrame class?

  was:
Over in the Apache Arrow community, we hear from a lot of users who want to 
return the contents of a PySpark DataFrame as a [PyArrow 
Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
Currently the only documented way to do this is:

*PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*

This adds significant overhead compared to going direct from PySpark DataFrame 
to PyArrow Table. Since [PySpark already goes through PyArrow to convert to 
pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
 would it be possible to publicly expose a *toArrowTable()* method of the Spark 
DataFrame class?


> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 4.0.0, 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose a *toArrow()* method of the Spark 
> DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-08 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Affects Version/s: 4.0.0

> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 4.0.0, 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose a *toArrowTable()* method of the 
> Spark DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-08 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Description: 
Over in the Apache Arrow community, we hear from a lot of users who want to 
return the contents of a PySpark DataFrame as a [PyArrow 
Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
Currently the only documented way to do this is:

*PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*

This adds significant overhead compared to going direct from PySpark DataFrame 
to PyArrow Table. Since [PySpark already goes through PyArrow to convert to 
pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
 would it be possible to publicly expose a *toArrowTable()* method of the Spark 
DataFrame class?

  was:
Over in the Apache Arrow community, we hear from a lot of users who want to 
return the contents of a PySpark DataFrame as a [PyArrow 
Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
Currently the only documented way to do this is:

*PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*

This adds significant overhead compared to going direct from PySpark DataFrame 
to PyArrow Table. Since [PySpark already goes through PyArrow to convert to 
pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
 would it be possible to publicly expose a (possibly experimental) 
*toArrowTable()* method of the Spark DataFrame class?


> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose a *toArrowTable()* method of the 
> Spark DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-08 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Parent: SPARK-44111
Issue Type: Sub-task  (was: Improvement)

> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose a (possibly experimental) 
> *toArrowTable()* method of the Spark DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-08 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Fix Version/s: 4.0.0

> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose a (possibly experimental) 
> *toArrowTable()* method of the Spark DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-07 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Description: 
Over in the Apache Arrow community, we hear from a lot of users who want to 
return the contents of a PySpark DataFrame as a [PyArrow 
Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
Currently the only documented way to do this is:

*PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*

This adds significant overhead compared to going direct from PySpark DataFrame 
to PyArrow Table. Since [PySpark already goes through PyArrow to convert to 
pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
 would it be possible to publicly expose a (possibly experimental) 
*toArrowTable()* method of the Spark DataFrame class?

  was:
Over in the Apache Arrow community, we hear from a lot of users who want to 
return the contents of a PySpark DataFrame as a [PyArrow 
Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
Currently the only documented way to do this is:

*PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*

This adds significant overhead compared to going direct from PySpark DataFrame 
to PyArrow Table. Since [PySpark already goes through PyArrow to convert to 
pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
 would it be possible to publicly expose an experimental *_toArrowTable()* 
method of the Spark DataFrame class?


> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Improvement
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose a (possibly experimental) 
> *toArrowTable()* method of the Spark DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-47365) Add toArrowTable() DataFrame method to PySpark

2024-05-07 Thread Ian Cook (Jira)


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

Ian Cook updated SPARK-47365:
-
Summary: Add toArrowTable() DataFrame method to PySpark  (was: Add 
_toArrowTable() DataFrame method to PySpark)

> Add toArrowTable() DataFrame method to PySpark
> --
>
> Key: SPARK-47365
> URL: https://issues.apache.org/jira/browse/SPARK-47365
> Project: Spark
>  Issue Type: Improvement
>  Components: Connect, Input/Output, PySpark, SQL
>Affects Versions: 3.5.1
>Reporter: Ian Cook
>Priority: Major
>  Labels: pull-request-available
>
> Over in the Apache Arrow community, we hear from a lot of users who want to 
> return the contents of a PySpark DataFrame as a [PyArrow 
> Table|https://arrow.apache.org/docs/python/generated/pyarrow.Table.html]. 
> Currently the only documented way to do this is:
> *PySpark DataFrame* --> *pandas DataFrame* --> *PyArrow Table*
> This adds significant overhead compared to going direct from PySpark 
> DataFrame to PyArrow Table. Since [PySpark already goes through PyArrow to 
> convert to 
> pandas|https://spark.apache.org/docs/latest/api/python/user_guide/sql/arrow_pandas.html],
>  would it be possible to publicly expose an experimental *_toArrowTable()* 
> method of the Spark DataFrame class?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org