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

    https://github.com/apache/spark/pull/20839#discussion_r175004660
  
    --- Diff: python/pyspark/sql/session.py ---
    @@ -679,13 +679,13 @@ def createDataFrame(self, data, schema=None, 
samplingRatio=None, verifySchema=Tr
                                 "true." % _exception_message(e))
                             warnings.warn(msg)
                         else:
    -                        msg = (
    +                        e.message = (
    --- End diff --
    
    Ah yes, you're right.  The tests check the exception message so I thought 
all was good.  Let me try something else.


---

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

Reply via email to