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

    https://github.com/apache/spark/pull/21045#discussion_r192985559
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -350,7 +350,7 @@ def corr(col1, col2):
     
         >>> a = range(20)
         >>> b = [2 * x for x in range(20)]
    -    >>> df = spark.createDataFrame(zip(a, b), ["a", "b"])
    +    >>> df = spark.createDataFrame(__builtin__.zip(a, b), ["a", "b"])
    --- End diff --
    
    why did you add `__builtin__` here? This is causing the build failure


---

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

Reply via email to