Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/12239#discussion_r60677401
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertIntoHiveTableSuite.scala
---
@@ -259,4 +261,78 @@ class InsertIntoHiveTableSuite extends QueryTest with
TestHiveSingleton with Bef
sql("DROP TABLE table_with_partition")
}
+
+ test("Reject partitioning that does not match table") {
+ sqlContext.setConf("hive.exec.dynamic.partition.mode", "nonstrict")
--- End diff --
please use `withConf`, so that these conf will be cleaned after test
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]