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


##########
sql/api/src/main/scala/org/apache/spark/sql/types/StringType.scala:
##########
@@ -39,6 +39,9 @@ class StringType private(val collationId: Int) extends 
AtomicType with Serializa
   def supportsBinaryEquality: Boolean =
     CollationFactory.fetchCollation(collationId).supportsBinaryEquality
 
+  def supportsLowercaseEquality: Boolean =
+    CollationFactory.fetchCollation(collationId).supportsLowercaseEquality
+
   def isUTF8BinaryCollation: Boolean =

Review Comment:
   Do we expect end users to call these functions? If not we should mark them 
as `private[sql]`



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