{"action":"opened","number":525,"pull_request":{"url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/525","id":196348944,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MzQ4OTQ0","html_url":"https://github.com/ISG-ICS/cloudberry/pull/525","diff_url":"https://github.com/ISG-ICS/cloudberry/pull/525.diff","patch_url":"https://github.com/ISG-ICS/cloudberry/pull/525.patch","issue_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/525","number":525,"state":"open","locked":false,"title":"[issue#513] Time-series caching part#1","user":{"login":"ilvry","id":19594335,"node_id":"MDQ6VXNlcjE5NTk0MzM1","avatar_url":"https://avatars0.githubusercontent.com/u/19594335?v=4","gravatar_id":"","url":"https://api.github.com/users/ilvry","html_url":"https://github.com/ilvry","followers_url":"https://api.github.com/users/ilvry/followers","following_url":"https://api.github.com/users/ilvry/following{/other_user}","gists_url":"https://api.github.com/users/ilvry/gists{/gist_id}","starred_url":"https://api.github.com/users/ilvry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilvry/subscriptions","organizations_url":"https://api.github.com/users/ilvry/orgs","repos_url":"https://api.github.com/users/ilvry/repos","events_url":"https://api.github.com/users/ilvry/events{/privacy}","received_events_url":"https://api.github.com/users/ilvry/received_events","type":"User","site_admin":false},"body":"Part#1: Modify byTimeRequest and merge query results to generate timeseries.\r\n\r\n(i) byTimeRequest(parameter, geoIds) return [<geoId:time:count>, ...]\r\n(ii) line312 var geoIdsNotInTimeSeriesCache is temporarily set to = parameters.geoIds;\r\n(iii) ws.onmessage case \"timeSeriesRequest\": \r\n    - line603-622: change [<geoId:time:count>, ...] to HashMap{<geoId,[<date:count>, ...]>, ...}\r\n    - line624-630 accumulate: return [<date:count>, ...]\r\n(iv) line637,644: been commented out, and will be replaced by (iii) in part#2.\r\n\r\n________\r\nPart#2: Introduce timeseriescache module, which includes the HashMap store and merge function.\r\nPart#3: Utilize the time-series cache module in front-end logic.","created_at":"2018-06-21T06:36:28Z","updated_at":"2018-06-21T06:36:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":388537816,"node_id":"MDU6TGFiZWwzODg1Mzc4MTY=","url":"https://api.github.com/repos/ISG-ICS/cloudberry/labels/front-end","name":"front-end","color":"f9d0c4","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/525/commits","review_comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/525/comments","review_comment_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/525/comments","statuses_url":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/9a0495c38550828eb69429f63686d59319580055","head":{"label":"ilvry:ry-timeseries-cache","ref":"ry-timeseries-cache","sha":"9a0495c38550828eb69429f63686d59319580055","user":{"login":"ilvry","id":19594335,"node_id":"MDQ6VXNlcjE5NTk0MzM1","avatar_url":"https://avatars0.githubusercontent.com/u/19594335?v=4","gravatar_id":"","url":"https://api.github.com/users/ilvry","html_url":"https://github.com/ilvry","followers_url":"https://api.github.com/users/ilvry/followers","following_url":"https://api.github.com/users/ilvry/following{/other_user}","gists_url":"https://api.github.com/users/ilvry/gists{/gist_id}","starred_url":"https://api.github.com/users/ilvry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilvry/subscriptions","organizations_url":"https://api.github.com/users/ilvry/orgs","repos_url":"https://api.github.com/users/ilvry/repos","events_url":"https://api.github.com/users/ilvry/events{/privacy}","received_events_url":"https://api.github.com/users/ilvry/received_events","type":"User","site_admin":false},"repo":{"id":134921235,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ5MjEyMzU=","name":"cloudberry","full_name":"ilvry/cloudberry","owner":{"login":"ilvry","id":19594335,"node_id":"MDQ6VXNlcjE5NTk0MzM1","avatar_url":"https://avatars0.githubusercontent.com/u/19594335?v=4","gravatar_id":"","url":"https://api.github.com/users/ilvry","html_url":"https://github.com/ilvry","followers_url":"https://api.github.com/users/ilvry/followers","following_url":"https://api.github.com/users/ilvry/following{/other_user}","gists_url":"https://api.github.com/users/ilvry/gists{/gist_id}","starred_url":"https://api.github.com/users/ilvry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilvry/subscriptions","organizations_url":"https://api.github.com/users/ilvry/orgs","repos_url":"https://api.github.com/users/ilvry/repos","events_url":"https://api.github.com/users/ilvry/events{/privacy}","received_events_url":"https://api.github.com/users/ilvry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ilvry/cloudberry","description":"Big Data Visualization","fork":true,"url":"https://api.github.com/repos/ilvry/cloudberry","forks_url":"https://api.github.com/repos/ilvry/cloudberry/forks","keys_url":"https://api.github.com/repos/ilvry/cloudberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilvry/cloudberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilvry/cloudberry/teams","hooks_url":"https://api.github.com/repos/ilvry/cloudberry/hooks","issue_events_url":"https://api.github.com/repos/ilvry/cloudberry/issues/events{/number}","events_url":"https://api.github.com/repos/ilvry/cloudberry/events","assignees_url":"https://api.github.com/repos/ilvry/cloudberry/assignees{/user}","branches_url":"https://api.github.com/repos/ilvry/cloudberry/branches{/branch}","tags_url":"https://api.github.com/repos/ilvry/cloudberry/tags","blobs_url":"https://api.github.com/repos/ilvry/cloudberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilvry/cloudberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilvry/cloudberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilvry/cloudberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilvry/cloudberry/statuses/{sha}","languages_url":"https://api.github.com/repos/ilvry/cloudberry/languages","stargazers_url":"https://api.github.com/repos/ilvry/cloudberry/stargazers","contributors_url":"https://api.github.com/repos/ilvry/cloudberry/contributors","subscribers_url":"https://api.github.com/repos/ilvry/cloudberry/subscribers","subscription_url":"https://api.github.com/repos/ilvry/cloudberry/subscription","commits_url":"https://api.github.com/repos/ilvry/cloudberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilvry/cloudberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilvry/cloudberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilvry/cloudberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilvry/cloudberry/contents/{+path}","compare_url":"https://api.github.com/repos/ilvry/cloudberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilvry/cloudberry/merges","archive_url":"https://api.github.com/repos/ilvry/cloudberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilvry/cloudberry/downloads","issues_url":"https://api.github.com/repos/ilvry/cloudberry/issues{/number}","pulls_url":"https://api.github.com/repos/ilvry/cloudberry/pulls{/number}","milestones_url":"https://api.github.com/repos/ilvry/cloudberry/milestones{/number}","notifications_url":"https://api.github.com/repos/ilvry/cloudberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilvry/cloudberry/labels{/name}","releases_url":"https://api.github.com/repos/ilvry/cloudberry/releases{/id}","deployments_url":"https://api.github.com/repos/ilvry/cloudberry/deployments","created_at":"2018-05-26T02:03:40Z","updated_at":"2018-06-21T06:06:56Z","pushed_at":"2018-06-21T06:18:18Z","git_url":"git://github.com/ilvry/cloudberry.git","ssh_url":"git@github.com:ilvry/cloudberry.git","clone_url":"https://github.com/ilvry/cloudberry.git","svn_url":"https://github.com/ilvry/cloudberry","homepage":"http://cloudberry.ics.uci.edu","size":248447,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ISG-ICS:timeseries_caching","ref":"timeseries_caching","sha":"b1ecec35395beb4e0dea5d4319dbd59fcf080336","user":{"login":"ISG-ICS","id":17169982,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTY5OTgy","avatar_url":"https://avatars1.githubusercontent.com/u/17169982?v=4","gravatar_id":"","url":"https://api.github.com/users/ISG-ICS","html_url":"https://github.com/ISG-ICS","followers_url":"https://api.github.com/users/ISG-ICS/followers","following_url":"https://api.github.com/users/ISG-ICS/following{/other_user}","gists_url":"https://api.github.com/users/ISG-ICS/gists{/gist_id}","starred_url":"https://api.github.com/users/ISG-ICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISG-ICS/subscriptions","organizations_url":"https://api.github.com/users/ISG-ICS/orgs","repos_url":"https://api.github.com/users/ISG-ICS/repos","events_url":"https://api.github.com/users/ISG-ICS/events{/privacy}","received_events_url":"https://api.github.com/users/ISG-ICS/received_events","type":"Organization","site_admin":false},"repo":{"id":46375119,"node_id":"MDEwOlJlcG9zaXRvcnk0NjM3NTExOQ==","name":"cloudberry","full_name":"ISG-ICS/cloudberry","owner":{"login":"ISG-ICS","id":17169982,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTY5OTgy","avatar_url":"https://avatars1.githubusercontent.com/u/17169982?v=4","gravatar_id":"","url":"https://api.github.com/users/ISG-ICS","html_url":"https://github.com/ISG-ICS","followers_url":"https://api.github.com/users/ISG-ICS/followers","following_url":"https://api.github.com/users/ISG-ICS/following{/other_user}","gists_url":"https://api.github.com/users/ISG-ICS/gists{/gist_id}","starred_url":"https://api.github.com/users/ISG-ICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ISG-ICS/subscriptions","organizations_url":"https://api.github.com/users/ISG-ICS/orgs","repos_url":"https://api.github.com/users/ISG-ICS/repos","events_url":"https://api.github.com/users/ISG-ICS/events{/privacy}","received_events_url":"https://api.github.com/users/ISG-ICS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ISG-ICS/cloudberry","description":"Big Data Visualization","fork":false,"url":"https://api.github.com/repos/ISG-ICS/cloudberry","forks_url":"https://api.github.com/repos/ISG-ICS/cloudberry/forks","keys_url":"https://api.github.com/repos/ISG-ICS/cloudberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ISG-ICS/cloudberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ISG-ICS/cloudberry/teams","hooks_url":"https://api.github.com/repos/ISG-ICS/cloudberry/hooks","issue_events_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/events{/number}","events_url":"https://api.github.com/repos/ISG-ICS/cloudberry/events","assignees_url":"https://api.github.com/repos/ISG-ICS/cloudberry/assignees{/user}","branches_url":"https://api.github.com/repos/ISG-ICS/cloudberry/branches{/branch}","tags_url":"https://api.github.com/repos/ISG-ICS/cloudberry/tags","blobs_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/{sha}","languages_url":"https://api.github.com/repos/ISG-ICS/cloudberry/languages","stargazers_url":"https://api.github.com/repos/ISG-ICS/cloudberry/stargazers","contributors_url":"https://api.github.com/repos/ISG-ICS/cloudberry/contributors","subscribers_url":"https://api.github.com/repos/ISG-ICS/cloudberry/subscribers","subscription_url":"https://api.github.com/repos/ISG-ICS/cloudberry/subscription","commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/ISG-ICS/cloudberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/ISG-ICS/cloudberry/contents/{+path}","compare_url":"https://api.github.com/repos/ISG-ICS/cloudberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ISG-ICS/cloudberry/merges","archive_url":"https://api.github.com/repos/ISG-ICS/cloudberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ISG-ICS/cloudberry/downloads","issues_url":"https://api.github.com/repos/ISG-ICS/cloudberry/issues{/number}","pulls_url":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls{/number}","milestones_url":"https://api.github.com/repos/ISG-ICS/cloudberry/milestones{/number}","notifications_url":"https://api.github.com/repos/ISG-ICS/cloudberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ISG-ICS/cloudberry/labels{/name}","releases_url":"https://api.github.com/repos/ISG-ICS/cloudberry/releases{/id}","deployments_url":"https://api.github.com/repos/ISG-ICS/cloudberry/deployments","created_at":"2015-11-17T20:59:29Z","updated_at":"2018-06-14T13:38:02Z","pushed_at":"2018-06-20T05:43:53Z","git_url":"git://github.com/ISG-ICS/cloudberry.git","ssh_url":"git@github.com:ISG-ICS/cloudberry.git","clone_url":"https://github.com/ISG-ICS/cloudberry.git","svn_url":"https://github.com/ISG-ICS/cloudberry","homepage":"http://cloudberry.ics.uci.edu","size":248424,"stargazers_count":40,"watchers_count":40,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":44,"open_issues":35,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/525"},"html":{"href":"https://github.com/ISG-ICS/cloudberry/pull/525"},"issue":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/525"},"comments":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/issues/525/comments"},"review_comments":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/525/comments"},"review_comment":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/pulls/525/commits"},"statuses":{"href":"https://api.github.com/repos/ISG-ICS/cloudberry/statuses/9a0495c38550828eb69429f63686d59319580055"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":72,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"ilvry"}}