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

ASF GitHub Bot updated SPARK-53323:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to