Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zenus committed May 23, 2024
1 parent dec32a4 commit 5a28e15
Showing 1 changed file with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ INSERT INTO events VALUES

statement ok
CREATE TABLE probes AS
(SELECT key::DOUBLE as key, ts::DOUBLE as ts
(SELECT key, ts::DOUBLE as ts
FROM range(1,3) k(key) CROSS JOIN range(0,10) t(ts)
);

Expand Down Expand Up @@ -69,23 +69,23 @@ FROM probes p ASOF JOIN events e
ON p.key = e.key AND p.ts >= e.begin
ORDER BY 1, 2 ASC
----
1.0 1.0 0
1.0 2.0 0
1.0 3.0 1
1.0 4.0 1
1.0 5.0 1
1.0 6.0 2
1.0 7.0 2
1.0 8.0 3
1.0 9.0 3
2.0 0.0 10
2.0 1.0 10
2.0 2.0 10
2.0 3.0 10
2.0 4.0 10
2.0 5.0 10
2.0 6.0 10
2.0 7.0 20
2.0 8.0 20
2.0 9.0 20
1 1.0 0
1 2.0 0
1 3.0 1
1 4.0 1
1 5.0 1
1 6.0 2
1 7.0 2
1 8.0 3
1 9.0 3
2 0.0 10
2 1.0 10
2 2.0 10
2 3.0 10
2 4.0 10
2 5.0 10
2 6.0 10
2 7.0 20
2 8.0 20
2 9.0 20

0 comments on commit 5a28e15

Please sign in to comment.