SQL Expressions: Exclude CTEs from required Tables (#106479)

Fixes #105030

---------

Co-authored-by: Sam Jewell <2903904+samjewell@users.noreply.github.com>
This commit is contained in:
Kyle BrandtandSam Jewell authored and GitHub committed 2025-06-11 10:36:28 -04:00
1 parent c0e7701ad4
commit 1be9e60667
5 files changed
+62 -20

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ func TestTablesList(t *testing.T) {
)
SELECT name, price
FROM top_products;`,
expected: []string{"products", "top_products"},
expected: []string{"products"},
},
{
name: "with quote",