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 2020/05/26 05:16:00 UTC

[jira] [Resolved] (SPARK-31810) Fix recoverPartitions test in DDLSuite

     [ https://issues.apache.org/jira/browse/SPARK-31810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-31810.
----------------------------------
    Fix Version/s: 3.0.0
         Assignee: Prakhar Jain
       Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/28634

> Fix recoverPartitions test in DDLSuite
> --------------------------------------
>
>                 Key: SPARK-31810
>                 URL: https://issues.apache.org/jira/browse/SPARK-31810
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Tests
>    Affects Versions: 2.3.4, 2.4.5, 3.0.0
>            Reporter: Prakhar Jain
>            Assignee: Prakhar Jain
>            Priority: Major
>             Fix For: 3.0.0
>
>
> The recoverPartitions test [[link|https://github.com/apache/spark/blob/v3.0.0-rc2/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala#L1205]]] overrides RDD_PARALLEL_LISTING_THRESHOLD treating it as SQLConf. But RDD_PARALLEL_LISTING_THRESHOLD is not a SQLConf, so it doesn't get overriden in SharedSparkSession and so the existing test doesn't end up testing the required behaviour.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org