jovanpavl-db commented on code in PR #48386:
URL: https://github.com/apache/spark/pull/48386#discussion_r1799125927
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/hash.scala:
##########
@@ -566,7 +566,7 @@ abstract class InterpretedHashFunction {
hashUnsafeBytes(a, Platform.BYTE_ARRAY_OFFSET, a.length, seed)
case s: UTF8String =>
val st = dataType.asInstanceOf[StringType]
- if (st.supportsBinaryEquality) {
+ if (st.supportsBinaryEquality && !st.usesTrimCollation) {
Review Comment:
I'm not really a fan of leaving comments like this in code. I will follow up
with pr **today**, so won't miss them.
--
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]