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

    https://github.com/apache/spark/pull/6874#discussion_r32725827
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -737,6 +735,21 @@ object functions {
       }
     
       /**
    +   * Creates a new struct column with given field names and columns.
    +   * The input columns should be of length 2*n and follow (name1, col1, 
name2, col2),
    +   * name* should be String Literal
    +   *
    +   * @group normal_funcs
    +   * @since 1.5.0
    +   */
    +  @scala.annotation.varargs
    +  def named_struct(cols: Column*): Column = {
    --- End diff --
    
    OK.


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