LuciferYang commented on PR #38214:
URL: https://github.com/apache/spark/pull/38214#issuecomment-1276300373

   <img width="648" alt="image" 
src="https://user-images.githubusercontent.com/1475305/195373375-9b721841-fc21-45f1-b88a-85b499c01237.png";>
   
   
https://github.com/apache/spark/blob/0dd78341e64a7e146413156834448707f16bba83/sql/core/src/main/scala/org/apache/spark/sql/execution/command/CommandUtils.scala#L116-L132
   
   Line 122 It is a recursive call. The original logic is pass in 
`status.getPath`, and then execute `val fileStatus = 
fs.getFileStatus(status.getPath)` (Line 117).
   
   After change, the recursive call reuse the incoming status.
   


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

To unsubscribe, e-mail: [email protected]

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