You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tian Gao (Jira)" <ji...@apache.org> on 2026/10/11 08:06:00 UTC

[jira] [Resolved] (SPARK-60154) Add test for Catalog.createDatabase with properties

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

Tian Gao resolved SPARK-60154.
------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 59357
[https://github.com/apache/spark/pull/59357]

> Add test for Catalog.createDatabase with properties
> ---------------------------------------------------
>
>                 Key: SPARK-60154
>                 URL: https://issues.apache.org/jira/browse/SPARK-60154
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, Tests
>    Affects Versions: 4.4.0
>            Reporter: JyunSheng Kao
>            Assignee: JyunSheng Kao
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> h2. Description 
> *Catalog.createDatabase(dbName, ifNotExists, properties)* was introduced in 4.2.0 (SPARK-56221), however no existing test covers *properties* . The current Python test, the doctests, and the Scala tests all call createDatabase(dbName) only.
> The code path that copies properties into the JVM map in the classic implementation is never run, and nothing checks that the *properties* are actually applied, in either classic or Spark Connect mode.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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