hvanhovell commented on code in PR #49111:
URL: https://github.com/apache/spark/pull/49111#discussion_r1941527846
##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/KeyValueGroupedDatasetE2ETestSuite.scala:
##########
@@ -452,6 +453,17 @@ class KeyValueGroupedDatasetE2ETestSuite extends QueryTest
with RemoteSparkSessi
}
}
+ // TODO(SPARK-50837): "ds.schema" is wrong: the column is named as "iv.key".
+ ignore("SPARK-26085: fix key attribute name for atomic type for typed
aggregation - mapValues") {
+ val ds = Seq(1, 2, 3).toDS()
+ assert(ds.groupByKey(x => x).mapValues(x => x).count().schema.head.name ==
"key")
+
+ // Enable legacy flag to follow previous Spark behavior
+ withSQLConf("spark.sql.legacy.dataset.nameNonStructGroupingKeyAsValue" ->
"true") {
Review Comment:
Yet another RPC :/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]