v.25.7Improvement

Add support for clearing all warnings

Add support for clearing all warnings from the system.warnings table using TRUNCATE TABLE system.warnings. #82087 (Vladimir Cherkasov).
Added support to clear all warnings from the system.warnings table using TRUNCATE TABLE system.warnings.

Why it matters

This feature allows users to quickly remove all accumulated warnings from the system.warnings table, helping to maintain a clean and manageable warnings log. It simplifies the process of clearing warnings instead of deleting them entry-by-entry.

How to use it

To clear all warnings, execute the following SQL command:

TRUNCATE TABLE system.warnings