viirya commented on PR #7534:
URL: 
https://github.com/apache/arrow-datafusion/pull/7534#issuecomment-1717876933

   Thanks @alamb.
   
   Yea, I noticed the issue. I think for DataFusion itself usage, e.g., through 
DataFrame API, the TaskContext is kept in the session so normally the temporary 
dirs won't be deleted too early.
   
   Only problematic cases are when you construct physical query plan (like we 
did internally) like this test. I think most users are not in this cases. So I 
didn't put a fix immediately for this but propose a quick fix like this.
   
   And yes, I saw #7538 was proposed last night. I will take a look too.
   
   


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

Reply via email to