Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
This change fell out of the review of https://github.com/apache/spark/pull/20658, which is the implementation of https://issues.apache.org/jira/browse/SPARK-23488. The Scala Catalog class Function contains a `database` attribute, while the Python version does not.
To be consistent, it would likely be best to add the `database` attribute to the Python class. This would be a breaking API change, though (as discussed in this PR comment), so it would have to be made for Spark 3.0.0, the next major version where breaking API changes can occur.