You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by dongjoon-hyun <gi...@git.apache.org> on 2016/07/01 00:21:25 UTC

[GitHub] spark pull request #13967: [SPARK-16278][SPARK-16279][SQL] Implement map_key...

Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13967#discussion_r69231662
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -2753,6 +2753,22 @@ object functions {
       def size(e: Column): Column = withExpr { Size(e.expr) }
     
       /**
    +   * Returns the key array of the map.
    +   *
    +   * @group collection_funcs
    +   * @since 2.1.0
    +   */
    +  def map_keys(e: Column): Column = withExpr { MapKeys(e.expr) }
    --- End diff --
    
    I see. Thank you for confirming!


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