mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
Add tests for Rows() on time fields
This commit is contained in:
parent
b77f9e8a43
commit
f51ff4dc85
1 changed files with 12 additions and 0 deletions
|
|
@ -6921,6 +6921,18 @@ austin,1,0
|
|||
toronto,1,0
|
||||
`,
|
||||
},
|
||||
{ // 2020 & 2019 All
|
||||
query: `Rows(places_visited, from='2019-01-01T00:00', to='2020-12-31T23:59')`,
|
||||
csvVerifier: "nairobi\nparis\naustin\ntoronto\nmombasa\nsydney\n",
|
||||
},
|
||||
{ // 2019 All
|
||||
query: `Rows(places_visited, from='2019-01-01T00:00', to='2019-12-31T23:59')`,
|
||||
csvVerifier: "nairobi\nparis\naustin\ntoronto\n",
|
||||
},
|
||||
{ // 2019 January only
|
||||
query: `Rows(places_visited, from='2019-01-01T00:00', to='2019-02-01T00:00')`,
|
||||
csvVerifier: "nairobi\nparis\naustin\ntoronto\n",
|
||||
},
|
||||
{
|
||||
query: "Count(All())",
|
||||
qrVerifier: func(t *testing.T, resp pilosa.QueryResponse) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue