Github user sameeragarwal commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12345#discussion_r59637455
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/ColumnarAggMapCodeGenerator.scala
 ---
    @@ -103,7 +119,7 @@ class ColumnarAggMapCodeGenerator(
         s"""
            |// TODO: Improve this hash function
            |private long hash($groupingKeySignature) {
    -       |  return ${groupingKeys.map(_._2).mkString(" ^ ")};
    +       |  return ${groupingKeys.map(_._2).mkString(" | ")};
    --- End diff --
    
    No particular reason, was planning to do this as part of a separate small 
PR (along with the benchmarks). Please let me know if you'd prefer it here 
instead


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to