JyunSheng Kao created SPARK-60154:
-------------------------------------

             Summary: 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
    Affects Versions: 4.4.0
            Reporter: JyunSheng Kao


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