Are there any ways to automatically cleanup temporary files created in s3 by the Amazon Redshift connector

sajith_appukutt
Databricks Employee
Databricks Employee

The Amazon Redshift data source in Databricks seems to be using S3 for storing intermediate results. Are there any ways to automatically cleanup temporary files created in S3