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

    https://github.com/apache/spark/pull/19363#discussion_r141509523
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala ---
    @@ -54,6 +55,14 @@ class KeyValueGroupedDataset[K, V] private[sql](
       private def sparkSession = queryExecution.sparkSession
     
       /**
    +   * Returns the schema of this Dataset.
    +   *
    +   * @group basic
    +   * @since 2.3.0
    +   */
    +  def schema: StructType = queryExecution.analyzed.schema
    --- End diff --
    
    ok


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to