{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/1657","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/1657/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/1657/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/1657/events","html_url":"https://github.com/influxdb/influxdb/issues/1657","id":58298209,"number":1657,"title":"time precision if only in shared segment is ignored","user":{"login":"dashesy","id":873905,"avatar_url":"https://avatars.githubusercontent.com/u/873905?v=3","gravatar_id":"","url":"https://api.github.com/users/dashesy","html_url":"https://github.com/dashesy","followers_url":"https://api.github.com/users/dashesy/followers","following_url":"https://api.github.com/users/dashesy/following{/other_user}","gists_url":"https://api.github.com/users/dashesy/gists{/gist_id}","starred_url":"https://api.github.com/users/dashesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashesy/subscriptions","organizations_url":"https://api.github.com/users/dashesy/orgs","repos_url":"https://api.github.com/users/dashesy/repos","events_url":"https://api.github.com/users/dashesy/events{/privacy}","received_events_url":"https://api.github.com/users/dashesy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/influxdb/influxdb/milestones/38","html_url":"https://github.com/influxdb/influxdb/milestones/Longer%20term","labels_url":"https://api.github.com/repos/influxdb/influxdb/milestones/38/labels","id":1020714,"number":38,"title":"Longer term","description":"Milestone for issues that aren't part of this release or the next","creator":{"login":"beckettsean","id":6537329,"avatar_url":"https://avatars.githubusercontent.com/u/6537329?v=3","gravatar_id":"","url":"https://api.github.com/users/beckettsean","html_url":"https://github.com/beckettsean","followers_url":"https://api.github.com/users/beckettsean/followers","following_url":"https://api.github.com/users/beckettsean/following{/other_user}","gists_url":"https://api.github.com/users/beckettsean/gists{/gist_id}","starred_url":"https://api.github.com/users/beckettsean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckettsean/subscriptions","organizations_url":"https://api.github.com/users/beckettsean/orgs","repos_url":"https://api.github.com/users/beckettsean/repos","events_url":"https://api.github.com/users/beckettsean/events{/privacy}","received_events_url":"https://api.github.com/users/beckettsean/received_events","type":"User","site_admin":false},"open_issues":117,"closed_issues":3,"state":"open","created_at":"2015-03-13T17:41:02Z","updated_at":"2015-08-13T20:29:34Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-20T01:22:47Z","updated_at":"2015-08-13T20:29:34Z","closed_at":"2015-08-13T20:29:34Z","body":"If using epoch time `\"precision\":\"ms\"` must be accompanied in all of the points and cannot be only specified in the shared segment even if it is the same for all.\r\n\r\nIf write this:\r\n```json\r\n'{\"points\": [{\"timestamp\": 1422921600000, \"values\": {\"value\": 1}, \"name\": \"my.test\", \"precision\": \"ms\"}, {\"timestamp\": 1423008000000, \"values\": {\"value\": 2}, \"name\": \"my.test\", \"precision\": \"ms\"}], \"precision\": \"ms\", \"database\": \"processed\"}'\r\n```\r\n\r\nI get this in the logs (all good 2015 year)\r\n```text\r\n[write] 1 2015-02-03 16:00:00 -0800 PST\r\n[write] 1 2015-02-02 16:00:00 -0800 PST\r\n```\r\nBut if I write this (notice I have `precision` only on the shared block)\r\n```json\r\n'{\"points\": [{\"timestamp\": 1422921600000, \"values\": {\"value\": 1}, \"name\": \"my.test\"}, {\"timestamp\": 1423008000000, \"values\": {\"value\": 2}, \"name\": \"my.test\"}], \"precision\": \"ms\", \"database\": \"processed\"}'\r\n```\r\n\r\nThen most likely it crashes but if not I get this (notice the year):\r\n```text\r\n[write] 1 2052-08-31 00:38:44.365 -0800 PST\r\n[write] 1 2049-12-05 00:38:44.365 -0800 PST\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/130830638","html_url":"https://github.com/influxdb/influxdb/issues/1657#issuecomment-130830638","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/1657","id":130830638,"user":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T20:29:34Z","updated_at":"2015-08-13T20:29:34Z","body":"The JSON API is deprecated, and this issue is unlikely to be addressed."}}