Merge pull request #354 from influxdata/ifql-window-interval
Add initial window bound offset test cases for fluxpull/10616/head
commit
3b122e327d
|
@ -0,0 +1,3 @@
|
|||
from(db: "test")
|
||||
|> range(start:2018-05-22T19:53:30Z)
|
||||
|> window(every:1m)
|
|
@ -0,0 +1,10 @@
|
|||
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
|
||||
#partition,false,false,false,false,false,false,true,true,true
|
||||
#default,_result,,,,,,,,
|
||||
,result,table,_start,_stop,_time,_value,_field,_measurement,host
|
||||
,,147,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,63.053321838378906,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:54:34.421470485Z,2018-05-22T19:55:34.421470485Z,2018-05-22T19:54:36Z,62.71536350250244,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:55:44.421470485Z,2018-05-22T19:56:44.421470485Z,2018-05-22T19:55:46Z,62.38760948181152,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:56:54.421470485Z,2018-05-22T19:57:54.421470485Z,2018-05-22T19:56:56Z,62.74595260620117,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:57:04.421470485Z,2018-05-22T19:58:04.421470485Z,2018-05-22T19:57:06Z,62.78183460235596,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:58:14.421470485Z,2018-05-22T19:59:14.421470485Z,2018-05-22T19:58:16Z,62.46745586395264,used_percent,mem,host.local
|
|
|
@ -0,0 +1,10 @@
|
|||
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
|
||||
#partition,false,false,true,true,false,false,true,true,true
|
||||
#default,_result,,,,,,,,
|
||||
,result,table,_start,_stop,_time,_value,_field,_measurement,host
|
||||
,,0,2018-05-22T19:54:00Z,2018-05-22T19:55:00Z,2018-05-22T19:54:36Z,62.71536350250244,used_percent,mem,host.local
|
||||
,,1,2018-05-22T19:55:00Z,2018-05-22T19:56:00Z,2018-05-22T19:55:46Z,62.38760948181152,used_percent,mem,host.local
|
||||
,,2,2018-05-22T19:56:00Z,2018-05-22T19:57:00Z,2018-05-22T19:56:56Z,62.74595260620117,used_percent,mem,host.local
|
||||
,,3,2018-05-22T19:57:00Z,2018-05-22T19:58:00Z,2018-05-22T19:57:06Z,62.78183460235596,used_percent,mem,host.local
|
||||
,,4,2018-05-22T19:58:00Z,2018-05-22T19:59:00Z,2018-05-22T19:58:16Z,62.46745586395264,used_percent,mem,host.local
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
from(db: "test")
|
||||
|> range(start:2018-05-22T19:53:00Z)
|
||||
|> window(start:2018-05-22T19:53:30Z,every: 1m)
|
|
@ -0,0 +1,10 @@
|
|||
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
|
||||
#partition,false,false,false,false,false,false,true,true,true
|
||||
#default,_result,,,,,,,,
|
||||
,result,table,_start,_stop,_time,_value,_field,_measurement,host
|
||||
,,147,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,63.053321838378906,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:54:34.421470485Z,2018-05-22T19:55:34.421470485Z,2018-05-22T19:54:36Z,62.71536350250244,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:55:44.421470485Z,2018-05-22T19:56:44.421470485Z,2018-05-22T19:55:46Z,62.38760948181152,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:56:54.421470485Z,2018-05-22T19:57:54.421470485Z,2018-05-22T19:56:56Z,62.74595260620117,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:57:04.421470485Z,2018-05-22T19:58:04.421470485Z,2018-05-22T19:57:06Z,62.78183460235596,used_percent,mem,host.local
|
||||
,,147,2018-05-22T19:58:14.421470485Z,2018-05-22T19:59:14.421470485Z,2018-05-22T19:58:16Z,62.46745586395264,used_percent,mem,host.local
|
|
|
@ -0,0 +1,11 @@
|
|||
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
|
||||
#partition,false,false,true,true,false,false,true,true,true
|
||||
#default,_result,,,,,,,,
|
||||
,result,table,_start,_stop,_time,_value,_field,_measurement,host
|
||||
,,0,2018-05-22T19:53:00Z,2018-05-22T19:53:30Z,2018-05-22T19:53:26Z,63.053321838378906,used_percent,mem,host.local
|
||||
,,1,2018-05-22T19:54:30Z,2018-05-22T19:55:30Z,2018-05-22T19:54:36Z,62.71536350250244,used_percent,mem,host.local
|
||||
,,2,2018-05-22T19:55:30Z,2018-05-22T19:56:30Z,2018-05-22T19:55:46Z,62.38760948181152,used_percent,mem,host.local
|
||||
,,3,2018-05-22T19:56:30Z,2018-05-22T19:57:30Z,2018-05-22T19:56:56Z,62.74595260620117,used_percent,mem,host.local
|
||||
,,3,2018-05-22T19:56:30Z,2018-05-22T19:57:30Z,2018-05-22T19:57:06Z,62.78183460235596,used_percent,mem,host.local
|
||||
,,4,2018-05-22T19:57:30Z,2018-05-22T19:58:30Z,2018-05-22T19:58:16Z,62.46745586395264,used_percent,mem,host.local
|
||||
|
|
Loading…
Reference in New Issue