SQL Expressions: Permit range conditions (between) in queries (#103238)

This commit is contained in:
Kyle Brandt
2025-04-02 08:13:17 -04:00
committed by GitHub
parent 85ddf648dc
commit 856dcfd6fe
2 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,11 @@ func TestAllowQuery(t *testing.T) {
q: example_json_functions,
err: nil,
},
{
name: "range condition (between)",
q: `SELECT '2024-04-01 15:30:00' BETWEEN '2024-04-01 15:29:00' AND '2024-04-01 15:31:00'`,
err: nil,
},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {