[
https://issues.apache.org/jira/browse/SPARK-61606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-61606:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Affects Versions: 5.0.0
> Reporter: Tian Gao
> Priority: Major
> Labels: pull-request-available
>
> 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]