Skip to content

Commit f0fc96a

Browse files
committed
reference REL_18_3 rowsecurity plan_expand_hypertable
1 parent 3ee62f3 commit f0fc96a

2 files changed

Lines changed: 93 additions & 197 deletions

File tree

test/expected/plan_expand_hypertable-18.out

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,35 +3234,21 @@ EXPLAIN (buffers off, costs off) SELECT * FROM f_t1_2(10);
32343234
Subquery Scan on f_t1_2
32353235
-> Unique
32363236
-> Sort
3237-
Sort Key: j.a
3238-
-> Nested Loop
3239-
-> Seq Scan on t1 j
3240-
-> Limit
3241-
-> Index Scan using t1_b_idx on t1
3242-
Index Cond: (b = 10)
3243-
Filter: (a = j.a)
3237+
Sort Key: a
3238+
-> Result
3239+
One-Time Filter: false
32443240

32453241
EXPLAIN (buffers off, costs off) SELECT * FROM f_t1_2(10) sc, f_t2(sc.a, 10);
32463242
--- QUERY PLAN ---
32473243
Nested Loop
32483244
-> Unique
32493245
-> Sort
32503246
Sort Key: j.a
3251-
-> Nested Loop
3252-
-> Seq Scan on t1 j
3253-
-> Limit
3254-
-> Index Scan using t1_b_idx on t1
3255-
Index Cond: (b = 10)
3256-
Filter: (a = j.a)
3247+
-> Result
3248+
One-Time Filter: false
32573249
-> Limit
3258-
-> Nested Loop
3259-
-> Limit
3260-
-> Index Scan using t1_b_idx on t1 t1_1
3261-
Index Cond: (b = 10)
3262-
Filter: (a = t1.a)
3263-
-> Index Scan using t2_b_idx on t2 j_1
3264-
Index Cond: (b = 10)
3265-
Filter: (a = t1.a)
3250+
-> Result
3251+
One-Time Filter: false
32663252

32673253
CREATE TABLE metrics_int1(time int, device text, value float) WITH (tsdb.hypertable,tsdb.partition_column='time',tsdb.chunk_interval=1);
32683254
INSERT INTO metrics_int1 SELECT i, i::text, i FROM generate_series(3,7) i;

0 commit comments

Comments
 (0)