mirror of
https://github.com/apache/superset.git
synced 2026-06-12 19:19:20 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user