beliefer commented on pull request #29999:
URL: https://github.com/apache/spark/pull/29999#issuecomment-707458123


   @maropu If there have a lot of like, the reduceLeft will construct very deep 
tree. This will lead to unlimited function calls to increase the height of the 
thread stack.
   ```
   at org.apache.spark.sql.catalyst.trees.TreeNode.foreach(TreeNode.scala:175)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$foreach$1(TreeNode.scala:175)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$foreach$1$adapted(TreeNode.scala:175)
        at scala.collection.immutable.List.foreach(List.scala:392)
   at org.apache.spark.sql.catalyst.trees.TreeNode.foreach(TreeNode.scala:175)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$foreach$1(TreeNode.scala:175)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$foreach$1$adapted(TreeNode.scala:175)
        at scala.collection.immutable.List.foreach(List.scala:392)
   at org.apache.spark.sql.catalyst.trees.TreeNode.foreach(TreeNode.scala:175)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$foreach$1(TreeNode.scala:175)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$foreach$1$adapted(TreeNode.scala:175)
        at scala.collection.immutable.List.foreach(List.scala:392)
   ......
   
   ```


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

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