add an explicit test for filtering when there's time in the where condition.

pull/17/head
John Shahid 2013-10-16 17:44:13 -04:00
parent 76eb8d64d7
commit 766235426c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func (self *FilteringSuite) TestEqualityFiltering(c *C) {
}
func (self *FilteringSuite) TestInequalityFiltering(c *C) {
queryStr := "select * from t where column_one >= 100 and column_two > 6;"
queryStr := "select * from t where column_one >= 100 and column_two > 6 and time > now() - 1d;"
query, err := parser.ParseQuery(queryStr)
c.Assert(err, IsNil)
series, err := common.StringToSeriesArray(`