yutoacts commented on a change in pull request #35433:
URL: https://github.com/apache/spark/pull/35433#discussion_r803654699



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala
##########
@@ -133,8 +133,8 @@ class QueryExecutionErrorsSuite extends QueryTest with 
SharedSparkSession {
         .agg(sum($"sales.earnings"))
         .collect()
     }
-    assert(e2.getMessage === "The feature is not supported: " +
-      "literal for '[dotnet,Dummies]' of class " +
-      "org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema.")
+    assert(e2.getMessage ===
+      "The feature is not supported: pivoting by values of the column " +
+      """'[dotnet,Dummies]' of the type 'struct(lower(sales.course), 
training)'.""")

Review comment:
       It was actually the column name and I fixed it.
   With the latest change the datatype of the column is thrown.




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

Reply via email to