wangyum commented on PR #58195:
URL: https://github.com/apache/spark/pull/58195#issuecomment-6945474617

   Minor naming nit (non-blocking): `UnsafeRowUtils.rowEqualityChecker(...)` is 
introduced in this PR and called at six sites, but the returned `(UnsafeRow, 
UnsafeRow) => Boolean` value is bound under two different names depending on 
the file:
   
   - `groupEqualityCheck` in `WindowGroupLimitExec.scala`, 
`WindowEvaluatorFactory.scala`, `ArrowWindowPythonEvaluatorFactory.scala`
   - `groupKeyEqualityCheck` in `SortBasedAggregationIterator.scala`, 
`MergingSessionsIterator.scala`, `UpdatingSessionsIterator.scala`
   
   All six hold the exact same type, are produced by the same factory method, 
and serve the same purpose (group/partition key equality). It'd help future 
readers recognize these as one pattern if all six sites used a single name - 
`groupKeyEqualityCheck` reads slightly more precisely since it makes clear the 
comparison is on the grouping key specifically. Not blocking, just a quick 
rename across the six call sites would improve consistency.


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