Yuming Wang created SPARK-21574:
-----------------------------------
Summary: set hive.exec.max.dynamic.partitions lose effect
Key: SPARK-21574
URL: https://issues.apache.org/jira/browse/SPARK-21574
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.2.0, 2.3.0
Reporter: Yuming Wang
How to reproduce:
{code:java}
val data = (0 until 1001).map(i => (i, i))
spark.createDataFrame(data).toDF("c1",
"c2").createOrReplaceTempView("sourceTable")
spark.sql("create table targetTable(c1 int) PARTITIONED BY(c2 int)")
spark.sql("set hive.exec.dynamic.partition.mode=nonstrict")
spark.sql("set hive.exec.max.dynamic.partitions=1001")
spark.sql("insert overwrite table targetTable partition(c2) select * from
sourceTable")
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]