{"action":"created","issue":{"url":"https://api.github.com/repos/yandex/ClickHouse/issues/2055","repository_url":"https://api.github.com/repos/yandex/ClickHouse","labels_url":"https://api.github.com/repos/yandex/ClickHouse/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/yandex/ClickHouse/issues/2055/comments","events_url":"https://api.github.com/repos/yandex/ClickHouse/issues/2055/events","html_url":"https://github.com/yandex/ClickHouse/issues/2055","id":305504019,"number":2055,"title":"[Bug] query_log duplicate","user":{"login":"Jaxvk","id":20113411,"avatar_url":"https://avatars3.githubusercontent.com/u/20113411?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaxvk","html_url":"https://github.com/Jaxvk","followers_url":"https://api.github.com/users/Jaxvk/followers","following_url":"https://api.github.com/users/Jaxvk/following{/other_user}","gists_url":"https://api.github.com/users/Jaxvk/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaxvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaxvk/subscriptions","organizations_url":"https://api.github.com/users/Jaxvk/orgs","repos_url":"https://api.github.com/users/Jaxvk/repos","events_url":"https://api.github.com/users/Jaxvk/events{/privacy}","received_events_url":"https://api.github.com/users/Jaxvk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T11:00:07Z","updated_at":"2018-03-15T13:17:37Z","closed_at":null,"author_association":"NONE","body":"```\r\nSELECT \r\n    query_start_time, \r\n    query_id\r\nFROM query_log \r\nORDER BY query_start_time DESC\r\nLIMIT 10;\r\n```\r\n\r\n![default](https://user-images.githubusercontent.com/20113411/37459434-0123992a-2883-11e8-9b08-c22aaaaf9dcb.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/yandex/ClickHouse/issues/comments/373372266","html_url":"https://github.com/yandex/ClickHouse/issues/2055#issuecomment-373372266","issue_url":"https://api.github.com/repos/yandex/ClickHouse/issues/2055","id":373372266,"user":{"login":"filimonov","id":1549571,"avatar_url":"https://avatars3.githubusercontent.com/u/1549571?v=4","gravatar_id":"","url":"https://api.github.com/users/filimonov","html_url":"https://github.com/filimonov","followers_url":"https://api.github.com/users/filimonov/followers","following_url":"https://api.github.com/users/filimonov/following{/other_user}","gists_url":"https://api.github.com/users/filimonov/gists{/gist_id}","starred_url":"https://api.github.com/users/filimonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filimonov/subscriptions","organizations_url":"https://api.github.com/users/filimonov/orgs","repos_url":"https://api.github.com/users/filimonov/repos","events_url":"https://api.github.com/users/filimonov/events{/privacy}","received_events_url":"https://api.github.com/users/filimonov/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T13:17:37Z","updated_at":"2018-03-15T13:17:37Z","author_association":"CONTRIBUTOR","body":"Hmm... Thought it's documented. Generally each request logged twice - at the moment of start and at the moment of finishing / exception. Check the 'type' column. \r\n\r\n```\r\n        QUERY_START = 1,\r\n        QUERY_FINISH = 2,\r\n        EXCEPTION_BEFORE_START = 3,\r\n        EXCEPTION_WHILE_PROCESSING = 4,\r\n```"}}
{"actor":{"display_login":"filimonov"}}