Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19363#discussion_r141424043
--- 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 --
Can you remove this?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]