cloud-fan commented on code in PR #49103:
URL: https://github.com/apache/spark/pull/49103#discussion_r1900547208


##########
sql/api/src/main/scala/org/apache/spark/sql/types/StringType.scala:
##########
@@ -127,6 +128,17 @@ case object StringType
   }
 }
 
+/**
+ * String type that was the result of coercing two different non-explicit 
collations.
+ */
+private[spark] case object IndeterminateStringType
+    extends StringType(CollationFactory.INDETERMINATE_COLLATION_ID) {
+
+  override def jsonValue: JValue = throw new SparkRuntimeException(

Review Comment:
   it's a bit weird to fail in the `jsonValue` method, why?



-- 
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-unsubscr...@spark.apache.org

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


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

Reply via email to