Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/17711
  
    I quickly brushed up the Optimizer code based on your advice:
    Using `Stack`:
    
https://github.com/apache/spark/commit/a17d933aaad5c38a9d9ff20f978c1bad6c774fb1#diff-a1acb054bc8888376603ef510e6d0ee0R551
    
    Using `tailrec`:
    
https://github.com/apache/spark/compare/master...maropu:SPARK-19951-3#diff-a1acb054bc8888376603ef510e6d0ee0R552
    
    I checked the spark style-guide and I probably think we'd better to use 
more readable one. So, `tailrec` is better? I'll submit the `tailrec` one after 
this merged.


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