SQL Expressions: Allow IS keyword (#102841)

This commit is contained in:
Sam Jewell
2025-03-26 09:05:42 +00:00
committed by GitHub
parent 01c7283a88
commit 6be7829acf
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -37,6 +37,11 @@ func TestAllowQuery(t *testing.T) {
q: `(SELECT * FROM a_table) UNION ALL (SELECT * FROM a_table2)`,
err: nil,
},
{
name: "allows keywords 'is', 'not', 'null'",
q: `SELECT * FROM a_table WHERE a_column IS NOT NULL`,
err: nil,
},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {