{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-druid/issues/6387","repository_url":"https://api.github.com/repos/apache/incubator-druid","labels_url":"https://api.github.com/repos/apache/incubator-druid/issues/6387/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-druid/issues/6387/comments","events_url":"https://api.github.com/repos/apache/incubator-druid/issues/6387/events","html_url":"https://github.com/apache/incubator-druid/issues/6387","id":364206857,"node_id":"MDU6SXNzdWUzNjQyMDY4NTc=","number":6387,"title":"Druid load rule based on start date of segments","user":{"login":"somanullah","id":43012836,"node_id":"MDQ6VXNlcjQzMDEyODM2","avatar_url":"https://avatars1.githubusercontent.com/u/43012836?v=4","gravatar_id":"","url":"https://api.github.com/users/somanullah","html_url":"https://github.com/somanullah","followers_url":"https://api.github.com/users/somanullah/followers","following_url":"https://api.github.com/users/somanullah/following{/other_user}","gists_url":"https://api.github.com/users/somanullah/gists{/gist_id}","starred_url":"https://api.github.com/users/somanullah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somanullah/subscriptions","organizations_url":"https://api.github.com/users/somanullah/orgs","repos_url":"https://api.github.com/users/somanullah/repos","events_url":"https://api.github.com/users/somanullah/events{/privacy}","received_events_url":"https://api.github.com/users/somanullah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-26T20:52:07Z","updated_at":"2018-10-06T03:28:34Z","closed_at":null,"author_association":"NONE","body":"I have segments with segmentGranularity as DAY. As these segments are smaller in size, I used compaction task to combine all the segments for a month into a single segment. \r\nBut since my load rule is defined for 30 days, this compacted segment got dropped which shouldnt have happened. It looks like load/drop rule checks only the start date of the segment before making its decision to drop it.\r\nIdeally it should check if the end date of the segment is inside the load rule and make a decision based on that. Is this correct @jihoonson ?"},"comment":{"url":"https://api.github.com/repos/apache/incubator-druid/issues/comments/427542199","html_url":"https://github.com/apache/incubator-druid/issues/6387#issuecomment-427542199","issue_url":"https://api.github.com/repos/apache/incubator-druid/issues/6387","id":427542199,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU0MjE5OQ==","user":{"login":"QiuMM","id":15156517,"node_id":"MDQ6VXNlcjE1MTU2NTE3","avatar_url":"https://avatars1.githubusercontent.com/u/15156517?v=4","gravatar_id":"","url":"https://api.github.com/users/QiuMM","html_url":"https://github.com/QiuMM","followers_url":"https://api.github.com/users/QiuMM/followers","following_url":"https://api.github.com/users/QiuMM/following{/other_user}","gists_url":"https://api.github.com/users/QiuMM/gists{/gist_id}","starred_url":"https://api.github.com/users/QiuMM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QiuMM/subscriptions","organizations_url":"https://api.github.com/users/QiuMM/orgs","repos_url":"https://api.github.com/users/QiuMM/repos","events_url":"https://api.github.com/users/QiuMM/events{/privacy}","received_events_url":"https://api.github.com/users/QiuMM/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T03:28:34Z","updated_at":"2018-10-06T03:28:34Z","author_association":"CONTRIBUTOR","body":"@somanullah can you give more details about your compaction task's  payload as well as the load/drop  rules."}}
{"actor":{"display_login":"QiuMM"}}