uros-db commented on code in PR #47622:
URL: https://github.com/apache/spark/pull/47622#discussion_r1709581377


##########
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:
   I'm not sure about that, but afaik most of these Boolean flags are only used 
internally, so I guess we can make them private[sql] for now (of course we can 
revert if necessary)



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