{"action":"opened","number":427,"pull_request":{"url":"https://api.github.com/repos/apache/tajo/pulls/427","id":31308628,"html_url":"https://github.com/apache/tajo/pull/427","diff_url":"https://github.com/apache/tajo/pull/427.diff","patch_url":"https://github.com/apache/tajo/pull/427.patch","issue_url":"https://api.github.com/repos/apache/tajo/issues/427","number":427,"state":"open","locked":false,"title":"TAJO-921: Add STDDEV_SAMP and STDDEV_POP window functions","user":{"login":"sirpkt","id":4968993,"avatar_url":"https://avatars.githubusercontent.com/u/4968993?v=3","gravatar_id":"","url":"https://api.github.com/users/sirpkt","html_url":"https://github.com/sirpkt","followers_url":"https://api.github.com/users/sirpkt/followers","following_url":"https://api.github.com/users/sirpkt/following{/other_user}","gists_url":"https://api.github.com/users/sirpkt/gists{/gist_id}","starred_url":"https://api.github.com/users/sirpkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirpkt/subscriptions","organizations_url":"https://api.github.com/users/sirpkt/orgs","repos_url":"https://api.github.com/users/sirpkt/repos","events_url":"https://api.github.com/users/sirpkt/events{/privacy}","received_events_url":"https://api.github.com/users/sirpkt/received_events","type":"User","site_admin":false},"body":"Implementing STDDEV_SAMP() and STDDEV_POP() as aggregation funciton.\r\n\r\n- Calculation is based on the method first proposed by B. P. Welford in 1962 and described by Donald Knuth in Art of Computer Programming, Volume 2: Seminumerical Algorithms.\r\n(You can also check http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm for basic explanation)\r\n- I also changes names of test methods for window functions (for example, from rowNumber1 to testRowNumber1)  \r\n\r\nI checked 'mvn clean install' passed with this patch.","created_at":"2015-03-17T05:37:40Z","updated_at":"2015-03-17T05:37:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/tajo/pulls/427/commits","review_comments_url":"https://api.github.com/repos/apache/tajo/pulls/427/comments","review_comment_url":"https://api.github.com/repos/apache/tajo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/tajo/issues/427/comments","statuses_url":"https://api.github.com/repos/apache/tajo/statuses/406f3113c796d79c6f6888b68eac00a8ee0f5039","head":{"label":"sirpkt:TAJO-921","ref":"TAJO-921","sha":"406f3113c796d79c6f6888b68eac00a8ee0f5039","user":{"login":"sirpkt","id":4968993,"avatar_url":"https://avatars.githubusercontent.com/u/4968993?v=3","gravatar_id":"","url":"https://api.github.com/users/sirpkt","html_url":"https://github.com/sirpkt","followers_url":"https://api.github.com/users/sirpkt/followers","following_url":"https://api.github.com/users/sirpkt/following{/other_user}","gists_url":"https://api.github.com/users/sirpkt/gists{/gist_id}","starred_url":"https://api.github.com/users/sirpkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirpkt/subscriptions","organizations_url":"https://api.github.com/users/sirpkt/orgs","repos_url":"https://api.github.com/users/sirpkt/repos","events_url":"https://api.github.com/users/sirpkt/events{/privacy}","received_events_url":"https://api.github.com/users/sirpkt/received_events","type":"User","site_admin":false},"repo":{"id":28170489,"name":"tajo","full_name":"sirpkt/tajo","owner":{"login":"sirpkt","id":4968993,"avatar_url":"https://avatars.githubusercontent.com/u/4968993?v=3","gravatar_id":"","url":"https://api.github.com/users/sirpkt","html_url":"https://github.com/sirpkt","followers_url":"https://api.github.com/users/sirpkt/followers","following_url":"https://api.github.com/users/sirpkt/following{/other_user}","gists_url":"https://api.github.com/users/sirpkt/gists{/gist_id}","starred_url":"https://api.github.com/users/sirpkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirpkt/subscriptions","organizations_url":"https://api.github.com/users/sirpkt/orgs","repos_url":"https://api.github.com/users/sirpkt/repos","events_url":"https://api.github.com/users/sirpkt/events{/privacy}","received_events_url":"https://api.github.com/users/sirpkt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sirpkt/tajo","description":"Mirror of Apache Tajo","fork":true,"url":"https://api.github.com/repos/sirpkt/tajo","forks_url":"https://api.github.com/repos/sirpkt/tajo/forks","keys_url":"https://api.github.com/repos/sirpkt/tajo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sirpkt/tajo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sirpkt/tajo/teams","hooks_url":"https://api.github.com/repos/sirpkt/tajo/hooks","issue_events_url":"https://api.github.com/repos/sirpkt/tajo/issues/events{/number}","events_url":"https://api.github.com/repos/sirpkt/tajo/events","assignees_url":"https://api.github.com/repos/sirpkt/tajo/assignees{/user}","branches_url":"https://api.github.com/repos/sirpkt/tajo/branches{/branch}","tags_url":"https://api.github.com/repos/sirpkt/tajo/tags","blobs_url":"https://api.github.com/repos/sirpkt/tajo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sirpkt/tajo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sirpkt/tajo/git/refs{/sha}","trees_url":"https://api.github.com/repos/sirpkt/tajo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sirpkt/tajo/statuses/{sha}","languages_url":"https://api.github.com/repos/sirpkt/tajo/languages","stargazers_url":"https://api.github.com/repos/sirpkt/tajo/stargazers","contributors_url":"https://api.github.com/repos/sirpkt/tajo/contributors","subscribers_url":"https://api.github.com/repos/sirpkt/tajo/subscribers","subscription_url":"https://api.github.com/repos/sirpkt/tajo/subscription","commits_url":"https://api.github.com/repos/sirpkt/tajo/commits{/sha}","git_commits_url":"https://api.github.com/repos/sirpkt/tajo/git/commits{/sha}","comments_url":"https://api.github.com/repos/sirpkt/tajo/comments{/number}","issue_comment_url":"https://api.github.com/repos/sirpkt/tajo/issues/comments{/number}","contents_url":"https://api.github.com/repos/sirpkt/tajo/contents/{+path}","compare_url":"https://api.github.com/repos/sirpkt/tajo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sirpkt/tajo/merges","archive_url":"https://api.github.com/repos/sirpkt/tajo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sirpkt/tajo/downloads","issues_url":"https://api.github.com/repos/sirpkt/tajo/issues{/number}","pulls_url":"https://api.github.com/repos/sirpkt/tajo/pulls{/number}","milestones_url":"https://api.github.com/repos/sirpkt/tajo/milestones{/number}","notifications_url":"https://api.github.com/repos/sirpkt/tajo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sirpkt/tajo/labels{/name}","releases_url":"https://api.github.com/repos/sirpkt/tajo/releases{/id}","created_at":"2014-12-18T05:58:47Z","updated_at":"2015-03-17T05:24:02Z","pushed_at":"2015-03-17T05:24:12Z","git_url":"git://github.com/sirpkt/tajo.git","ssh_url":"git@github.com:sirpkt/tajo.git","clone_url":"https://github.com/sirpkt/tajo.git","svn_url":"https://github.com/sirpkt/tajo","homepage":null,"size":15163,"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":"286b956795a4dc2efb72c97896d86ed1049485e3","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-17T04:51:11Z","pushed_at":"2015-03-17T04:51:11Z","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":33173,"stargazers_count":35,"watchers_count":35,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":47,"mirror_url":"git://git.apache.org/tajo.git","open_issues_count":27,"forks":47,"open_issues":27,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/tajo/pulls/427"},"html":{"href":"https://github.com/apache/tajo/pull/427"},"issue":{"href":"https://api.github.com/repos/apache/tajo/issues/427"},"comments":{"href":"https://api.github.com/repos/apache/tajo/issues/427/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/tajo/pulls/427/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/tajo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/tajo/pulls/427/commits"},"statuses":{"href":"https://api.github.com/repos/apache/tajo/statuses/406f3113c796d79c6f6888b68eac00a8ee0f5039"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":688,"deletions":7,"changed_files":28}}