influxdb/influxdb-ruby — pull request #32 by maxd (2014-02-26 13:48:18+00:00)
Title: Rename identical column names

At present InfluxDB doesn't support column aliases. So, the following query:

~~~
select count(distinct(user_id)), count(user_id) from events
~~~

return dataset with the following column names: ["count", "count"]. It is cause problem because `denormalize_series` function convert dataset to hash with one `count` field.

To avoid this problem I have made a patch which rename identical columns.

Could you please verify this pull request and approve it?