{"action":"created","issue":{"url":"https://api.github.com/repos/corley/influxdb-php-sdk/issues/48","labels_url":"https://api.github.com/repos/corley/influxdb-php-sdk/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/corley/influxdb-php-sdk/issues/48/comments","events_url":"https://api.github.com/repos/corley/influxdb-php-sdk/issues/48/events","html_url":"https://github.com/corley/influxdb-php-sdk/issues/48","id":101281478,"number":48,"title":"Support for influxdb server version 0.9.2","user":{"login":"skynet","id":139233,"avatar_url":"https://avatars.githubusercontent.com/u/139233?v=3","gravatar_id":"","url":"https://api.github.com/users/skynet","html_url":"https://github.com/skynet","followers_url":"https://api.github.com/users/skynet/followers","following_url":"https://api.github.com/users/skynet/following{/other_user}","gists_url":"https://api.github.com/users/skynet/gists{/gist_id}","starred_url":"https://api.github.com/users/skynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skynet/subscriptions","organizations_url":"https://api.github.com/users/skynet/orgs","repos_url":"https://api.github.com/users/skynet/repos","events_url":"https://api.github.com/users/skynet/events{/privacy}","received_events_url":"https://api.github.com/users/skynet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/corley/influxdb-php-sdk/labels/WIP","name":"WIP","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"wdalmut","id":551974,"avatar_url":"https://avatars.githubusercontent.com/u/551974?v=3","gravatar_id":"","url":"https://api.github.com/users/wdalmut","html_url":"https://github.com/wdalmut","followers_url":"https://api.github.com/users/wdalmut/followers","following_url":"https://api.github.com/users/wdalmut/following{/other_user}","gists_url":"https://api.github.com/users/wdalmut/gists{/gist_id}","starred_url":"https://api.github.com/users/wdalmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdalmut/subscriptions","organizations_url":"https://api.github.com/users/wdalmut/orgs","repos_url":"https://api.github.com/users/wdalmut/repos","events_url":"https://api.github.com/users/wdalmut/events{/privacy}","received_events_url":"https://api.github.com/users/wdalmut/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-08-16T17:13:26Z","updated_at":"2015-08-22T11:35:08Z","closed_at":null,"body":"There might be [some breaking changes in 0.9.2](https://github.com/influxdb/influxdb/blob/master/CHANGELOG.md#v092-2015-07-24), particularly with inserting integer values.\r\n\r\nhttps://github.com/influxdb/influxdb/issues/3606\r\n\r\nIs the library updated to support these changes in 0.9.2 (and soon 0.9.3)?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/corley/influxdb-php-sdk/issues/comments/133678361","html_url":"https://github.com/corley/influxdb-php-sdk/issues/48#issuecomment-133678361","issue_url":"https://api.github.com/repos/corley/influxdb-php-sdk/issues/48","id":133678361,"user":{"login":"wdalmut","id":551974,"avatar_url":"https://avatars.githubusercontent.com/u/551974?v=3","gravatar_id":"","url":"https://api.github.com/users/wdalmut","html_url":"https://github.com/wdalmut","followers_url":"https://api.github.com/users/wdalmut/followers","following_url":"https://api.github.com/users/wdalmut/following{/other_user}","gists_url":"https://api.github.com/users/wdalmut/gists{/gist_id}","starred_url":"https://api.github.com/users/wdalmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdalmut/subscriptions","organizations_url":"https://api.github.com/users/wdalmut/orgs","repos_url":"https://api.github.com/users/wdalmut/repos","events_url":"https://api.github.com/users/wdalmut/events{/privacy}","received_events_url":"https://api.github.com/users/wdalmut/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T11:35:08Z","updated_at":"2015-08-22T11:35:08Z","body":"Not the storage space, influxdb cannot store multiple data value for the same column. \r\n\r\nIf you use\r\n\r\n```php\r\n$client->mark(\"serie\", [\r\n  \"valid\" => true,\r\n]);\r\n```\r\n\r\nAnd after\r\n\r\n```php\r\n$client->mark(\"serie\", [\r\n  \"valid\" => 12.4,\r\n]);\r\n```\r\n\r\nInfluxDB cannot store point `12.4` because the column `valid` is a boolean type column. \r\n\r\nIf you bring this situation to the `int64` issue, if you mark the first point as\r\n\r\n```php\r\n$client->mark(\"serie\", [\r\n  \"cpu\" => 12,\r\n]);\r\n```\r\n\r\nThis is marked as `int64` in InfluxDB `<=0.9.2` and then you cannot store `float64` points\r\n\r\n```php\r\n$client->mark(\"serie\", [\r\n  \"cpu\" => 12.4,\r\n]);\r\n```\r\n\r\nThis second value cannot be stored in place because the column `cpu` is an `int64` column.\r\n\r\nIn InfluxDB 0.9.3 you can force the `int64` data type using the trailing `i`, otherwise all data are `float64`.\r\n\r\nDo you agree?"}}