cloud-fan commented on code in PR #48436:
URL: https://github.com/apache/spark/pull/48436#discussion_r1824921321
##########
sql/api/src/main/scala/org/apache/spark/sql/types/StringType.scala:
##########
@@ -109,3 +113,16 @@ case object StringType extends StringType(0) {
new StringType(collationId)
}
}
+
+/**
+ * String type which result from a strongly typed string declaration `STRING
COLLATE ...`, and not
+ * just implicit `STRING`.
+ */
+private[spark] class StronglyTypedStringType private (collationId: Int)
Review Comment:
we can just have a `case class StronglyTypedStringType...`
--
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]