You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/08/02 19:21:00 UTC

[jira] [Commented] (SPARK-21574) set hive.exec.max.dynamic.partitions lose effect

    [ https://issues.apache.org/jira/browse/SPARK-21574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111573#comment-16111573 ] 

Hyukjin Kwon commented on SPARK-21574:
--------------------------------------

User 'wangyum' has created a pull request for this issue:
https://github.com/apache/spark/pull/18769

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org