influxdb/influxdb — pull request #820 by seunglee150 (2014-08-13 13:47:08+00:00)
Title: query non-local shard with time range

on delegating query to remote server, queryString needs to be querySpec.GetQueryStringWithTimeCondition()

## sample data

```json
[
{
"name": "hello",
"columns": [
"time",
"value"
],
"points": [
[
6000,
10
],
[
5000,
20
],
[
4000,
30
],
[
3000,
20
],
[
2000,
10
],
[
1000,
0
]
]
}
]
```

## query to local server

```
select * from hello where time>4s
```
server returns 3 points

## query to non-local server

```
select * from hello where time>4s
```
server returns 6(all) points