You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by zero323 <gi...@git.apache.org> on 2017/07/05 20:58:06 UTC

[GitHub] spark pull request #16537: [SPARK-19165][PYTHON][SQL] UserDefinedFunction.__...

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

    https://github.com/apache/spark/pull/16537#discussion_r125755849
  
    --- Diff: python/pyspark/sql/functions.py ---
    @@ -1949,6 +1949,14 @@ def _create_judf(self):
             return judf
     
         def __call__(self, *cols):
    +        for c in cols:
    +            if not isinstance(c, (Column, str)):
    --- End diff --
    
    @HyukjinKwon Sorry for a delayed response, I am seldom online these days. You're right, it looks like an issue. I'll take a look at this, when I have more time


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

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