mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Fix CRC32 function name in tests
This commit is contained in:
parent
35ccd128f4
commit
60c85c4f24
@ -32,7 +32,7 @@
|
|||||||
<value>hiveHash</value>
|
<value>hiveHash</value>
|
||||||
<value>xxHash32</value>
|
<value>xxHash32</value>
|
||||||
<value>xxHash64</value>
|
<value>xxHash64</value>
|
||||||
<value>crc32</value>
|
<value>CRC32</value>
|
||||||
</values>
|
</values>
|
||||||
</substitution>
|
</substitution>
|
||||||
<substitution>
|
<substitution>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -10,11 +10,11 @@ INSERT INTO table1 VALUES('aasq', 'xxz');
|
|||||||
INSERT INTO table1 VALUES('zxcqwer', '');
|
INSERT INTO table1 VALUES('zxcqwer', '');
|
||||||
INSERT INTO table1 VALUES('', '');
|
INSERT INTO table1 VALUES('', '');
|
||||||
|
|
||||||
select crc32('string');
|
select CRC32('string');
|
||||||
select crc32('string'), crc32('test');
|
select CrC32('string'), crc32('test'); -- We want to test, that function name is case-insensitive
|
||||||
select crc32(str1) from table1 order by crc32(str1);
|
select CRC32(str1) from table1 order by CRC32(str1);
|
||||||
select crc32(str2) from table1 order by crc32(str2);
|
select CRC32(str2) from table1 order by CRC32(str2);
|
||||||
select crc32(str1), crc32(str2) from table1 order by crc32(str1), crc32(str2);
|
select CRC32(str1), CRC32(str2) from table1 order by CRC32(str1), CRC32(str2);
|
||||||
select str1, str2, crc32(str1), crc32(str2) from table1 order by crc32(str1), crc32(str2);
|
select str1, str2, CRC32(str1), CRC32(str2) from table1 order by CRC32(str1), CRC32(str2);
|
||||||
|
|
||||||
DROP TABLE table1;
|
DROP TABLE table1;
|
||||||
|
Loading…
Reference in New Issue
Block a user