Skip to content

Commit ff94191

Browse files
committed
accept row-by-row decompression under skip scan
1 parent 5c3c472 commit ff94191

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

tsl/test/expected/plan_skip_scan-17.out

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4434,22 +4434,22 @@ stable expression in targetlist on skip_scan_htc
44344434
Sort Key: skip_scan_htc.dev
44354435
-> Custom Scan (SkipScan) on _hyper_3_5_chunk (actual rows=10.00 loops=1)
44364436
-> Custom Scan (ColumnarScan) on _hyper_3_5_chunk (actual rows=10.00 loops=1)
4437-
Vectorized Filter: (dev_name IS NOT NULL)
4437+
Filter: (dev_name IS NOT NULL)
44384438
Rows Removed by Filter: 5
44394439
-> Index Scan using compress_hyper_4_26_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_26_chunk (actual rows=11.00 loops=1)
44404440
-> Custom Scan (SkipScan) on _hyper_3_6_chunk (actual rows=10.00 loops=1)
44414441
-> Custom Scan (ColumnarScan) on _hyper_3_6_chunk (actual rows=10.00 loops=1)
4442-
Vectorized Filter: (dev_name IS NOT NULL)
4442+
Filter: (dev_name IS NOT NULL)
44434443
Rows Removed by Filter: 5
44444444
-> Index Scan using compress_hyper_4_27_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_27_chunk (actual rows=11.00 loops=1)
44454445
-> Custom Scan (SkipScan) on _hyper_3_7_chunk (actual rows=10.00 loops=1)
44464446
-> Custom Scan (ColumnarScan) on _hyper_3_7_chunk (actual rows=10.00 loops=1)
4447-
Vectorized Filter: (dev_name IS NOT NULL)
4447+
Filter: (dev_name IS NOT NULL)
44484448
Rows Removed by Filter: 5
44494449
-> Index Scan using compress_hyper_4_28_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_28_chunk (actual rows=11.00 loops=1)
44504450
-> Custom Scan (SkipScan) on _hyper_3_8_chunk (actual rows=10.00 loops=1)
44514451
-> Custom Scan (ColumnarScan) on _hyper_3_8_chunk (actual rows=10.00 loops=1)
4452-
Vectorized Filter: (dev_name IS NOT NULL)
4452+
Filter: (dev_name IS NOT NULL)
44534453
Rows Removed by Filter: 5
44544454
-> Index Scan using compress_hyper_4_29_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_29_chunk (actual rows=11.00 loops=1)
44554455

@@ -4802,12 +4802,12 @@ range queries on skip_scan_htc
48024802
Sort Key: skip_scan_htc.dev
48034803
-> Custom Scan (SkipScan) on _hyper_3_5_chunk (actual rows=11.00 loops=1)
48044804
-> Custom Scan (ColumnarScan) on _hyper_3_5_chunk (actual rows=11.00 loops=1)
4805-
Vectorized Filter: (("time" >= 100) AND ("time" <= 300))
4805+
Filter: (("time" >= 100) AND ("time" <= 300))
48064806
-> Index Scan using compress_hyper_4_26_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_26_chunk (actual rows=11.00 loops=1)
48074807
Index Cond: ((_ts_meta_min_1 <= 300) AND (_ts_meta_max_1 >= 100))
48084808
-> Custom Scan (SkipScan) on _hyper_3_6_chunk (actual rows=11.00 loops=1)
48094809
-> Custom Scan (ColumnarScan) on _hyper_3_6_chunk (actual rows=11.00 loops=1)
4810-
Vectorized Filter: (("time" >= 100) AND ("time" <= 300))
4810+
Filter: (("time" >= 100) AND ("time" <= 300))
48114811
Rows Removed by Filter: 1993
48124812
-> Index Scan using compress_hyper_4_27_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_27_chunk (actual rows=11.00 loops=1)
48134813
Index Cond: ((_ts_meta_min_1 <= 300) AND (_ts_meta_max_1 >= 100))
@@ -4817,7 +4817,7 @@ range queries on skip_scan_htc
48174817
Unique (actual rows=11.00 loops=1)
48184818
-> Custom Scan (SkipScan) on _hyper_3_5_chunk (actual rows=11.00 loops=1)
48194819
-> Custom Scan (ColumnarScan) on _hyper_3_5_chunk (actual rows=11.00 loops=1)
4820-
Vectorized Filter: ("time" < 200)
4820+
Filter: ("time" < 200)
48214821
Rows Removed by Filter: 501
48224822
-> Index Scan using compress_hyper_4_26_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_26_chunk (actual rows=11.00 loops=1)
48234823
Index Cond: (_ts_meta_min_1 < 200)
@@ -4827,7 +4827,7 @@ range queries on skip_scan_htc
48274827
Unique (actual rows=11.00 loops=1)
48284828
-> Custom Scan (SkipScan) on _hyper_3_8_chunk (actual rows=11.00 loops=1)
48294829
-> Custom Scan (ColumnarScan) on _hyper_3_8_chunk (actual rows=11.00 loops=1)
4830-
Vectorized Filter: ("time" > 800)
4830+
Filter: ("time" > 800)
48314831
-> Index Scan using compress_hyper_4_29_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_29_chunk (actual rows=11.00 loops=1)
48324832
Index Cond: (_ts_meta_max_1 > 800)
48334833

