Takuya Ueshin created SPARK-42984: ------------------------------------- Summary: Fix test_createDataFrame_with_single_data_type. Key: SPARK-42984 URL: https://issues.apache.org/jira/browse/SPARK-42984 Project: Spark Issue Type: Sub-task Components: Connect Affects Versions: 3.4.0 Reporter: Takuya Ueshin
PySpark raises an exception when: {code:python} >>> spark.createDataFrame(pd.DataFrame({"a": [1]}), schema="int").collect() Traceback (most recent call last): ... TypeError: field value: IntegerType() can not accept object (1,) in type <class 'tuple'> {code} whereas Spark Connect doesn't. -- 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