series with no points don't return anything

pull/269/head
John Shahid 2014-02-25 14:30:29 -05:00
parent 3679e41187
commit 8e1261bc95
1 changed files with 1 additions and 7 deletions
src/integration

View File

@ -1272,13 +1272,7 @@ func (self *EngineSuite) TestDerivativeQueryWithOnePoint(c *C) {
}
]`)
self.runQuery("select derivative(column_one) from foo", c, `[
{
"points": [],
"name": "foo",
"fields": ["derivative"]
}
]`)
self.runQuery("select derivative(column_one) from foo", c, `[]`)
}
func (self *EngineSuite) TestDistinctQuery(c *C) {