@@ -5411,7 +5411,7 @@ WHERE CLAUSES
54115411
Sort Key: skip_scan_htc.dev
54125412
-> Custom Scan (SkipScan) on _hyper_3_5_chunk (actual rows=11.00 loops=1)
54135413
-> Custom Scan (ColumnarScan) on _hyper_3_5_chunk (actual rows=11.00 loops=1)
5414-
Vectorized Filter: ("time" > 5)
5414+
Filter: ("time" > 5)
54155415
Rows Removed by Filter: 61
54165416
-> Index Scan using compress_hyper_4_34_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_34_chunk (actual rows=11.00 loops=1)
54175417
Index Cond: (_ts_meta_max_1 > 5)
@@ -5706,7 +5706,7 @@ WHERE CLAUSES
57065706
Sort Key: skip_scan_htc.dev
57075707
-> Custom Scan (SkipScan) on _hyper_3_5_chunk (actual rows=5.00 loops=1)
57085708
-> Custom Scan (ColumnarScan) on _hyper_3_5_chunk (actual rows=5.00 loops=1)
5709-
Vectorized Filter: ("time" > 200)
5709+
Filter: ("time" > 200)
57105710
Rows Removed by Filter: 1005
57115711
-> Index Scan using compress_hyper_4_34_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_34_chunk (actual rows=5.00 loops=1)
57125712
Index Cond: ((dev > 5) AND (_ts_meta_max_1 > 200))
@@ -5750,7 +5750,7 @@ WHERE CLAUSES
57505750
Unique (actual rows=0.00 loops=1)
57515751
-> Custom Scan (SkipScan) on _hyper_3_5_chunk (actual rows=0.00 loops=1)
57525752
-> Custom Scan (ColumnarScan) on _hyper_3_5_chunk (actual rows=0.00 loops=1)
5753-
Vectorized Filter: (("time" > 100) AND ("time" < 200) AND (val > 10) AND (val < 10000))
5753+
Filter: (("time" > 100) AND ("time" < 200) AND (val > 10) AND (val < 10000))
57545754
Rows Removed by Filter: 1000
57555755
-> Index Scan using compress_hyper_4_34_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_4_34_chunk (actual rows=4.00 loops=1)
57565756
Index Cond: ((dev > 2) AND (dev < 7) AND (_ts_meta_min_1 < 200) AND (_ts_meta_max_1 > 100))
@@ -6827,7 +6827,7 @@ set enable_seqscan to off;
68276827
Unique (actual rows=11.00 loops=1)
68286828
-> Custom Scan (SkipScan) on _hyper_5_9_chunk (actual rows=11.00 loops=1)
68296829
-> Custom Scan (ColumnarScan) on _hyper_5_9_chunk (actual rows=11.00 loops=1)
6830-
Vectorized Filter: ("time" < 200)
6830+
Filter: ("time" < 200)
68316831
Rows Removed by Filter: 501
68326832
-> Index Scan using compress_hyper_6_10_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_6_10_chunk (actual rows=11.00 loops=1)
68336833
Index Cond: (_ts_meta_min_1 < 200)
@@ -6837,7 +6837,7 @@ set enable_seqscan to off;
68376837
Unique (actual rows=11.00 loops=1)
68386838
-> Custom Scan (SkipScan) on _hyper_5_13_chunk (actual rows=11.00 loops=1)
68396839
-> Custom Scan (ColumnarScan) on _hyper_5_13_chunk (actual rows=11.00 loops=1)
6840-
Vectorized Filter: ("time" > 800)
6840+
Filter: ("time" > 800)
68416841
-> Index Scan using compress_hyper_6_16_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_6_16_chunk (actual rows=11.00 loops=1)
68426842
Index Cond: (_ts_meta_max_1 > 800)
68436843

@@ -6957,7 +6957,7 @@ WHERE CLAUSES
69576957
Sort Key: skip_scan_htcl.dev
69586958
-> Custom Scan (SkipScan) on _hyper_5_9_chunk (actual rows=11.00 loops=1)
69596959
-> Custom Scan (ColumnarScan) on _hyper_5_9_chunk (actual rows=11.00 loops=1)
6960-
Vectorized Filter: ("time" > 5)
6960+
Filter: ("time" > 5)
69616961
-> Index Scan using compress_hyper_6_10_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_6_10_chunk (actual rows=11.00 loops=1)
69626962
Index Cond: (_ts_meta_max_1 > 5)
69636963
-> Custom Scan (SkipScan) on _hyper_5_11_chunk (actual rows=11.00 loops=1)
@@ -7279,7 +7279,7 @@ SET enable_seqscan = false;
72797279
Sort Key: skip_scan_htcl.dev
72807280
-> Custom Scan (SkipScan) on _hyper_5_9_chunk (actual rows=5.00 loops=1)
72817281
-> Custom Scan (ColumnarScan) on _hyper_5_9_chunk (actual rows=5.00 loops=1)
7282-
Vectorized Filter: ("time" > 200)
7282+
Filter: ("time" > 200)
72837283
-> Index Scan using compress_hyper_6_10_chunk_dev__ts_meta_min_1__ts_meta_max_1_idx on compress_hyper_6_10_chunk (actual rows=5.00 loops=1)
72847284
Index Cond: ((dev > 5) AND (_ts_meta_max_1 > 200))
72857285
-> Custom Scan (SkipScan) on _hyper_5_11_chunk (actual rows=5.00 loops=1)

0 commit comments

Comments
 (0)