[
https://issues.apache.org/jira/browse/SPARK-61606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tian Gao resolved SPARK-61606.
------------------------------
Fix Version/s: 4.5.0
Resolution: Fixed
Issue resolved by pull request 60433
[https://github.com/apache/spark/pull/60433]
> Add tests for Connect createDataFrame ignored options and column names
> ----------------------------------------------------------------------
>
> Key: SPARK-61606
> URL: https://issues.apache.org/jira/browse/SPARK-61606
> Project: Spark
> Issue Type: Test
> Components: PySpark, Tests
> Affects Versions: 4.5.0
> Reporter: Tian Gao
> Assignee: Tian Gao
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.5.0
>
>
> 9 lines of `SparkSession.createDataFrame` in
> `python/pyspark/sql/connect/session.py` were not covered by any test; this
> adds coverage for the Spark Connect warnings for the ignored `samplingRatio`
> and `verifySchema` arguments, the default names for extra columns when a
> pandas DataFrame or pyarrow Table gets a shorter name list, and the
> `AXIS_LENGTH_MISMATCH` error for a 1-dim ndarray. The existing Connect tests
> always pass a full-length name list or a schema, and only check the mismatch
> error for 2-dim input.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]