Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12239#discussion_r62157407
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertIntoHiveTableSuite.scala
 ---
    @@ -212,4 +214,77 @@ class InsertIntoHiveTableSuite extends QueryTest with 
TestHiveSingleton with Bef
     
         sql("DROP TABLE hiveTableWithStructValue")
       }
    +
    +  test("Reject partitioning that does not match table") {
    +    withSQLConf(("hive.exec.dynamic.partition.mode", "nonstrict")) {
    --- End diff --
    
    I doubt whether this configuration is effective/respected in Spark. Not 
quite familiar with the newly refactored Spark configuration API. I guess it's 
probably not respected, and you don't need it to create tables partitioned by 
dynamic partitions only in Spark.


---
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]

Reply via email to