mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Add tests
This commit is contained in:
parent
970c75860c
commit
3746f6cbd7
@ -0,0 +1,3 @@
|
|||||||
|
1
|
||||||
|
---
|
||||||
|
0
|
@ -0,0 +1,3 @@
|
|||||||
|
SELECT ISNULL(NULL);
|
||||||
|
SELECT '---';
|
||||||
|
SELECT ISNULL('abc');
|
@ -0,0 +1 @@
|
|||||||
|
0A
|
@ -0,0 +1 @@
|
|||||||
|
SELECT HEX(10);
|
@ -0,0 +1 @@
|
|||||||
|
23
|
@ -0,0 +1 @@
|
|||||||
|
SELECT HOUR(toDateTime('2016-06-15 23:00:00'));
|
@ -0,0 +1 @@
|
|||||||
|
dGVzdCBzdHJpbmc=
|
@ -0,0 +1 @@
|
|||||||
|
SELECT TO_BASE64('test string');
|
@ -0,0 +1 @@
|
|||||||
|
test string
|
@ -0,0 +1 @@
|
|||||||
|
SELECT FROM_BASE64('dGVzdCBzdHJpbmc=');
|
@ -0,0 +1 @@
|
|||||||
|
167
|
@ -0,0 +1 @@
|
|||||||
|
SELECT DAYOFYEAR(toDateTime('2016-06-15 23:00:00'));
|
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -0,0 +1 @@
|
|||||||
|
SELECT DAYOFWEEK(toDateTime('2016-06-15 23:00:00'));
|
@ -0,0 +1,3 @@
|
|||||||
|
15
|
||||||
|
---
|
||||||
|
15
|
@ -0,0 +1,3 @@
|
|||||||
|
SELECT DAYOFMONTH(toDateTime('2016-06-15 23:00:00'));
|
||||||
|
SELECT '---';
|
||||||
|
SELECT DAY(toDateTime('2016-06-15 23:00:00'));
|
@ -0,0 +1 @@
|
|||||||
|
2016-06-15
|
@ -0,0 +1 @@
|
|||||||
|
SELECT DATE(toDateTime('2016-06-15 23:00:00'));
|
@ -0,0 +1 @@
|
|||||||
|
2a02:6b8::11
|
@ -0,0 +1 @@
|
|||||||
|
SELECT INET6_NTOA(toFixedString(unhex('2A0206B8000000000000000000000011'), 16));
|
@ -0,0 +1 @@
|
|||||||
|
*И\0\0\0\0\0\0\0\0\0\0\0
|
@ -0,0 +1 @@
|
|||||||
|
SELECT INET6_ATON('2a02:6b8::11');
|
@ -0,0 +1 @@
|
|||||||
|
0.0.5.57
|
@ -0,0 +1 @@
|
|||||||
|
SELECT INET_NTOA(toUInt32(1337));
|
@ -0,0 +1 @@
|
|||||||
|
3232235521
|
@ -0,0 +1 @@
|
|||||||
|
SELECT INET_ATON('192.168.0.1');
|
Loading…
Reference in New Issue
Block a user