Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1774#discussion_r15790282
  
    --- Diff: python/pyspark/sql.py ---
    @@ -269,7 +269,7 @@ def __repr__(self):
     class StructType(DataType):
         """Spark SQL StructType
     
    -    The data type representing rows.
    +    The data type representing tuple or list values.
    --- End diff --
    
    @davies told me that we only accept tuples or lists as values of 
`StructType` for`applySchema`. We need to finalize what are acceptable value 
types before the release. https://issues.apache.org/jira/browse/SPARK-2854 is 
used to track it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to