v.25.3Improvement
Support atomic rename when TRUNCATE is used
Support atomic rename whenTRUNCATEis used withINTO OUTFILE. Resolves #70323. #77181 (Onkar Deshpande).
Why it matters
This feature ensures that when data is truncated and exported usingINTO OUTFILE, the output file is renamed atomically. It prevents incomplete or partial data files from appearing if the operation is interrupted, improving data consistency and reliability.How to use it
Use theTRUNCATE statement together with the INTO OUTFILE clause as before. The atomic rename operation is now handled internally without any change in syntax.