{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/5973","repository_url":"https://api.github.com/repos/influxdata/influxdb","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/5973/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/5973/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/5973/events","html_url":"https://github.com/influxdata/influxdb/issues/5973","id":139950778,"number":5973,"title":"[0.11.0] Match points between two iterators for binary math","user":{"login":"jsternberg","id":1212129,"avatar_url":"https://avatars.githubusercontent.com/u/1212129?v=3","gravatar_id":"","url":"https://api.github.com/users/jsternberg","html_url":"https://github.com/jsternberg","followers_url":"https://api.github.com/users/jsternberg/followers","following_url":"https://api.github.com/users/jsternberg/following{/other_user}","gists_url":"https://api.github.com/users/jsternberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsternberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsternberg/subscriptions","organizations_url":"https://api.github.com/users/jsternberg/orgs","repos_url":"https://api.github.com/users/jsternberg/repos","events_url":"https://api.github.com/users/jsternberg/events{/privacy}","received_events_url":"https://api.github.com/users/jsternberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdata/influxdb/labels/category/queries","name":"category/queries","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"jsternberg","id":1212129,"avatar_url":"https://avatars.githubusercontent.com/u/1212129?v=3","gravatar_id":"","url":"https://api.github.com/users/jsternberg","html_url":"https://github.com/jsternberg","followers_url":"https://api.github.com/users/jsternberg/followers","following_url":"https://api.github.com/users/jsternberg/following{/other_user}","gists_url":"https://api.github.com/users/jsternberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsternberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsternberg/subscriptions","organizations_url":"https://api.github.com/users/jsternberg/orgs","repos_url":"https://api.github.com/users/jsternberg/repos","events_url":"https://api.github.com/users/jsternberg/events{/privacy}","received_events_url":"https://api.github.com/users/jsternberg/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-03-10T16:59:34Z","updated_at":"2016-03-14T17:09:14Z","closed_at":"2016-03-14T13:09:13Z","body":"Binary math is currently done by just reading each iterator and adding the next point from each one to the other. This kind of approach worked for one iterator against a literal because the literal never changed, but it doesn't work for two iterators because they could return different points from each other and become out of sync very easily.\r\n\r\nFix the binary math between two iterators to match the two sides with each other and handle skipped or mismatched points.\r\n\r\nRelated to #5959."},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/196415273","html_url":"https://github.com/influxdata/influxdb/issues/5973#issuecomment-196415273","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/5973","id":196415273,"user":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T17:09:14Z","updated_at":"2016-03-14T17:09:14Z","body":"I think `nil` would make it more clear that one of the values was missing.  I could go either way though."}}