Merge pull request #7722 from ClickHouse/java-hash-non-bmp

Added a test of javaHashUTF16LE for non BMP code points
This commit is contained in:
Olga Khvostikova 2019-11-26 13:30:18 +03:00 committed by GitHub
commit 0f517648b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -3,5 +3,6 @@
138768
-2143570108
2145564783
1258255525
96354
1470786104

View File

@ -3,5 +3,6 @@ select javaHash('874293087');
select javaHashUTF16LE(convertCharset('a1가', 'utf-8', 'utf-16le'));
select javaHashUTF16LE(convertCharset('가나다라마바사아자차카타파하', 'utf-8', 'utf-16le'));
select javaHashUTF16LE(convertCharset('FJKLDSJFIOLD_389159837589429', 'utf-8', 'utf-16le'));
select javaHashUTF16LE(convertCharset('𐐀𐐁𐐂𐐃𐐄', 'utf-8', 'utf-16le'));
select hiveHash('abc');
select hiveHash('874293087');