Debian Codegraph @

test/command/suite/select/function/in_values/with_index/many_values.test

raw
1 table_create Items TABLE_NO_KEY
2 column_create Items tag COLUMN_SCALAR UInt32
3
4 table_create Tags TABLE_PAT_KEY UInt32
5 column_create Tags items_tag COLUMN_INDEX Items tag
6
7 load --table Items
8 [
9 ["tag"],
10 [1],
11 [2],
12 [3],
13 [4],
14 [5],
15 [6],
16 [7],
17 [8],
18 [9],
19 [10],
20 [11],
21 [12],
22 [13],
23 [14],
24 [15],
25 [16],
26 [17],
27 [18],
28 [19],
29 [20],
30 [21],
31 [22],
32 [23],
33 [24],
34 [25],
35 [26],
36 [27],
37 [28],
38 [29],
39 [30],
40 [31],
41 [32],
42 [33],
43 [34],
44 [35],
45 [36],
46 [37],
47 [38],
48 [39],
49 [40],
50 [41],
51 [42],
52 [43],
53 [44],
54 [45],
55 [46],
56 [47],
57 [48],
58 [49],
59 [50],
60 [51],
61 [52],
62 [53],
63 [54],
64 [55],
65 [56],
66 [57],
67 [58],
68 [59],
69 [60],
70 [61],
71 [62],
72 [63],
73 [64],
74 [65],
75 [66],
76 [67],
77 [68],
78 [69],
79 [70],
80 [71],
81 [72],
82 [73],
83 [74],
84 [75],
85 [76],
86 [77],
87 [78],
88 [79],
89 [80],
90 [81],
91 [82],
92 [83],
93 [84],
94 [85],
95 [86],
96 [87],
97 [88],
98 [89],
99 [90],
100 [91],
101 [92],
102 [93],
103 [94],
104 [95],
105 [96],
106 [97],
107 [98],
108 [99],
109 [100],
110 [101],
111 [102],
112 [103],
113 [104],
114 [105],
115 [106],
116 [107],
117 [108],
118 [109],
119 [110],
120 [111],
121 [112],
122 [113],
123 [114],
124 [115],
125 [116],
126 [117],
127 [118],
128 [119],
129 [120],
130 [121],
131 [122],
132 [123],
133 [124],
134 [125],
135 [126],
136 [127],
137 [128],
138 [129],
139 [130]
140 ]
141
142 select Items \
143 --filter 'in_values(tag,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128)' \
144 --limit 0