v.23.9Improvement
Enhance INTERVAL Literals to Support Plural Forms
Make it possible to use plural when using interval literals.INTERVAL 2 HOURSshould be equivalent toINTERVAL 2 HOUR. #54860 (Jordi Villar).
Why it matters
This feature improves the usability and flexibility of interval literals by allowing users to specify the unit in plural form without causing errors or requiring manual singular conversion, making query writing more natural and user-friendly.How to use it
Simply use plural forms when specifying interval units in literals, for example:INTERVAL 2 HOURS. The system will interpret it identically to the singular form INTERVAL 2 HOUR.