[ https://issues.apache.org/jira/browse/SPARK-40719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614686#comment-17614686 ]
Apache Spark commented on SPARK-40719: -------------------------------------- User 'dongjoon-hyun' has created a pull request for this issue: https://github.com/apache/spark/pull/38180 > 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.3.0 > 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