HyukjinKwon opened a new pull request #26642: [SPARK-30003][SQL] Prevent stack 
over flow in unknown hint resolution
URL: https://github.com/apache/spark/pull/26642
 
 
   ### What changes were proposed in this pull request?
   This is rather a followup of https://github.com/apache/spark/pull/25464 (see 
https://github.com/apache/spark/pull/25464/files#r349543286)
   
   It will cause an infinite recursion via mapping children - we should return 
the hint rather than its parent plan in unknown hint resolution.
   
   
   ### Why are the changes needed?
   
   Prevent Stack over flow during hint resolution.
   
   ### Does this PR introduce any user-facing change?
   
   Yes it prevents Stack over flow.
   It was caused by https://github.com/apache/spark/pull/25464 and this is only 
in the master.
   
   ### How was this patch tested?
   
   Unittest was added.
   

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


With regards,
Apache Git Services

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

Reply via email to