ClickHouse/tests/queries/0_stateless/01822_short_circuit.reference

1836 lines
7.6 KiB
Plaintext

0
101
51
34
26
21
17
15
13
12
0
1
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
10000000
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
00
22
33
44
55
55
77
88
99
1010
1010
1212
1313
1414
1515
1515
1717
1818
1919
2020
00
\N
\N
\N
\N
55
\N
\N
\N
\N
1010
\N
\N
\N
\N
1515
\N
\N
\N
\N
\N
11
22
33
44
\N
66
77
88
99
\N
1111
1212
1313
1414
\N
1616
1717
1818
1919
00
\N
\N
\N
\N
55
\N
\N
\N
\N
1010
\N
\N
\N
\N
1515
\N
\N
\N
\N
10
12
13
14
15
15
17
18
19
20
20
22
23
24
25
25
27
28
29
30
10
\N
\N
\N
\N
15
\N
\N
\N
\N
20
\N
\N
\N
\N
25
\N
\N
\N
\N
\N
11
12
13
14
\N
16
17
18
19
\N
21
22
23
24
\N
26
27
28
29
10
\N
\N
\N
\N
15
\N
\N
\N
\N
20
\N
\N
\N
\N
25
\N
\N
\N
\N
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
\N
\N
\N
\N
1970-01-01
\N
\N
\N
\N
1970-01-01
\N
\N
\N
\N
1970-01-01
\N
\N
\N
\N
\N
1970-01-01
1970-01-01
1970-01-01
1970-01-01
\N
1970-01-01
1970-01-01
1970-01-01
1970-01-01
\N
1970-01-01
1970-01-01
1970-01-01
1970-01-01
\N
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
\N
\N
\N
\N
1970-01-01
\N
\N
\N
\N
1970-01-01
\N
\N
\N
\N
1970-01-01
\N
\N
\N
\N
1970-01-01 00:00:00
1970-01-01 05:33:20
1970-01-01 08:20:00
1970-01-01 11:06:40
1970-01-01 13:53:20
1970-01-01 13:53:20
1970-01-01 19:26:40
1970-01-01 22:13:20
1970-01-02 01:00:00
1970-01-02 03:46:40
1970-01-02 03:46:40
1970-01-02 09:20:00
1970-01-02 12:06:40
1970-01-02 14:53:20
1970-01-02 17:40:00
1970-01-02 17:40:00
1970-01-02 23:13:20
1970-01-03 02:00:00
1970-01-03 04:46:40
1970-01-03 07:33:20
1970-01-01 00:00:00
\N
\N
\N
\N
1970-01-01 13:53:20
\N
\N
\N
\N
1970-01-02 03:46:40
\N
\N
\N
\N
1970-01-02 17:40:00
\N
\N
\N
\N
\N
1970-01-01 02:46:40
1970-01-01 05:33:20
1970-01-01 08:20:00
1970-01-01 11:06:40
\N
1970-01-01 16:40:00
1970-01-01 19:26:40
1970-01-01 22:13:20
1970-01-02 01:00:00
\N
1970-01-02 06:33:20
1970-01-02 09:20:00
1970-01-02 12:06:40
1970-01-02 14:53:20
\N
1970-01-02 20:26:40
1970-01-02 23:13:20
1970-01-03 02:00:00
1970-01-03 04:46:40
1970-01-01 00:00:00
\N
\N
\N
\N
1970-01-01 13:53:20
\N
\N
\N
\N
1970-01-02 03:46:40
\N
\N
\N
\N
1970-01-02 17:40:00
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
0
2
3
4
5
5
7
8
9
10
10
12
13
14
15
15
17
18
19
20
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
\N
1
2
3
4
\N
6
7
8
9
\N
11
12
13
14
\N
16
17
18
19
0
\N
\N
\N
\N
5
\N
\N
\N
\N
10
\N
\N
\N
\N
15
\N
\N
\N
\N
[]
[0,1]
[0,1,2]
[0,1,2,3]
[0,1,2,3,4]
[0,1,2,3,4]
[0,1,2,3,4,5,6]
[0,1,2,3,4,5,6,7]
[0,1,2,3,4,5,6,7,8]
[0,1,2,3,4,5,6,7,8,9]
[0,1,2,3,4,5,6,7,8,9]
[0,1,2,3,4,5,6,7,8,9,10,11]
[0,1,2,3,4,5,6,7,8,9,10,11,12]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]
[]
['1','1']
['2','2','2']
['3','3','3','3']
['4','4','4','4','4']
['5','5','5','5','5']
['6','6','6','6','6','6','6']
['7','7','7','7','7','7','7','7']
['8','8','8','8','8','8','8','8','8']
['9','9','9','9','9','9','9','9','9','9']
['10','10','10','10','10','10','10','10','10','10']
['11','11','11','11','11','11','11','11','11','11','11','11']
['12','12','12','12','12','12','12','12','12','12','12','12','12']
['13','13','13','13','13','13','13','13','13','13','13','13','13','13']
['14','14','14','14','14','14','14','14','14','14','14','14','14','14','14']
['15','15','15','15','15','15','15','15','15','15','15','15','15','15','15']
['16','16','16','16','16','16','16','16','16','16','16','16','16','16','16','16','16']
['17','17','17','17','17','17','17','17','17','17','17','17','17','17','17','17','17','17']
['18','18','18','18','18','18','18','18','18','18','18','18','18','18','18','18','18','18','18']
['19','19','19','19','19','19','19','19','19','19','19','19','19','19','19','19','19','19','19','19']
0
1
1
1
1
0
\N
\N
\N
\N
1
1
1
1
1
10
10
10
10
10
10
505
255
170
130
13
255
33
130
53
85
73
65
93
55
2
10
2
12
2
14
2
16
2
18
2
String
String
String
String
String
String
String
String
String
String
Int64
Int64
Int64
Int64
Int64
Int64
Int64
Int64
Int64
Int64
Decimal(9, 5)
Decimal(9, 5)
Decimal(9, 5)
Decimal(9, 5)
Decimal(9, 5)
Decimal32
Decimal32
Decimal32
Decimal32
Decimal32
8
42
21
14
10
0 0
42 42
21 21
14 14
10 10
\N
\N
\N
\N
\N
1
42
21
14
10
1
42
21
14
10
1
42
21
14
10
1
42
21
14
10
0
42
21
14
10.5
0
42
21
14
10.5
\N
\N
\N
0
1
0
1
0
0
1
1
1
1
1
1
3
3
5
5
7
7
9
9
1
1
3
3
5
5
7
7
9
9