You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:51:05 UTC
[jira] [Updated] (SPARK-26505) Catalog class Function is missing
"database" field
[ https://issues.apache.org/jira/browse/SPARK-26505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-26505:
----------------------------------
Affects Version/s: (was: 3.0.0)
3.1.0
> Catalog class Function is missing "database" field
> --------------------------------------------------
>
> Key: SPARK-26505
> URL: https://issues.apache.org/jira/browse/SPARK-26505
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.1.0
> Reporter: Devin Boyer
> Priority: Minor
>
> 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|http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.catalog.Function] contains a `database` attribute, while the [Python version|https://github.com/apache/spark/blob/v2.4.0/python/pyspark/sql/catalog.py#L32] 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|[https://github.com/apache/spark/pull/20658#issuecomment-368561007]]), so it would have to be made for Spark 3.0.0, the next major version where breaking API changes can occur.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org