{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11959","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11959/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11959/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11959/events","html_url":"https://github.com/apache/spark/pull/11959","id":143514545,"number":11959,"title":"[SPARK-14157][SQL] Parse Drop Function DDL command","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-25T14:40:49Z","updated_at":"2016-03-26T03:24:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11959","html_url":"https://github.com/apache/spark/pull/11959","diff_url":"https://github.com/apache/spark/pull/11959.diff","patch_url":"https://github.com/apache/spark/pull/11959.patch"},"body":"## What changes were proposed in this pull request?\r\nJIRA: https://issues.apache.org/jira/browse/SPARK-14157\r\n\r\nWe only parse create function command. In order to support native drop function command, we need to parse it too.\r\n\r\nFrom Hive [manual](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/ReloadFunction), the drop function command has syntax as:\r\n\r\nDROP [TEMPORARY] FUNCTION [IF EXISTS] function_name;\r\n\r\n## How was this patch tested?\r\n\r\nAdded test into `DDLCommandSuite`.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/201698964","html_url":"https://github.com/apache/spark/pull/11959#issuecomment-201698964","issue_url":"https://api.github.com/repos/apache/spark/issues/11959","id":201698964,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T03:24:37Z","updated_at":"2016-03-26T03:24:37Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54245/\nTest PASSed."}}