MaxGekk commented on code in PR #36385:
URL: https://github.com/apache/spark/pull/36385#discussion_r860481638


##########
sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:
##########
@@ -261,41 +261,45 @@ class QueryExecutionErrorsSuite
     }
   }
 
-  test("UNSUPPORTED_OPERATION: timeZoneId not specified while converting 
TimestampType to Arrow") {
+  test("UNSUPPORTED_FEATURE: timeZoneId not specified while converting 
TimestampType to Arrow") {
     checkErrorClass(
       exception = intercept[SparkUnsupportedOperationException] {
         ArrowUtils.toArrowSchema(new StructType().add("value", TimestampType), 
null)

Review Comment:
   I wonder is it possible to trigger the error from user space? If not, let 
use `INTERNAL_ERROR` or `IllegalStateException`.



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