You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2018/12/10 07:02:00 UTC
[jira] [Resolved] (SPARK-26307) Fix CTAS when INSERT a partitioned
table using Hive serde
[ https://issues.apache.org/jira/browse/SPARK-26307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-26307.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.4.1
3.0.0
2.3.3
Issue resolved by pull request 23255
[https://github.com/apache/spark/pull/23255]
> 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
> Fix For: 2.3.3, 3.0.0, 2.4.1
>
>
> {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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org