{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/26026716","id":26026716,"diff_hunk":"@@ -208,6 +209,87 @@ case class DescribeCommand(\n }\n \n /**\n+ * :: DeveloperApi ::\n+ */\n+@DeveloperApi\n+case class ShowDialectsCommand(\n+                                isExtended: Boolean,\n+                                isCurrent: Boolean) extends RunnableCommand {","path":"sql/core/src/main/scala/org/apache/spark/sql/execution/commands.scala","position":17,"original_position":17,"commit_id":"356bd6d6bc682f5293f0742fb331892d8e984742","original_commit_id":"2f0ee4efcc3ea1fe38521e6b2189eb80e1f62cc1","user":{"login":"scwf","id":7018048,"avatar_url":"https://avatars.githubusercontent.com/u/7018048?v=3","gravatar_id":"","url":"https://api.github.com/users/scwf","html_url":"https://github.com/scwf","followers_url":"https://api.github.com/users/scwf/followers","following_url":"https://api.github.com/users/scwf/following{/other_user}","gists_url":"https://api.github.com/users/scwf/gists{/gist_id}","starred_url":"https://api.github.com/users/scwf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scwf/subscriptions","organizations_url":"https://api.github.com/users/scwf/orgs","repos_url":"https://api.github.com/users/scwf/repos","events_url":"https://api.github.com/users/scwf/events{/privacy}","received_events_url":"https://api.github.com/users/scwf/received_events","type":"User","site_admin":false},"body":"should be Indentation","created_at":"2015-03-09T10:55:27Z","updated_at":"2015-03-09T10:55:27Z","html_url":"https://github.com/apache/spark/pull/4939#discussion_r26026716","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/4939","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/26026716"},"html":{"href":"https://github.com/apache/spark/pull/4939#discussion_r26026716"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/4939"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4939","id":30714934,"html_url":"https://github.com/apache/spark/pull/4939","diff_url":"https://github.com/apache/spark/pull/4939.diff","patch_url":"https://github.com/apache/spark/pull/4939.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/4939","number":4939,"state":"open","locked":false,"title":"[SPARK-6200] [SQL] Add a manager for dialects","user":{"login":"haiyangsea","id":7162889,"avatar_url":"https://avatars.githubusercontent.com/u/7162889?v=3","gravatar_id":"","url":"https://api.github.com/users/haiyangsea","html_url":"https://github.com/haiyangsea","followers_url":"https://api.github.com/users/haiyangsea/followers","following_url":"https://api.github.com/users/haiyangsea/following{/other_user}","gists_url":"https://api.github.com/users/haiyangsea/gists{/gist_id}","starred_url":"https://api.github.com/users/haiyangsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiyangsea/subscriptions","organizations_url":"https://api.github.com/users/haiyangsea/orgs","repos_url":"https://api.github.com/users/haiyangsea/repos","events_url":"https://api.github.com/users/haiyangsea/events{/privacy}","received_events_url":"https://api.github.com/users/haiyangsea/received_events","type":"User","site_admin":false},"body":"This PR added an independent dialect manager.\r\n\r\nsupport sql statement to manage dialect:\r\n\r\nSHOW [EXTENDED] DIALECT -> show dialect name that is being used,if there is extended keyword,show the extended info.\r\n\r\nSHOW [EXTENDED] DIALECTS -> show all dialects\r\n\r\nCREATE DIALECT dialect_name USING dialect_full_classname -> add a new dialect with name \"dialect_name\" using the class that \"dialect_full_classname\" represented\r\n\r\nDROP DIALECT dialect_name -> drop a dialect\r\n\r\nUSE DIALECT dialect_name -> switch dialect","created_at":"2015-03-08T05:11:47Z","updated_at":"2015-03-09T10:55:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19ab40dd6d0374ce8bc6a7cbada36aae79ca858c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/4939/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/4939/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/4939/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/356bd6d6bc682f5293f0742fb331892d8e984742","head":{"label":"haiyangsea:dialect","ref":"dialect","sha":"356bd6d6bc682f5293f0742fb331892d8e984742","user":{"login":"haiyangsea","id":7162889,"avatar_url":"https://avatars.githubusercontent.com/u/7162889?v=3","gravatar_id":"","url":"https://api.github.com/users/haiyangsea","html_url":"https://github.com/haiyangsea","followers_url":"https://api.github.com/users/haiyangsea/followers","following_url":"https://api.github.com/users/haiyangsea/following{/other_user}","gists_url":"https://api.github.com/users/haiyangsea/gists{/gist_id}","starred_url":"https://api.github.com/users/haiyangsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiyangsea/subscriptions","organizations_url":"https://api.github.com/users/haiyangsea/orgs","repos_url":"https://api.github.com/users/haiyangsea/repos","events_url":"https://api.github.com/users/haiyangsea/events{/privacy}","received_events_url":"https://api.github.com/users/haiyangsea/received_events","type":"User","site_admin":false},"repo":{"id":27659471,"name":"spark","full_name":"haiyangsea/spark","owner":{"login":"haiyangsea","id":7162889,"avatar_url":"https://avatars.githubusercontent.com/u/7162889?v=3","gravatar_id":"","url":"https://api.github.com/users/haiyangsea","html_url":"https://github.com/haiyangsea","followers_url":"https://api.github.com/users/haiyangsea/followers","following_url":"https://api.github.com/users/haiyangsea/following{/other_user}","gists_url":"https://api.github.com/users/haiyangsea/gists{/gist_id}","starred_url":"https://api.github.com/users/haiyangsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiyangsea/subscriptions","organizations_url":"https://api.github.com/users/haiyangsea/orgs","repos_url":"https://api.github.com/users/haiyangsea/repos","events_url":"https://api.github.com/users/haiyangsea/events{/privacy}","received_events_url":"https://api.github.com/users/haiyangsea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haiyangsea/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/haiyangsea/spark","forks_url":"https://api.github.com/repos/haiyangsea/spark/forks","keys_url":"https://api.github.com/repos/haiyangsea/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haiyangsea/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haiyangsea/spark/teams","hooks_url":"https://api.github.com/repos/haiyangsea/spark/hooks","issue_events_url":"https://api.github.com/repos/haiyangsea/spark/issues/events{/number}","events_url":"https://api.github.com/repos/haiyangsea/spark/events","assignees_url":"https://api.github.com/repos/haiyangsea/spark/assignees{/user}","branches_url":"https://api.github.com/repos/haiyangsea/spark/branches{/branch}","tags_url":"https://api.github.com/repos/haiyangsea/spark/tags","blobs_url":"https://api.github.com/repos/haiyangsea/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haiyangsea/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haiyangsea/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/haiyangsea/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haiyangsea/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/haiyangsea/spark/languages","stargazers_url":"https://api.github.com/repos/haiyangsea/spark/stargazers","contributors_url":"https://api.github.com/repos/haiyangsea/spark/contributors","subscribers_url":"https://api.github.com/repos/haiyangsea/spark/subscribers","subscription_url":"https://api.github.com/repos/haiyangsea/spark/subscription","commits_url":"https://api.github.com/repos/haiyangsea/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/haiyangsea/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/haiyangsea/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/haiyangsea/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/haiyangsea/spark/contents/{+path}","compare_url":"https://api.github.com/repos/haiyangsea/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haiyangsea/spark/merges","archive_url":"https://api.github.com/repos/haiyangsea/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haiyangsea/spark/downloads","issues_url":"https://api.github.com/repos/haiyangsea/spark/issues{/number}","pulls_url":"https://api.github.com/repos/haiyangsea/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/haiyangsea/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/haiyangsea/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haiyangsea/spark/labels{/name}","releases_url":"https://api.github.com/repos/haiyangsea/spark/releases{/id}","created_at":"2014-12-07T04:38:55Z","updated_at":"2014-12-30T07:29:06Z","pushed_at":"2015-03-09T10:53:19Z","git_url":"git://github.com/haiyangsea/spark.git","ssh_url":"git@github.com:haiyangsea/spark.git","clone_url":"https://github.com/haiyangsea/spark.git","svn_url":"https://github.com/haiyangsea/spark","homepage":null,"size":92376,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"334c5bd1ae50ac76770e545cab302361673f45de","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-03-09T10:47:47Z","pushed_at":"2015-03-08T19:47:54Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":1358307,"stargazers_count":3116,"watchers_count":3116,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2701,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":281,"forks":2701,"open_issues":281,"watchers":3116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/4939"},"html":{"href":"https://github.com/apache/spark/pull/4939"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/4939"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/4939/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/4939/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/4939/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/356bd6d6bc682f5293f0742fb331892d8e984742"}}}}