Hyukjin Kwon created SPARK-62230:
------------------------------------
Summary: Take a StructField of metadata that is not a dict, as
PySpark does
Key: SPARK-62230
URL: https://issues.apache.org/jira/browse/SPARK-62230
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
PySpark takes a StructField whose metadata is not a dict, such as [1, 2]: its
toNullable() works, and a plan of it sends json.dumps of the metadata, which
the server refuses. The drop-in raises TypeError when the field is made. Take
it as PySpark does.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]