# Support INTERVAL in window RANGE Queries Currently, we do not support the queries taking `date` or `timestamp` for range inside window frames. Following query ```sql SELECT COUNT(*) OVER (ORDER BY ts RANGE BETWEEN '1 DAY' PRECEDING AND '1 DAY' FOLLOWING) FROM t; ``` produces the error below: ```sql ParserError("Expected literal int, found: INTERVAL") ``` Relevant section in the code, where window frame bounds are parsed can be found here. [sqlparser-rs/parser.rs at 6afd194e947cfd800376f424ff7c300ee385cd9e · sqlparser-rs/sqlparser-rs](https://github.com/sqlparser-rs/sqlparser-rs/blob/6afd194e947cfd800376f424ff7c300ee385cd9e/src/parser.rs#L679)