v.20.7Improvement

Fix Week-Interval Formatting for Quota Statements

Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements. #13417 (vladimir-golovchenko).
Fixed the formatting of 'Week'-intervals in ATTACH, ALTER, and CREATE QUOTA statements in ClickHouse.

Why it matters

This change resolves issues with how weekly intervals were formatted in quota-related SQL statements, ensuring that users can define quotas with 'Week' intervals correctly and consistently. It improves reliability and accuracy when managing user quotas using interval specifications.

How to use it

Users can now specify 'Week' intervals properly in quota definitions within ATTACH QUOTA, ALTER QUOTA, and CREATE QUOTA statements. Just use the interval keyword 'Week' as intended without encountering formatting errors.