Github user shea-parkes commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16094#discussion_r90748611
  
    --- Diff: python/pyspark/sql/column.py ---
    @@ -298,19 +299,34 @@ def isin(self, *cols):
         isNotNull = _unary_op("isNotNull", "True if the current expression is 
not null.")
     
         @since(1.3)
    -    def alias(self, *alias):
    +    def alias(self, *alias, **kwargs):
             """
             Returns this column aliased with a new name or names (in the case 
of expressions that
             return more than one column, such as explode).
     
    +        Optional ``metadata`` keyword argument can be passed when aliasing 
a single column.
    --- End diff --
    
    Oh, and I inferred that this would be a v2.2 feature since v2.1 is already 
in pre-release.  If I got the version wrong, just let me know.


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