{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments/93365825","pull_request_review_id":13891122,"id":93365825,"diff_hunk":"@@ -31,6 +31,10 @@ class CarbonOption(options: Map[String, String]) {\n \n   def tablePath: String = s\"$dbName/$tableName\"\n \n+  def allowExisting: String = options.getOrElse(\"allowExisting\", \"true\")\n+\n+  def tblProperties: String = options.getOrElse(\"tblproperties\", \"\")","path":"integration/spark-common/src/main/scala/org/apache/carbondata/spark/CarbonOption.scala","position":6,"original_position":6,"commit_id":"9f91e5fdd30a046a659df2ef0f5be7b896243733","original_commit_id":"9f91e5fdd30a046a659df2ef0f5be7b896243733","user":{"login":"Jay357089","id":15048145,"avatar_url":"https://avatars.githubusercontent.com/u/15048145?v=3","gravatar_id":"","url":"https://api.github.com/users/Jay357089","html_url":"https://github.com/Jay357089","followers_url":"https://api.github.com/users/Jay357089/followers","following_url":"https://api.github.com/users/Jay357089/following{/other_user}","gists_url":"https://api.github.com/users/Jay357089/gists{/gist_id}","starred_url":"https://api.github.com/users/Jay357089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jay357089/subscriptions","organizations_url":"https://api.github.com/users/Jay357089/orgs","repos_url":"https://api.github.com/users/Jay357089/repos","events_url":"https://api.github.com/users/Jay357089/events{/privacy}","received_events_url":"https://api.github.com/users/Jay357089/received_events","type":"User","site_admin":false},"body":"it can be an option. in one way, it can  enhance dataFrame API, for example, .option(\"tblproperties\", \"'dictionary_incdlue='id''), so that user can decide for make dict or not.  in another way, it can support for using tableproperties when  CreateAsSelect .","created_at":"2016-12-21T02:42:36Z","updated_at":"2016-12-21T02:42:36Z","html_url":"https://github.com/apache/incubator-carbondata/pull/309#discussion_r93365825","pull_request_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments/93365825"},"html":{"href":"https://github.com/apache/incubator-carbondata/pull/309#discussion_r93365825"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309","id":93097486,"html_url":"https://github.com/apache/incubator-carbondata/pull/309","diff_url":"https://github.com/apache/incubator-carbondata/pull/309.diff","patch_url":"https://github.com/apache/incubator-carbondata/pull/309.patch","issue_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/309","number":309,"state":"open","locked":false,"title":"[CARBONDATA-402] support CreateAsSelect","user":{"login":"Jay357089","id":15048145,"avatar_url":"https://avatars.githubusercontent.com/u/15048145?v=3","gravatar_id":"","url":"https://api.github.com/users/Jay357089","html_url":"https://github.com/Jay357089","followers_url":"https://api.github.com/users/Jay357089/followers","following_url":"https://api.github.com/users/Jay357089/following{/other_user}","gists_url":"https://api.github.com/users/Jay357089/gists{/gist_id}","starred_url":"https://api.github.com/users/Jay357089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jay357089/subscriptions","organizations_url":"https://api.github.com/users/Jay357089/orgs","repos_url":"https://api.github.com/users/Jay357089/repos","events_url":"https://api.github.com/users/Jay357089/events{/privacy}","received_events_url":"https://api.github.com/users/Jay357089/received_events","type":"User","site_admin":false},"body":"https://issues.apache.org/jira/browse/CARBONDATA-402\r\n\r\nthe syntax is like below:\r\nCREATE TABLE t4 STORED BY 'carbondata' TBLPROPERTIES(''='')  AS SELECT * FROM t3;","created_at":"2016-11-10T07:04:03Z","updated_at":"2016-12-21T02:42:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a435a58a4c620e9a1ae127dac457b49f122a859","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/309/comments","statuses_url":"https://api.github.com/repos/apache/incubator-carbondata/statuses/9f91e5fdd30a046a659df2ef0f5be7b896243733","head":{"label":"Jay357089:CreateAsSelect","ref":"CreateAsSelect","sha":"9f91e5fdd30a046a659df2ef0f5be7b896243733","user":{"login":"Jay357089","id":15048145,"avatar_url":"https://avatars.githubusercontent.com/u/15048145?v=3","gravatar_id":"","url":"https://api.github.com/users/Jay357089","html_url":"https://github.com/Jay357089","followers_url":"https://api.github.com/users/Jay357089/followers","following_url":"https://api.github.com/users/Jay357089/following{/other_user}","gists_url":"https://api.github.com/users/Jay357089/gists{/gist_id}","starred_url":"https://api.github.com/users/Jay357089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jay357089/subscriptions","organizations_url":"https://api.github.com/users/Jay357089/orgs","repos_url":"https://api.github.com/users/Jay357089/repos","events_url":"https://api.github.com/users/Jay357089/events{/privacy}","received_events_url":"https://api.github.com/users/Jay357089/received_events","type":"User","site_admin":false},"repo":{"id":62352370,"name":"incubator-carbondata","full_name":"Jay357089/incubator-carbondata","owner":{"login":"Jay357089","id":15048145,"avatar_url":"https://avatars.githubusercontent.com/u/15048145?v=3","gravatar_id":"","url":"https://api.github.com/users/Jay357089","html_url":"https://github.com/Jay357089","followers_url":"https://api.github.com/users/Jay357089/followers","following_url":"https://api.github.com/users/Jay357089/following{/other_user}","gists_url":"https://api.github.com/users/Jay357089/gists{/gist_id}","starred_url":"https://api.github.com/users/Jay357089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jay357089/subscriptions","organizations_url":"https://api.github.com/users/Jay357089/orgs","repos_url":"https://api.github.com/users/Jay357089/repos","events_url":"https://api.github.com/users/Jay357089/events{/privacy}","received_events_url":"https://api.github.com/users/Jay357089/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jay357089/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":true,"url":"https://api.github.com/repos/Jay357089/incubator-carbondata","forks_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/Jay357089/incubator-carbondata/deployments","created_at":"2016-07-01T01:12:44Z","updated_at":"2016-07-01T01:12:48Z","pushed_at":"2016-12-19T08:06:21Z","git_url":"git://github.com/Jay357089/incubator-carbondata.git","ssh_url":"git@github.com:Jay357089/incubator-carbondata.git","clone_url":"https://github.com/Jay357089/incubator-carbondata.git","svn_url":"https://github.com/Jay357089/incubator-carbondata","homepage":null,"size":39819,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"f5dcbb52616de71e724ebe08dfca11851dfc31d3","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":62117818,"name":"incubator-carbondata","full_name":"apache/incubator-carbondata","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/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-carbondata","forks_url":"https://api.github.com/repos/apache/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/apache/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/apache/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/apache/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/apache/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/apache/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/apache/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/apache/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-carbondata/deployments","created_at":"2016-06-28T07:00:06Z","updated_at":"2016-12-20T07:49:48Z","pushed_at":"2016-12-21T01:13:11Z","git_url":"git://github.com/apache/incubator-carbondata.git","ssh_url":"git@github.com:apache/incubator-carbondata.git","clone_url":"https://github.com/apache/incubator-carbondata.git","svn_url":"https://github.com/apache/incubator-carbondata","homepage":null,"size":39734,"stargazers_count":194,"watchers_count":194,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":178,"mirror_url":"git://git.apache.org/incubator-carbondata.git","open_issues_count":44,"forks":178,"open_issues":44,"watchers":194,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309"},"html":{"href":"https://github.com/apache/incubator-carbondata/pull/309"},"issue":{"href":"https://api.github.com/repos/apache/incubator-carbondata/issues/309"},"comments":{"href":"https://api.github.com/repos/apache/incubator-carbondata/issues/309/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/309/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-carbondata/statuses/9f91e5fdd30a046a659df2ef0f5be7b896243733"}}}}
{"actor":{"display_login":"Jay357089"}}