Hyukjin Kwon created SPARK-62219:
------------------------------------

             Summary: Make the uses of a StructType whose fields hold an object 
that is not a StructField raise PySpark's errors
                 Key: SPARK-62219
                 URL: https://issues.apache.org/jira/browse/SPARK-62219
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Hyukjin Kwon


Of a StructType whose fields list holds an object that is not a StructField, 
PySpark's json(), jsonValue(), simpleString(), treeString(), lookups by name, 
add, pickles and copies, the plans of to, cast, from_json and a reader's 
schema, and the StructField, ArrayType and MapType constructors raise PySpark's 
errors at their points, where the drop-in raises TypeError: StructType fields 
must be StructField objects when it lowers the type. Raise PySpark's errors.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to