Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22969#discussion_r231779387
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/HashAggregateExec.scala
 ---
    @@ -787,7 +789,7 @@ case class HashAggregateExec(
              |    $unsafeRowKeys, ${hashEval.value});
              |  if ($unsafeRowBuffer == null) {
              |    // failed to allocate the first page
    -         |    throw new OutOfMemoryError("No enough memory for 
aggregation");
    +         |    throw new $oomeClassName("No enough memory for aggregation");
    --- End diff --
    
    Hi, @ueshin . Is this the final place? If not, can we have a separate JIRA 
issue for this?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to