{"action":"created","issue":{"url":"https://api.github.com/repos/flike/kingshard/issues/175","repository_url":"https://api.github.com/repos/flike/kingshard","labels_url":"https://api.github.com/repos/flike/kingshard/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/flike/kingshard/issues/175/comments","events_url":"https://api.github.com/repos/flike/kingshard/issues/175/events","html_url":"https://github.com/flike/kingshard/pull/175","id":157589995,"number":175,"title":"shared rule by date configure add time_format param","user":{"login":"snower","id":2220463,"avatar_url":"https://avatars.githubusercontent.com/u/2220463?v=3","gravatar_id":"","url":"https://api.github.com/users/snower","html_url":"https://github.com/snower","followers_url":"https://api.github.com/users/snower/followers","following_url":"https://api.github.com/users/snower/following{/other_user}","gists_url":"https://api.github.com/users/snower/gists{/gist_id}","starred_url":"https://api.github.com/users/snower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snower/subscriptions","organizations_url":"https://api.github.com/users/snower/orgs","repos_url":"https://api.github.com/users/snower/repos","events_url":"https://api.github.com/users/snower/events{/privacy}","received_events_url":"https://api.github.com/users/snower/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-05-31T04:58:01Z","updated_at":"2016-06-01T04:41:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/flike/kingshard/pulls/175","html_url":"https://github.com/flike/kingshard/pull/175","diff_url":"https://github.com/flike/kingshard/pull/175.diff","patch_url":"https://github.com/flike/kingshard/pull/175.patch"},"body":"一般来说，时间切分的自动可能不是时间类型，只是其中某部分包含时间，所以应该有参数可以指定字段时间格式化类型，所以在date_year、date_month、date_day三种类型中添加了一个配置参数，time_format，可以指定如何格式话时间，默认YYYY-mm-dd HH:MM:SS，Y代表年，m代表月，d代表天，H代表小时，M代表分钟，S代表秒，如果格式化参数中不是这几个字符，则跳过一个字符，同时年必须是4位，其他必须是两位。"},"comment":{"url":"https://api.github.com/repos/flike/kingshard/issues/comments/222890993","html_url":"https://github.com/flike/kingshard/pull/175#issuecomment-222890993","issue_url":"https://api.github.com/repos/flike/kingshard/issues/175","id":222890993,"user":{"login":"snower","id":2220463,"avatar_url":"https://avatars.githubusercontent.com/u/2220463?v=3","gravatar_id":"","url":"https://api.github.com/users/snower","html_url":"https://github.com/snower","followers_url":"https://api.github.com/users/snower/followers","following_url":"https://api.github.com/users/snower/following{/other_user}","gists_url":"https://api.github.com/users/snower/gists{/gist_id}","starred_url":"https://api.github.com/users/snower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snower/subscriptions","organizations_url":"https://api.github.com/users/snower/orgs","repos_url":"https://api.github.com/users/snower/repos","events_url":"https://api.github.com/users/snower/events{/privacy}","received_events_url":"https://api.github.com/users/snower/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T04:41:33Z","updated_at":"2016-06-01T04:41:33Z","body":"我觉得至少默认应该是的，而且每种意义上来说，对于order by会影响limit的情况来说，也等同于不能直接使用mysql的索引优化，由proxy来完成排序，那么这种情况下性能应该是极低的，proxy不应该支持这种情况才是。\r\nproxy支持的排序应该是在已经由mysql排序号的基础上再快速排序，这个应该几乎可以做O(n)，内存消耗为1的性能了吧，我看到现在的实现是用了go的sort，这个也是不合适的吧。\r\n已加"}}
{"actor":{"display_login":"snower"}}