Description
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") } }