{"action":"created","issue":{"url":"https://api.github.com/repos/cmu-db/peloton/issues/902","repository_url":"https://api.github.com/repos/cmu-db/peloton","labels_url":"https://api.github.com/repos/cmu-db/peloton/issues/902/labels{/name}","comments_url":"https://api.github.com/repos/cmu-db/peloton/issues/902/comments","events_url":"https://api.github.com/repos/cmu-db/peloton/issues/902/events","html_url":"https://github.com/cmu-db/peloton/pull/902","id":273206166,"number":902,"title":"Add join cost estimations and using index-based sampling ","user":{"login":"bechob","id":9404600,"avatar_url":"https://avatars0.githubusercontent.com/u/9404600?v=4","gravatar_id":"","url":"https://api.github.com/users/bechob","html_url":"https://github.com/bechob","followers_url":"https://api.github.com/users/bechob/followers","following_url":"https://api.github.com/users/bechob/following{/other_user}","gists_url":"https://api.github.com/users/bechob/gists{/gist_id}","starred_url":"https://api.github.com/users/bechob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bechob/subscriptions","organizations_url":"https://api.github.com/users/bechob/orgs","repos_url":"https://api.github.com/users/bechob/repos","events_url":"https://api.github.com/users/bechob/events{/privacy}","received_events_url":"https://api.github.com/users/bechob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-11-12T06:18:22Z","updated_at":"2017-11-14T22:34:32Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cmu-db/peloton/pulls/902","html_url":"https://github.com/cmu-db/peloton/pull/902","diff_url":"https://github.com/cmu-db/peloton/pull/902.diff","patch_url":"https://github.com/cmu-db/peloton/pull/902.patch"},"body":"- Using column_name (such as A.a) to search for column stats \r\n- Update join output table stats num_row \r\n- Update join output's column stats cardinality using [index-based sampling][1]\r\n  - Add index map in TableStats\r\n  - Add TupleSampler in TableStats\r\n  - Add join sampling in TupleSampler\r\n- Only support join type like A.a = B.b \r\n- Sampling only when join key has index\r\n\r\nTODO:\r\n- Check the correctness of cardinality estimation formula\r\n- Fix HasPrimaryIndex method in TableStats \r\n- Support other join predicates (different comparisons, conjunctions etc.)\r\n\r\n[1]: http://cidrdb.org/cidr2017/papers/p9-leis-cidr17.pdf\r\n"},"comment":{"url":"https://api.github.com/repos/cmu-db/peloton/issues/comments/344422347","html_url":"https://github.com/cmu-db/peloton/pull/902#issuecomment-344422347","issue_url":"https://api.github.com/repos/cmu-db/peloton/issues/902","id":344422347,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-11-14T22:34:32Z","updated_at":"2017-11-14T22:34:32Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/14200894/badge)](https://coveralls.io/builds/14200894)\n\nCoverage decreased (-0.6%) to 74.446% when pulling **36c5cc1e2e2d84de4dbdf4f02c7fb42f0ded4ee5 on allisonwang:sample** into **6f65f44c4cd9c45f05aa344ed8696186cc2deab6 on cmu-db:master**.\n"}}
{"actor":{"display_login":"coveralls"}}