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

    https://github.com/apache/spark/pull/17865#discussion_r121857687
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -189,15 +210,15 @@ def _():
     }
     
     for _name, _doc in _functions.items():
    -    globals()[_name] = since(1.3)(_create_function(_name, _doc))
    +    globals()[_name] = 
since(1.3)(ignore_unicode_prefix(_create_function(_name, _doc)))
    --- End diff --
    
    `ignore_unicode_prefix` is necessary to get the tests to pass both python 2 
and python 3. I had problems without it on my previous documentation PR: 
https://github.com/apache/spark/pull/17469#issuecomment-295896057


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to