{"action":"created","comment":{"url":"https://api.github.com/repos/apache/tajo/pulls/comments/26273518","id":26273518,"diff_hunk":"@@ -0,0 +1,81 @@\n+/**\n+ * Licensed to the Apache Software Foundation (ASF) under one\n+ * or more contributor license agreements.  See the NOTICE file\n+ * distributed with this work for additional information\n+ * regarding copyright ownership.  The ASF licenses this file\n+ * to you under the Apache License, Version 2.0 (the\n+ * \"License\"); you may not use this file except in compliance\n+ * with 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.tajo.engine.utils;\n+\n+import com.google.common.collect.Lists;\n+import com.google.common.collect.Maps;\n+import org.apache.commons.logging.Log;\n+import org.apache.commons.logging.LogFactory;\n+import org.apache.tajo.ExecutionBlockId;\n+\n+import java.util.List;\n+import java.util.Map;\n+\n+public class TableCache {","path":"tajo-core/src/main/java/org/apache/tajo/engine/utils/TableCache.java","position":30,"original_position":30,"commit_id":"fabf69400df28e4badf283c1c3dd5f393fba2364","original_commit_id":"fabf69400df28e4badf283c1c3dd5f393fba2364","user":{"login":"jihoonson","id":2322288,"avatar_url":"https://avatars.githubusercontent.com/u/2322288?v=3","gravatar_id":"","url":"https://api.github.com/users/jihoonson","html_url":"https://github.com/jihoonson","followers_url":"https://api.github.com/users/jihoonson/followers","following_url":"https://api.github.com/users/jihoonson/following{/other_user}","gists_url":"https://api.github.com/users/jihoonson/gists{/gist_id}","starred_url":"https://api.github.com/users/jihoonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihoonson/subscriptions","organizations_url":"https://api.github.com/users/jihoonson/orgs","repos_url":"https://api.github.com/users/jihoonson/repos","events_url":"https://api.github.com/users/jihoonson/events{/privacy}","received_events_url":"https://api.github.com/users/jihoonson/received_events","type":"User","site_admin":false},"body":"Would you add some descriptions on this class?","created_at":"2015-03-12T02:06:02Z","updated_at":"2015-03-12T02:06:02Z","html_url":"https://github.com/apache/tajo/pull/404#discussion_r26273518","pull_request_url":"https://api.github.com/repos/apache/tajo/pulls/404","_links":{"self":{"href":"https://api.github.com/repos/apache/tajo/pulls/comments/26273518"},"html":{"href":"https://github.com/apache/tajo/pull/404#discussion_r26273518"},"pull_request":{"href":"https://api.github.com/repos/apache/tajo/pulls/404"}}},"pull_request":{"url":"https://api.github.com/repos/apache/tajo/pulls/404","id":30818736,"html_url":"https://github.com/apache/tajo/pull/404","diff_url":"https://github.com/apache/tajo/pull/404.diff","patch_url":"https://github.com/apache/tajo/pull/404.patch","issue_url":"https://api.github.com/repos/apache/tajo/issues/404","number":404,"state":"open","locked":false,"title":"TAJO-1383: Improve broadcast table cache","user":{"login":"jinossy","id":3632397,"avatar_url":"https://avatars.githubusercontent.com/u/3632397?v=3","gravatar_id":"","url":"https://api.github.com/users/jinossy","html_url":"https://github.com/jinossy","followers_url":"https://api.github.com/users/jinossy/followers","following_url":"https://api.github.com/users/jinossy/following{/other_user}","gists_url":"https://api.github.com/users/jinossy/gists{/gist_id}","starred_url":"https://api.github.com/users/jinossy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinossy/subscriptions","organizations_url":"https://api.github.com/users/jinossy/orgs","repos_url":"https://api.github.com/users/jinossy/repos","events_url":"https://api.github.com/users/jinossy/events{/privacy}","received_events_url":"https://api.github.com/users/jinossy/received_events","type":"User","site_admin":false},"body":"I’ve change to keep single broadcast table in memory","created_at":"2015-03-10T02:50:05Z","updated_at":"2015-03-12T02:06:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce9d3e94e43444759c0c0ac9b425f312ecba1355","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/tajo/pulls/404/commits","review_comments_url":"https://api.github.com/repos/apache/tajo/pulls/404/comments","review_comment_url":"https://api.github.com/repos/apache/tajo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/tajo/issues/404/comments","statuses_url":"https://api.github.com/repos/apache/tajo/statuses/fabf69400df28e4badf283c1c3dd5f393fba2364","head":{"label":"jinossy:TAJO-1383","ref":"TAJO-1383","sha":"fabf69400df28e4badf283c1c3dd5f393fba2364","user":{"login":"jinossy","id":3632397,"avatar_url":"https://avatars.githubusercontent.com/u/3632397?v=3","gravatar_id":"","url":"https://api.github.com/users/jinossy","html_url":"https://github.com/jinossy","followers_url":"https://api.github.com/users/jinossy/followers","following_url":"https://api.github.com/users/jinossy/following{/other_user}","gists_url":"https://api.github.com/users/jinossy/gists{/gist_id}","starred_url":"https://api.github.com/users/jinossy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinossy/subscriptions","organizations_url":"https://api.github.com/users/jinossy/orgs","repos_url":"https://api.github.com/users/jinossy/repos","events_url":"https://api.github.com/users/jinossy/events{/privacy}","received_events_url":"https://api.github.com/users/jinossy/received_events","type":"User","site_admin":false},"repo":{"id":18086829,"name":"tajo","full_name":"jinossy/tajo","owner":{"login":"jinossy","id":3632397,"avatar_url":"https://avatars.githubusercontent.com/u/3632397?v=3","gravatar_id":"","url":"https://api.github.com/users/jinossy","html_url":"https://github.com/jinossy","followers_url":"https://api.github.com/users/jinossy/followers","following_url":"https://api.github.com/users/jinossy/following{/other_user}","gists_url":"https://api.github.com/users/jinossy/gists{/gist_id}","starred_url":"https://api.github.com/users/jinossy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinossy/subscriptions","organizations_url":"https://api.github.com/users/jinossy/orgs","repos_url":"https://api.github.com/users/jinossy/repos","events_url":"https://api.github.com/users/jinossy/events{/privacy}","received_events_url":"https://api.github.com/users/jinossy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jinossy/tajo","description":"Mirror of Apache Tajo","fork":true,"url":"https://api.github.com/repos/jinossy/tajo","forks_url":"https://api.github.com/repos/jinossy/tajo/forks","keys_url":"https://api.github.com/repos/jinossy/tajo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jinossy/tajo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jinossy/tajo/teams","hooks_url":"https://api.github.com/repos/jinossy/tajo/hooks","issue_events_url":"https://api.github.com/repos/jinossy/tajo/issues/events{/number}","events_url":"https://api.github.com/repos/jinossy/tajo/events","assignees_url":"https://api.github.com/repos/jinossy/tajo/assignees{/user}","branches_url":"https://api.github.com/repos/jinossy/tajo/branches{/branch}","tags_url":"https://api.github.com/repos/jinossy/tajo/tags","blobs_url":"https://api.github.com/repos/jinossy/tajo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jinossy/tajo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jinossy/tajo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jinossy/tajo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jinossy/tajo/statuses/{sha}","languages_url":"https://api.github.com/repos/jinossy/tajo/languages","stargazers_url":"https://api.github.com/repos/jinossy/tajo/stargazers","contributors_url":"https://api.github.com/repos/jinossy/tajo/contributors","subscribers_url":"https://api.github.com/repos/jinossy/tajo/subscribers","subscription_url":"https://api.github.com/repos/jinossy/tajo/subscription","commits_url":"https://api.github.com/repos/jinossy/tajo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jinossy/tajo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jinossy/tajo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jinossy/tajo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jinossy/tajo/contents/{+path}","compare_url":"https://api.github.com/repos/jinossy/tajo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jinossy/tajo/merges","archive_url":"https://api.github.com/repos/jinossy/tajo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jinossy/tajo/downloads","issues_url":"https://api.github.com/repos/jinossy/tajo/issues{/number}","pulls_url":"https://api.github.com/repos/jinossy/tajo/pulls{/number}","milestones_url":"https://api.github.com/repos/jinossy/tajo/milestones{/number}","notifications_url":"https://api.github.com/repos/jinossy/tajo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jinossy/tajo/labels{/name}","releases_url":"https://api.github.com/repos/jinossy/tajo/releases{/id}","created_at":"2014-03-25T02:50:18Z","updated_at":"2014-11-20T05:56:43Z","pushed_at":"2015-03-10T02:48:17Z","git_url":"git://github.com/jinossy/tajo.git","ssh_url":"git@github.com:jinossy/tajo.git","clone_url":"https://github.com/jinossy/tajo.git","svn_url":"https://github.com/jinossy/tajo","homepage":null,"size":134592,"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":"69fd8d2a08ce7ec0d69c4f98a338f979a13aafd1","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":17971138,"name":"tajo","full_name":"apache/tajo","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/tajo","description":"Mirror of Apache Tajo","fork":false,"url":"https://api.github.com/repos/apache/tajo","forks_url":"https://api.github.com/repos/apache/tajo/forks","keys_url":"https://api.github.com/repos/apache/tajo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/tajo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/tajo/teams","hooks_url":"https://api.github.com/repos/apache/tajo/hooks","issue_events_url":"https://api.github.com/repos/apache/tajo/issues/events{/number}","events_url":"https://api.github.com/repos/apache/tajo/events","assignees_url":"https://api.github.com/repos/apache/tajo/assignees{/user}","branches_url":"https://api.github.com/repos/apache/tajo/branches{/branch}","tags_url":"https://api.github.com/repos/apache/tajo/tags","blobs_url":"https://api.github.com/repos/apache/tajo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/tajo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/tajo/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/tajo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/tajo/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/tajo/languages","stargazers_url":"https://api.github.com/repos/apache/tajo/stargazers","contributors_url":"https://api.github.com/repos/apache/tajo/contributors","subscribers_url":"https://api.github.com/repos/apache/tajo/subscribers","subscription_url":"https://api.github.com/repos/apache/tajo/subscription","commits_url":"https://api.github.com/repos/apache/tajo/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/tajo/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/tajo/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/tajo/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/tajo/contents/{+path}","compare_url":"https://api.github.com/repos/apache/tajo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/tajo/merges","archive_url":"https://api.github.com/repos/apache/tajo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/tajo/downloads","issues_url":"https://api.github.com/repos/apache/tajo/issues{/number}","pulls_url":"https://api.github.com/repos/apache/tajo/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/tajo/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/tajo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/tajo/labels{/name}","releases_url":"https://api.github.com/repos/apache/tajo/releases{/id}","created_at":"2014-03-21T07:00:07Z","updated_at":"2015-03-12T01:07:25Z","pushed_at":"2015-03-12T01:07:25Z","git_url":"git://github.com/apache/tajo.git","ssh_url":"git@github.com:apache/tajo.git","clone_url":"https://github.com/apache/tajo.git","svn_url":"https://github.com/apache/tajo","homepage":null,"size":32548,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":46,"mirror_url":"git://git.apache.org/tajo.git","open_issues_count":27,"forks":46,"open_issues":27,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/tajo/pulls/404"},"html":{"href":"https://github.com/apache/tajo/pull/404"},"issue":{"href":"https://api.github.com/repos/apache/tajo/issues/404"},"comments":{"href":"https://api.github.com/repos/apache/tajo/issues/404/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/tajo/pulls/404/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/tajo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/tajo/pulls/404/commits"},"statuses":{"href":"https://api.github.com/repos/apache/tajo/statuses/fabf69400df28e4badf283c1c3dd5f393fba2364"}}}}