aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@databricks.com>2016-09-29 17:56:32 -0700
committerReynold Xin <rxin@databricks.com>2016-09-29 17:56:32 -0700
commit74ac1c43817c0b8da70342e540ec7638dd7d01bd (patch)
tree2b804a8fb24074efeaa8537292ce98136eaa8b95 /mllib
parent2f739567080d804a942cfcca0e22f91ab7cbea36 (diff)
downloadspark-74ac1c43817c0b8da70342e540ec7638dd7d01bd.tar.gz
spark-74ac1c43817c0b8da70342e540ec7638dd7d01bd.tar.bz2
spark-74ac1c43817c0b8da70342e540ec7638dd7d01bd.zip
[SPARK-17717][SQL] Add exist/find methods to Catalog.
## What changes were proposed in this pull request? The current user facing catalog does not implement methods for checking object existence or finding objects. You could theoretically do this using the `list*` commands, but this is rather cumbersome and can actually be costly when there are many objects. This PR adds `exists*` and `find*` methods for Databases, Table and Functions. ## How was this patch tested? Added tests to `org.apache.spark.sql.internal.CatalogSuite` Author: Herman van Hovell <hvanhovell@databricks.com> Closes #15301 from hvanhovell/SPARK-17717.
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions