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

    https://github.com/apache/spark/pull/14393#discussion_r72843069
  
    --- Diff: python/pyspark/sql/context.py ---
    @@ -226,28 +226,34 @@ def createDataFrame(self, data, schema=None, 
samplingRatio=None):
             from ``data``, which should be an RDD of :class:`Row`,
             or :class:`namedtuple`, or :class:`dict`.
     
    -        When ``schema`` is :class:`DataType` or datatype string, it must 
match the real data, or
    --- End diff --
    
    I made a mistake here, thinking "datatype string" was actually meant to be 
`StringType()`. I understand now that a datatype string is actually a thing.
    
    Correction incoming...


---
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