You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One point is written to a time before epoch 0, one is written a few weeks after epoch 0, one is earlier this year, and the final one inherits now() when inserted.
I cannot craft a WHERE time clause that will return all points:
> select * from old
name: old
---------
time value
1970-01-17T11:09:28.543Z 10000
2015-01-29T21:55:43Z 100
2015-05-29T23:23:01.796811813Z 1
> select * from old where time > -10000s
name: old
---------
time value
1969-12-31T23:36:18Z 1e+07
> select * from old where time < now()
name: old
---------
time value
1970-01-17T11:09:28.543Z 10000
2015-01-29T21:55:43Z 100
2015-05-29T23:23:01.796811813Z 1
> select * from old where time > -10000s and time < now()
name: old
---------
time value
1969-12-31T23:36:18Z 1e+07
The text was updated successfully, but these errors were encountered:
Same appears to hold for aggregate queries, as well:
> select count(value) from old
name: old
---------
time count
1970-01-01T00:00:00Z 3
> select count(value) from old where time > -10000s
name: old
---------
time count
1970-01-01T00:00:00Z 1
> select count(value) from old where time < now()
name: old
---------
time count
1970-01-01T00:00:00Z 3
> select count(value) from old where time > -10000s and time < now()
name: old
---------
time count
1970-01-01T00:00:00Z 1
> select count(value) from old where time < now() and time > -10000s
name: old
---------
time count
1970-01-01T00:00:00Z 1
Here are my points:
One point is written to a time before epoch 0, one is written a few weeks after epoch 0, one is earlier this year, and the final one inherits now() when inserted.
I cannot craft a
WHERE time
clause that will return all points:The text was updated successfully, but these errors were encountered: