{"action":"created","comment":{"url":"https://api.github.com/repos/Teradata/presto/pulls/comments/68145254","id":68145254,"diff_hunk":"@@ -0,0 +1,29 @@\n+/*\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * 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 com.facebook.presto.spi.statistics;\n+\n+import static java.util.Objects.requireNonNull;\n+\n+public class StatisticsValue<T>\n+{\n+    private final Reliability reliability;\n+    private final T value;\n+\n+    public StatisticsValue(Reliability reliability, T value)\n+    {\n+        this.reliability = requireNonNull(reliability, \"reliability can not be null\");\n+        this.value = value;","path":"presto-spi/src/main/java/com/facebook/presto/spi/statistics/StatisticsValue.java","position":27,"original_position":27,"commit_id":"621e0f3401cec83bb5dcfc1cb9404aee2b214c59","original_commit_id":"621e0f3401cec83bb5dcfc1cb9404aee2b214c59","user":{"login":"maciejgrzybek","id":366501,"avatar_url":"https://avatars.githubusercontent.com/u/366501?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejgrzybek","html_url":"https://github.com/maciejgrzybek","followers_url":"https://api.github.com/users/maciejgrzybek/followers","following_url":"https://api.github.com/users/maciejgrzybek/following{/other_user}","gists_url":"https://api.github.com/users/maciejgrzybek/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejgrzybek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejgrzybek/subscriptions","organizations_url":"https://api.github.com/users/maciejgrzybek/orgs","repos_url":"https://api.github.com/users/maciejgrzybek/repos","events_url":"https://api.github.com/users/maciejgrzybek/events{/privacy}","received_events_url":"https://api.github.com/users/maciejgrzybek/received_events","type":"User","site_admin":false},"body":"Do we really want to accept nulls here?","created_at":"2016-06-22T22:13:16Z","updated_at":"2016-06-22T22:13:16Z","html_url":"https://github.com/Teradata/presto/pull/230#discussion_r68145254","pull_request_url":"https://api.github.com/repos/Teradata/presto/pulls/230","_links":{"self":{"href":"https://api.github.com/repos/Teradata/presto/pulls/comments/68145254"},"html":{"href":"https://github.com/Teradata/presto/pull/230#discussion_r68145254"},"pull_request":{"href":"https://api.github.com/repos/Teradata/presto/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/Teradata/presto/pulls/230","id":74631860,"html_url":"https://github.com/Teradata/presto/pull/230","diff_url":"https://github.com/Teradata/presto/pull/230.diff","patch_url":"https://github.com/Teradata/presto/pull/230.patch","issue_url":"https://api.github.com/repos/Teradata/presto/issues/230","number":230,"state":"open","locked":false,"title":"Presto statistics","user":{"login":"losipiuk","id":890111,"avatar_url":"https://avatars.githubusercontent.com/u/890111?v=3","gravatar_id":"","url":"https://api.github.com/users/losipiuk","html_url":"https://github.com/losipiuk","followers_url":"https://api.github.com/users/losipiuk/followers","following_url":"https://api.github.com/users/losipiuk/following{/other_user}","gists_url":"https://api.github.com/users/losipiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/losipiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losipiuk/subscriptions","organizations_url":"https://api.github.com/users/losipiuk/orgs","repos_url":"https://api.github.com/users/losipiuk/repos","events_url":"https://api.github.com/users/losipiuk/events{/privacy}","received_events_url":"https://api.github.com/users/losipiuk/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-21T15:20:33Z","updated_at":"2016-06-22T22:13:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d70fe4d53075b1e1b68e6c932f11bf1a90599b7c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Teradata/presto/pulls/230/commits","review_comments_url":"https://api.github.com/repos/Teradata/presto/pulls/230/comments","review_comment_url":"https://api.github.com/repos/Teradata/presto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Teradata/presto/issues/230/comments","statuses_url":"https://api.github.com/repos/Teradata/presto/statuses/621e0f3401cec83bb5dcfc1cb9404aee2b214c59","head":{"label":"losipiuk:statistics","ref":"statistics","sha":"621e0f3401cec83bb5dcfc1cb9404aee2b214c59","user":{"login":"losipiuk","id":890111,"avatar_url":"https://avatars.githubusercontent.com/u/890111?v=3","gravatar_id":"","url":"https://api.github.com/users/losipiuk","html_url":"https://github.com/losipiuk","followers_url":"https://api.github.com/users/losipiuk/followers","following_url":"https://api.github.com/users/losipiuk/following{/other_user}","gists_url":"https://api.github.com/users/losipiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/losipiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losipiuk/subscriptions","organizations_url":"https://api.github.com/users/losipiuk/orgs","repos_url":"https://api.github.com/users/losipiuk/repos","events_url":"https://api.github.com/users/losipiuk/events{/privacy}","received_events_url":"https://api.github.com/users/losipiuk/received_events","type":"User","site_admin":false},"repo":{"id":37843304,"name":"presto","full_name":"losipiuk/presto","owner":{"login":"losipiuk","id":890111,"avatar_url":"https://avatars.githubusercontent.com/u/890111?v=3","gravatar_id":"","url":"https://api.github.com/users/losipiuk","html_url":"https://github.com/losipiuk","followers_url":"https://api.github.com/users/losipiuk/followers","following_url":"https://api.github.com/users/losipiuk/following{/other_user}","gists_url":"https://api.github.com/users/losipiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/losipiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losipiuk/subscriptions","organizations_url":"https://api.github.com/users/losipiuk/orgs","repos_url":"https://api.github.com/users/losipiuk/repos","events_url":"https://api.github.com/users/losipiuk/events{/privacy}","received_events_url":"https://api.github.com/users/losipiuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/losipiuk/presto","description":"Distributed SQL query engine for running interactive analytic queries against big data sources.","fork":true,"url":"https://api.github.com/repos/losipiuk/presto","forks_url":"https://api.github.com/repos/losipiuk/presto/forks","keys_url":"https://api.github.com/repos/losipiuk/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/losipiuk/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/losipiuk/presto/teams","hooks_url":"https://api.github.com/repos/losipiuk/presto/hooks","issue_events_url":"https://api.github.com/repos/losipiuk/presto/issues/events{/number}","events_url":"https://api.github.com/repos/losipiuk/presto/events","assignees_url":"https://api.github.com/repos/losipiuk/presto/assignees{/user}","branches_url":"https://api.github.com/repos/losipiuk/presto/branches{/branch}","tags_url":"https://api.github.com/repos/losipiuk/presto/tags","blobs_url":"https://api.github.com/repos/losipiuk/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/losipiuk/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/losipiuk/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/losipiuk/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/losipiuk/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/losipiuk/presto/languages","stargazers_url":"https://api.github.com/repos/losipiuk/presto/stargazers","contributors_url":"https://api.github.com/repos/losipiuk/presto/contributors","subscribers_url":"https://api.github.com/repos/losipiuk/presto/subscribers","subscription_url":"https://api.github.com/repos/losipiuk/presto/subscription","commits_url":"https://api.github.com/repos/losipiuk/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/losipiuk/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/losipiuk/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/losipiuk/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/losipiuk/presto/contents/{+path}","compare_url":"https://api.github.com/repos/losipiuk/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/losipiuk/presto/merges","archive_url":"https://api.github.com/repos/losipiuk/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/losipiuk/presto/downloads","issues_url":"https://api.github.com/repos/losipiuk/presto/issues{/number}","pulls_url":"https://api.github.com/repos/losipiuk/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/losipiuk/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/losipiuk/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/losipiuk/presto/labels{/name}","releases_url":"https://api.github.com/repos/losipiuk/presto/releases{/id}","deployments_url":"https://api.github.com/repos/losipiuk/presto/deployments","created_at":"2015-06-22T07:47:05Z","updated_at":"2016-03-18T00:24:50Z","pushed_at":"2016-06-21T15:21:16Z","git_url":"git://github.com/losipiuk/presto.git","ssh_url":"git@github.com:losipiuk/presto.git","clone_url":"https://github.com/losipiuk/presto.git","svn_url":"https://github.com/losipiuk/presto","homepage":"https://prestodb.io","size":128352,"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":"Teradata:master","ref":"master","sha":"42a2c8098b6f5717053600dc4d1f96b3a8237736","user":{"login":"Teradata","id":1615979,"avatar_url":"https://avatars.githubusercontent.com/u/1615979?v=3","gravatar_id":"","url":"https://api.github.com/users/Teradata","html_url":"https://github.com/Teradata","followers_url":"https://api.github.com/users/Teradata/followers","following_url":"https://api.github.com/users/Teradata/following{/other_user}","gists_url":"https://api.github.com/users/Teradata/gists{/gist_id}","starred_url":"https://api.github.com/users/Teradata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teradata/subscriptions","organizations_url":"https://api.github.com/users/Teradata/orgs","repos_url":"https://api.github.com/users/Teradata/repos","events_url":"https://api.github.com/users/Teradata/events{/privacy}","received_events_url":"https://api.github.com/users/Teradata/received_events","type":"Organization","site_admin":false},"repo":{"id":36903368,"name":"presto","full_name":"Teradata/presto","owner":{"login":"Teradata","id":1615979,"avatar_url":"https://avatars.githubusercontent.com/u/1615979?v=3","gravatar_id":"","url":"https://api.github.com/users/Teradata","html_url":"https://github.com/Teradata","followers_url":"https://api.github.com/users/Teradata/followers","following_url":"https://api.github.com/users/Teradata/following{/other_user}","gists_url":"https://api.github.com/users/Teradata/gists{/gist_id}","starred_url":"https://api.github.com/users/Teradata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teradata/subscriptions","organizations_url":"https://api.github.com/users/Teradata/orgs","repos_url":"https://api.github.com/users/Teradata/repos","events_url":"https://api.github.com/users/Teradata/events{/privacy}","received_events_url":"https://api.github.com/users/Teradata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Teradata/presto","description":"Teradata's Certified Version of Presto -- A Distributed SQL Query Engine for Big Data","fork":true,"url":"https://api.github.com/repos/Teradata/presto","forks_url":"https://api.github.com/repos/Teradata/presto/forks","keys_url":"https://api.github.com/repos/Teradata/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Teradata/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Teradata/presto/teams","hooks_url":"https://api.github.com/repos/Teradata/presto/hooks","issue_events_url":"https://api.github.com/repos/Teradata/presto/issues/events{/number}","events_url":"https://api.github.com/repos/Teradata/presto/events","assignees_url":"https://api.github.com/repos/Teradata/presto/assignees{/user}","branches_url":"https://api.github.com/repos/Teradata/presto/branches{/branch}","tags_url":"https://api.github.com/repos/Teradata/presto/tags","blobs_url":"https://api.github.com/repos/Teradata/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Teradata/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Teradata/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/Teradata/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Teradata/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/Teradata/presto/languages","stargazers_url":"https://api.github.com/repos/Teradata/presto/stargazers","contributors_url":"https://api.github.com/repos/Teradata/presto/contributors","subscribers_url":"https://api.github.com/repos/Teradata/presto/subscribers","subscription_url":"https://api.github.com/repos/Teradata/presto/subscription","commits_url":"https://api.github.com/repos/Teradata/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/Teradata/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/Teradata/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/Teradata/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/Teradata/presto/contents/{+path}","compare_url":"https://api.github.com/repos/Teradata/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Teradata/presto/merges","archive_url":"https://api.github.com/repos/Teradata/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Teradata/presto/downloads","issues_url":"https://api.github.com/repos/Teradata/presto/issues{/number}","pulls_url":"https://api.github.com/repos/Teradata/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/Teradata/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/Teradata/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Teradata/presto/labels{/name}","releases_url":"https://api.github.com/repos/Teradata/presto/releases{/id}","deployments_url":"https://api.github.com/repos/Teradata/presto/deployments","created_at":"2015-06-05T00:38:37Z","updated_at":"2016-06-14T07:29:49Z","pushed_at":"2016-06-22T21:14:55Z","git_url":"git://github.com/Teradata/presto.git","ssh_url":"git@github.com:Teradata/presto.git","clone_url":"https://github.com/Teradata/presto.git","svn_url":"https://github.com/Teradata/presto","homepage":"http://www.teradata.com/presto","size":143749,"stargazers_count":51,"watchers_count":51,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":13,"forks":8,"open_issues":13,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Teradata/presto/pulls/230"},"html":{"href":"https://github.com/Teradata/presto/pull/230"},"issue":{"href":"https://api.github.com/repos/Teradata/presto/issues/230"},"comments":{"href":"https://api.github.com/repos/Teradata/presto/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/Teradata/presto/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/Teradata/presto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Teradata/presto/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/Teradata/presto/statuses/621e0f3401cec83bb5dcfc1cb9404aee2b214c59"}}}}
{"actor":{"display_login":"maciejgrzybek"}}