AngersZhuuuu commented on a change in pull request #28490:
URL: https://github.com/apache/spark/pull/28490#discussion_r436327053
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -3496,6 +3496,88 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession with AdaptiveSpark
checkIfSeedExistsInExplain(df2)
}
+ test("SPARK-31670: Struct Field in groupByExpr with CUBE") {
+ withTable("t") {
+ sql(
+ """CREATE TABLE t(
+ |a STRING,
+ |b INT,
+ |c ARRAY<STRUCT<row_id:INT,json_string:STRING>>,
+ |d ARRAY<ARRAY<STRING>>,
+ |e ARRAY<MAP<STRING, INT>>)
+ |USING ORC""".stripMargin)
Review comment:
> See: [#28490
(comment)](https://github.com/apache/spark/pull/28490#discussion_r434371366)
Test case change to view and with actual data.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]