MaxGekk commented on code in PR #56831:
URL: https://github.com/apache/spark/pull/56831#discussion_r3486705574


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/package.scala:
##########
@@ -100,6 +100,13 @@ package object expressions  {
     // to an array.
     @transient private lazy val attrsArray = attrs.toArray
 
+    // Attributes with a null name (e.g. produced from a StructField built 
with a null name via

Review Comment:
   Confirmed it's a real, independent issue -- `AttributeReference.hashCode` 
calls `name.hashCode()` unguarded while `equals` is already null-safe. 
Addressed separately in #56832 (SPARK-57726).



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