You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/04/28 16:29:36 UTC

[GitHub] [spark] srielau commented on a diff in pull request #36385: [SPARK-39050][SQL] Error class: UNSUPPORTED_OPERATION to UNSUPPORTED_FEATURE

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


##########
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:
     def internalMissingTimezoneIdError(): Throwable = {
       new SparkIllegalStateException(errorClass = "INTERNAL_ERROR",
         messageParameters = Array("Missing timezoneId where it is mandatory."))
     }



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org