[ https://issues.apache.org/jira/browse/SPARK-40719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-40719: ---------------------------------- Affects Version/s: 3.2.2 3.2.1 3.2.0 > CTAS should respect TBLPROPERTIES during execution > -------------------------------------------------- > > Key: SPARK-40719 > URL: https://issues.apache.org/jira/browse/SPARK-40719 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.2.0, 3.2.1, 3.3.0, 3.2.2 > Reporter: Dongjoon Hyun > Priority: Major > > Currently, Spark `CTAS` has inconsistent behavior when we use `STORED AS` and > `USING`. > {code} > spark-sql> CREATE TABLE t1 STORED AS PARQUET TBLPROPERTIES > (parquet.compression 'zstd') AS SELECT 1; > $ ls spark-warehouse/t1 > _SUCCESS > part-00000-c28a99f0-a88f-448d-a60d-e8204bf2f3a7-c000.zstd.parquet > {code} > {code} > spark-sql> CREATE TABLE t2 USING PARQUET TBLPROPERTIES (parquet.compression > 'zstd') AS SELECT 1; > $ ls spark-warehouse/t2 > _SUCCESS > part-00000-3c5853d0-308d-4571-86c3-3e1a31eacfe6-c000.snappy.parquet > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org