mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
test is added
This commit is contained in:
parent
92caf20323
commit
718ad72871
20
tests/queries/0_stateless/02531_ipv4_arithmetic.reference
Normal file
20
tests/queries/0_stateless/02531_ipv4_arithmetic.reference
Normal file
@ -0,0 +1,20 @@
|
||||
10 1.2.3.4 0
|
||||
11 1.2.3.4 3
|
||||
12 1.2.3.4 4
|
||||
13 1.2.3.4 12
|
||||
14 1.2.3.4 0
|
||||
15 1.2.3.4 10
|
||||
16 1.2.3.4 4
|
||||
17 1.2.3.4 10
|
||||
18 1.2.3.4 4
|
||||
19 1.2.3.4 10
|
||||
20 1.2.3.4 0
|
||||
21 1.2.3.4 7
|
||||
22 1.2.3.4 14
|
||||
23 1.2.3.4 12
|
||||
24 1.2.3.4 4
|
||||
25 1.2.3.4 10
|
||||
26 1.2.3.4 12
|
||||
27 1.2.3.4 13
|
||||
28 1.2.3.4 0
|
||||
29 1.2.3.4 1
|
1
tests/queries/0_stateless/02531_ipv4_arithmetic.sql
Normal file
1
tests/queries/0_stateless/02531_ipv4_arithmetic.sql
Normal file
@ -0,0 +1 @@
|
||||
SELECT number, ip, ip % number FROM (SELECT number, toIPv4('1.2.3.4') as ip FROM numbers(10, 20));
|
Loading…
Reference in New Issue
Block a user