[
https://issues.apache.org/jira/browse/SPARK-53323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruifeng Zheng resolved SPARK-53323.
-----------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Issue resolved by pull request 52320
[https://github.com/apache/spark/pull/52320]
> Support df.asTable() for Arrow UDTF in Spark Connect
> ----------------------------------------------------
>
> Key: SPARK-53323
> URL: https://issues.apache.org/jira/browse/SPARK-53323
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 4.1.0
> Reporter: Allison Wang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> Currently, in `test_parity_arrow_udtf.py`, two test cases are failing.
> ```
> test_arrow_udtf_with_table_argument_basic
> test_arrow_udtf_with_table_argument_and_scalar
> ```
> These tests are failing because `df.asTable()` behave differently in Spark
> Connect vs Spark Classic.
> Table argument should be passed as `<class 'pyarrow.lib.RecordBatch'>`
> instead of `StructArray`.
> This task is to figure out what's causing this difference and support
> `df.asTable()` for table argument in arrow python udtfs
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]