{"action":"created","comment":{"url":"https://api.github.com/repos/apache/carbondata/pulls/comments/177418141","pull_request_review_id":107283272,"id":177418141,"diff_hunk":"@@ -0,0 +1,49 @@\n+/*\n+ * Licensed to the Apache Software Foundation (ASF) under one or more\n+ * contributor license agreements.  See the NOTICE file distributed with\n+ * this work for additional information regarding copyright ownership.\n+ * The ASF licenses this file to You under the Apache License, Version 2.0\n+ * (the \"License\"); you may not use this file except in compliance with\n+ * the License.  You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.apache.spark.sql.execution.command.datamap\n+\n+import org.apache.spark.sql.{CarbonEnv, Row, SparkSession}\n+import org.apache.spark.sql.catalyst.TableIdentifier\n+import org.apache.spark.sql.execution.command.DataCommand\n+\n+import org.apache.carbondata.core.datamap.DataMapStoreManager\n+import org.apache.carbondata.core.datamap.status.DataMapStatusManager\n+import org.apache.carbondata.datamap.DataMapManager\n+\n+/**\n+ * Refresh the datamaps while sync with main table data.\n+ * @param tableIdentifier\n+ */\n+case class CarbonDataMapRefreshCommand(dataMapName: String,\n+    tableIdentifier: Option[TableIdentifier]) extends DataCommand {\n+\n+  override def processData(sparkSession: SparkSession): Seq[Row] = {\n+","path":"integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/datamap/CarbonDataMapRefreshCommand.scala","position":36,"original_position":36,"commit_id":"a88015d0d040809a662c84cd8688c53bf8b7c780","original_commit_id":"a88015d0d040809a662c84cd8688c53bf8b7c780","user":{"login":"jackylk","id":6500698,"avatar_url":"https://avatars3.githubusercontent.com/u/6500698?v=4","gravatar_id":"","url":"https://api.github.com/users/jackylk","html_url":"https://github.com/jackylk","followers_url":"https://api.github.com/users/jackylk/followers","following_url":"https://api.github.com/users/jackylk/following{/other_user}","gists_url":"https://api.github.com/users/jackylk/gists{/gist_id}","starred_url":"https://api.github.com/users/jackylk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackylk/subscriptions","organizations_url":"https://api.github.com/users/jackylk/orgs","repos_url":"https://api.github.com/users/jackylk/repos","events_url":"https://api.github.com/users/jackylk/events{/privacy}","received_events_url":"https://api.github.com/users/jackylk/received_events","type":"User","site_admin":false},"body":"remove empty line","created_at":"2018-03-27T13:13:53Z","updated_at":"2018-03-27T13:13:53Z","html_url":"https://github.com/apache/carbondata/pull/2106#discussion_r177418141","pull_request_url":"https://api.github.com/repos/apache/carbondata/pulls/2106","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/carbondata/pulls/comments/177418141"},"html":{"href":"https://github.com/apache/carbondata/pull/2106#discussion_r177418141"},"pull_request":{"href":"https://api.github.com/repos/apache/carbondata/pulls/2106"}}},"pull_request":{"url":"https://api.github.com/repos/apache/carbondata/pulls/2106","id":177609158,"html_url":"https://github.com/apache/carbondata/pull/2106","diff_url":"https://github.com/apache/carbondata/pull/2106.diff","patch_url":"https://github.com/apache/carbondata/pull/2106.patch","issue_url":"https://api.github.com/repos/apache/carbondata/issues/2106","number":2106,"state":"open","locked":false,"title":"[WIP] Added datamap status and refresh command to sync data manually to datamaps","user":{"login":"ravipesala","id":8134086,"avatar_url":"https://avatars2.githubusercontent.com/u/8134086?v=4","gravatar_id":"","url":"https://api.github.com/users/ravipesala","html_url":"https://github.com/ravipesala","followers_url":"https://api.github.com/users/ravipesala/followers","following_url":"https://api.github.com/users/ravipesala/following{/other_user}","gists_url":"https://api.github.com/users/ravipesala/gists{/gist_id}","starred_url":"https://api.github.com/users/ravipesala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravipesala/subscriptions","organizations_url":"https://api.github.com/users/ravipesala/orgs","repos_url":"https://api.github.com/users/ravipesala/repos","events_url":"https://api.github.com/users/ravipesala/events{/privacy}","received_events_url":"https://api.github.com/users/ravipesala/received_events","type":"User","site_admin":false},"body":"This  PR depends on PR https://github.com/apache/carbondata/pull/2100\r\n\r\nBe sure to do all of the following checklist to help us incorporate \r\nyour contribution quickly and easily:\r\n\r\n - [ ] Any interfaces changed?\r\n \r\n - [ ] Any backward compatibility impacted?\r\n \r\n - [ ] Document update required?\r\n\r\n - [ ] Testing done\r\n        Please provide details on \r\n        - Whether new unit test cases have been added or why no new tests are required?\r\n        - How it is tested? Please attach test report.\r\n        - Is it a performance related change? Please attach the performance test report.\r\n        - Any additional information to help reviewers in testing this change.\r\n       \r\n - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. \r\n\r\n","created_at":"2018-03-27T01:29:50Z","updated_at":"2018-03-27T13:13:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63141d5b69d60ce546731403a29b3cc67a9dd802","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/carbondata/pulls/2106/commits","review_comments_url":"https://api.github.com/repos/apache/carbondata/pulls/2106/comments","review_comment_url":"https://api.github.com/repos/apache/carbondata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/carbondata/issues/2106/comments","statuses_url":"https://api.github.com/repos/apache/carbondata/statuses/a88015d0d040809a662c84cd8688c53bf8b7c780","head":{"label":"ravipesala:loaddatamap","ref":"loaddatamap","sha":"a88015d0d040809a662c84cd8688c53bf8b7c780","user":{"login":"ravipesala","id":8134086,"avatar_url":"https://avatars2.githubusercontent.com/u/8134086?v=4","gravatar_id":"","url":"https://api.github.com/users/ravipesala","html_url":"https://github.com/ravipesala","followers_url":"https://api.github.com/users/ravipesala/followers","following_url":"https://api.github.com/users/ravipesala/following{/other_user}","gists_url":"https://api.github.com/users/ravipesala/gists{/gist_id}","starred_url":"https://api.github.com/users/ravipesala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravipesala/subscriptions","organizations_url":"https://api.github.com/users/ravipesala/orgs","repos_url":"https://api.github.com/users/ravipesala/repos","events_url":"https://api.github.com/users/ravipesala/events{/privacy}","received_events_url":"https://api.github.com/users/ravipesala/received_events","type":"User","site_admin":false},"repo":{"id":62142167,"name":"incubator-carbondata","full_name":"ravipesala/incubator-carbondata","owner":{"login":"ravipesala","id":8134086,"avatar_url":"https://avatars2.githubusercontent.com/u/8134086?v=4","gravatar_id":"","url":"https://api.github.com/users/ravipesala","html_url":"https://github.com/ravipesala","followers_url":"https://api.github.com/users/ravipesala/followers","following_url":"https://api.github.com/users/ravipesala/following{/other_user}","gists_url":"https://api.github.com/users/ravipesala/gists{/gist_id}","starred_url":"https://api.github.com/users/ravipesala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravipesala/subscriptions","organizations_url":"https://api.github.com/users/ravipesala/orgs","repos_url":"https://api.github.com/users/ravipesala/repos","events_url":"https://api.github.com/users/ravipesala/events{/privacy}","received_events_url":"https://api.github.com/users/ravipesala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ravipesala/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":true,"url":"https://api.github.com/repos/ravipesala/incubator-carbondata","forks_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/ravipesala/incubator-carbondata/deployments","created_at":"2016-06-28T13:16:56Z","updated_at":"2017-09-09T13:36:56Z","pushed_at":"2018-03-27T01:21:30Z","git_url":"git://github.com/ravipesala/incubator-carbondata.git","ssh_url":"git@github.com:ravipesala/incubator-carbondata.git","clone_url":"https://github.com/ravipesala/incubator-carbondata.git","svn_url":"https://github.com/ravipesala/incubator-carbondata","homepage":null,"size":119480,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"26976a816e278697b1f059f55dca9a95a55d62da","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":"carbondata","full_name":"apache/carbondata","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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/carbondata","description":"Mirror of Apache CarbonData","fork":false,"url":"https://api.github.com/repos/apache/carbondata","forks_url":"https://api.github.com/repos/apache/carbondata/forks","keys_url":"https://api.github.com/repos/apache/carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/carbondata/teams","hooks_url":"https://api.github.com/repos/apache/carbondata/hooks","issue_events_url":"https://api.github.com/repos/apache/carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/apache/carbondata/events","assignees_url":"https://api.github.com/repos/apache/carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/apache/carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/apache/carbondata/tags","blobs_url":"https://api.github.com/repos/apache/carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/carbondata/languages","stargazers_url":"https://api.github.com/repos/apache/carbondata/stargazers","contributors_url":"https://api.github.com/repos/apache/carbondata/contributors","subscribers_url":"https://api.github.com/repos/apache/carbondata/subscribers","subscription_url":"https://api.github.com/repos/apache/carbondata/subscription","commits_url":"https://api.github.com/repos/apache/carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/apache/carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/carbondata/merges","archive_url":"https://api.github.com/repos/apache/carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/carbondata/downloads","issues_url":"https://api.github.com/repos/apache/carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/apache/carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/carbondata/labels{/name}","releases_url":"https://api.github.com/repos/apache/carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/apache/carbondata/deployments","created_at":"2016-06-28T07:00:06Z","updated_at":"2018-03-27T11:58:39Z","pushed_at":"2018-03-27T12:39:52Z","git_url":"git://github.com/apache/carbondata.git","ssh_url":"git@github.com:apache/carbondata.git","clone_url":"https://github.com/apache/carbondata.git","svn_url":"https://github.com/apache/carbondata","homepage":"","size":56027,"stargazers_count":631,"watchers_count":631,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":398,"mirror_url":null,"archived":false,"open_issues_count":105,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":398,"open_issues":105,"watchers":631,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/carbondata/pulls/2106"},"html":{"href":"https://github.com/apache/carbondata/pull/2106"},"issue":{"href":"https://api.github.com/repos/apache/carbondata/issues/2106"},"comments":{"href":"https://api.github.com/repos/apache/carbondata/issues/2106/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/carbondata/pulls/2106/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/carbondata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/carbondata/pulls/2106/commits"},"statuses":{"href":"https://api.github.com/repos/apache/carbondata/statuses/a88015d0d040809a662c84cd8688c53bf8b7c780"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jackylk"}}