[ 
https://issues.apache.org/jira/browse/SPARK-26307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-26307:
------------------------------------

    Assignee: Xiao Li  (was: Apache Spark)

> Fix CTAS when INSERT a partitioned table using Hive serde
> ---------------------------------------------------------
>
>                 Key: SPARK-26307
>                 URL: https://issues.apache.org/jira/browse/SPARK-26307
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.2, 2.4.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Major
>
> {code:java}
>     withTable("hive_test") {
>       withSQLConf(
>           "hive.exec.dynamic.partition.mode" -> "nonstrict") {
>         val df = Seq(("a", 100)).toDF("part", "id")
>         df.write.format("hive").partitionBy("part")
>           .mode("overwrite").saveAsTable("hive_test")
>         df.write.format("hive").partitionBy("part")
>           .mode("append").saveAsTable("hive_test")
>       }
>     }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to