{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15301","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15301/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15301/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15301/events","html_url":"https://github.com/apache/spark/pull/15301","id":180123299,"number":15301,"title":"[SPARK-17717][SQL] Add exist/find methods to Catalog.","user":{"login":"hvanhovell","id":9616802,"avatar_url":"https://avatars.githubusercontent.com/u/9616802?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanhovell","html_url":"https://github.com/hvanhovell","followers_url":"https://api.github.com/users/hvanhovell/followers","following_url":"https://api.github.com/users/hvanhovell/following{/other_user}","gists_url":"https://api.github.com/users/hvanhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanhovell/subscriptions","organizations_url":"https://api.github.com/users/hvanhovell/orgs","repos_url":"https://api.github.com/users/hvanhovell/repos","events_url":"https://api.github.com/users/hvanhovell/events{/privacy}","received_events_url":"https://api.github.com/users/hvanhovell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-29T18:17:04Z","updated_at":"2016-09-29T18:38:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15301","html_url":"https://github.com/apache/spark/pull/15301","diff_url":"https://github.com/apache/spark/pull/15301.diff","patch_url":"https://github.com/apache/spark/pull/15301.patch"},"body":"## What changes were proposed in this pull request?\r\nThe 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.\r\n\r\n## How was this patch tested?\r\nAdded tests to `org.apache.spark.sql.internal.CatalogSuite`\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/250554076","html_url":"https://github.com/apache/spark/pull/15301#issuecomment-250554076","issue_url":"https://api.github.com/repos/apache/spark/issues/15301","id":250554076,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T18:38:24Z","updated_at":"2016-09-29T18:38:24Z","body":"**[Test build #66115 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/66115/consoleFull)** for PR 15301 at commit [`92233f8`](https://github.com/apache/spark/commit/92233f8010f46d44bcbcee25179cf0fb1d768ffa).\n * This patch **fails MiMa tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}