[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to