SQL Expressions: allow ParenSelect in queries (#102807)

sql_expressions: allow ParenSelect
This commit is contained in:
Kyle Brandt authored and GitHub committed 2025-03-25 16:19:52 +00:00
1 parent 13058d2715
commit 0f6aff2057
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ func TestAllowQuery(t *testing.T) {
q: example_all_allowed_functions,
err: nil,
},
{
name: "paren select allowed",
q: `(SELECT * FROM a_table) UNION ALL (SELECT * FROM a_table2)`,
err: nil,
},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {