{"action":"created","issue":{"url":"https://api.github.com/repos/XiaoMi/soar/issues/174","repository_url":"https://api.github.com/repos/XiaoMi/soar","labels_url":"https://api.github.com/repos/XiaoMi/soar/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/XiaoMi/soar/issues/174/comments","events_url":"https://api.github.com/repos/XiaoMi/soar/issues/174/events","html_url":"https://github.com/XiaoMi/soar/issues/174","id":393805497,"node_id":"MDU6SXNzdWUzOTM4MDU0OTc=","number":174,"title":"采样算法希望可以优化一下","user":{"login":"sylzd","id":10683568,"node_id":"MDQ6VXNlcjEwNjgzNTY4","avatar_url":"https://avatars0.githubusercontent.com/u/10683568?v=4","gravatar_id":"","url":"https://api.github.com/users/sylzd","html_url":"https://github.com/sylzd","followers_url":"https://api.github.com/users/sylzd/followers","following_url":"https://api.github.com/users/sylzd/following{/other_user}","gists_url":"https://api.github.com/users/sylzd/gists{/gist_id}","starred_url":"https://api.github.com/users/sylzd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylzd/subscriptions","organizations_url":"https://api.github.com/users/sylzd/orgs","repos_url":"https://api.github.com/users/sylzd/repos","events_url":"https://api.github.com/users/sylzd/events{/privacy}","received_events_url":"https://api.github.com/users/sylzd/received_events","type":"User","site_admin":false},"labels":[{"id":1083197920,"node_id":"MDU6TGFiZWwxMDgzMTk3OTIw","url":"https://api.github.com/repos/XiaoMi/soar/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-24T03:57:36Z","updated_at":"2018-12-24T10:12:30Z","closed_at":null,"author_association":"COLLABORATOR","body":"#### Feature Description\r\n\r\n在大表中进行随机采样较慢，希望能增加一些如顺序采样、分段采样等方式供选择，提高在大表中进行采样的性能并适应不同的应用场景。\r\n\r\n#### Use Case(s)\r\n\r\n对数据随机性要求较低，但是表较大时比较有用。\r\n"},"comment":{"url":"https://api.github.com/repos/XiaoMi/soar/issues/comments/449713837","html_url":"https://github.com/XiaoMi/soar/issues/174#issuecomment-449713837","issue_url":"https://api.github.com/repos/XiaoMi/soar/issues/174","id":449713837,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTcxMzgzNw==","user":{"login":"martianzhang","id":1827047,"node_id":"MDQ6VXNlcjE4MjcwNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1827047?v=4","gravatar_id":"","url":"https://api.github.com/users/martianzhang","html_url":"https://github.com/martianzhang","followers_url":"https://api.github.com/users/martianzhang/followers","following_url":"https://api.github.com/users/martianzhang/following{/other_user}","gists_url":"https://api.github.com/users/martianzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/martianzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martianzhang/subscriptions","organizations_url":"https://api.github.com/users/martianzhang/orgs","repos_url":"https://api.github.com/users/martianzhang/repos","events_url":"https://api.github.com/users/martianzhang/events{/privacy}","received_events_url":"https://api.github.com/users/martianzhang/received_events","type":"User","site_admin":false},"created_at":"2018-12-24T10:12:30Z","updated_at":"2018-12-24T10:12:30Z","author_association":"CONTRIBUTOR","body":"62f0b8eb30353d53654838237c99b4bef412ba1e\r\n\r\nwe add a new sampling config\r\n`sampling-condition`\r\n\r\nExample:\r\n```bash\r\n-sampling-condition=\"LIMIT 100\"\r\n-sampling-condition=\"WHERE id % 100 = 5\"\r\n```"}}
{"actor":{"display_login":"martianzhang"}}