fix(sqllab): quote CTAS target identifiers and validate tmp_table_name format (#40245)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Shaitan
2026-06-03 12:55:25 +01:00
committed by GitHub
parent 725f5ed2a9
commit f7f50a7977
6 changed files with 56 additions and 118 deletions

View File

@@ -2712,7 +2712,7 @@ def test_rls_predicate_transformer(
"SELECT * FROM some_table",
Table("some_table"),
"""
CREATE TABLE some_table AS
CREATE TABLE "some_table" AS
SELECT
*
FROM some_table
@@ -2722,7 +2722,7 @@ FROM some_table
"SELECT * FROM some_table",
Table("some_table", "schema1", "catalog1"),
"""
CREATE TABLE catalog1.schema1.some_table AS
CREATE TABLE "catalog1"."schema1"."some_table" AS
SELECT
*
FROM some_table