{"action":"opened","issue":{"url":"https://api.github.com/repos/overture-stack/arranger/issues/211","repository_url":"https://api.github.com/repos/overture-stack/arranger","labels_url":"https://api.github.com/repos/overture-stack/arranger/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/overture-stack/arranger/issues/211/comments","events_url":"https://api.github.com/repos/overture-stack/arranger/issues/211/events","html_url":"https://github.com/overture-stack/arranger/issues/211","id":302833258,"number":211,"title":"graphql api date parsing bug","user":{"login":"hlminh2000","id":11821106,"avatar_url":"https://avatars3.githubusercontent.com/u/11821106?v=4","gravatar_id":"","url":"https://api.github.com/users/hlminh2000","html_url":"https://github.com/hlminh2000","followers_url":"https://api.github.com/users/hlminh2000/followers","following_url":"https://api.github.com/users/hlminh2000/following{/other_user}","gists_url":"https://api.github.com/users/hlminh2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hlminh2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlminh2000/subscriptions","organizations_url":"https://api.github.com/users/hlminh2000/orgs","repos_url":"https://api.github.com/users/hlminh2000/repos","events_url":"https://api.github.com/users/hlminh2000/events{/privacy}","received_events_url":"https://api.github.com/users/hlminh2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T19:26:07Z","updated_at":"2018-03-06T19:26:07Z","closed_at":null,"author_association":"COLLABORATOR","body":"api: http://54.90.181.86:5050/mar6/graphql\r\nQuery: \r\n```\r\nquery ($sqon: JSON){\r\n  file {\r\n    aggregations (\r\n      aggregations_filter_themselves: false\r\n      filters: $sqon\r\n    ) { \r\n      created_at {\r\n        buckets { key doc_count }\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\nvariables\r\n```\r\n{\r\n  \"sqon\": {\r\n    \"op\": \"and\",\r\n    \"content\": [\r\n      {\r\n        \"op\": \"in\",\r\n        \"content\": {\r\n          \"field\": \"created_at\",\r\n          \"value\": [\r\n            \"1519757409296\"\r\n          ]\r\n        }\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\nreceived error:\r\n```\r\n{\r\n  \"data\": {\r\n    \"file\": {\r\n      \"aggregations\": null\r\n    }\r\n  },\r\n  \"errors\": [\r\n    {\r\n      \"message\": \"[parse_exception] failed to parse date field [1519757409296] with format [yyyy-MM-dd HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss]\",\r\n      \"path\": \"/file-centric/file-centric/_search\"\r\n    }\r\n  ]\r\n}\r\n```"}}
{"actor":{"display_login":"hlminh2000"}}