Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26505

Catalog class Function is missing "database" field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • PySpark
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            drboyer Devin Boyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: