ClickHouse/tests/performance/normalize_utf8.xml

12 lines
581 B
XML

<test>
<create_query>CREATE TABLE strings (words String) ENGINE Memory</create_query>
<fill_query>INSERT INTO strings SELECT SearchPhrase FROM hits_10m_single WHERE length(SearchPhrase) > 0</fill_query>
<query>SELECT normalizeUTF8NFC(words) FROM strings FORMAT Null</query>
<query>SELECT normalizeUTF8NFD(words) FROM strings FORMAT Null</query>
<query>SELECT normalizeUTF8NFKC(words) FROM strings FORMAT Null</query>
<query>SELECT normalizeUTF8NFKD(words) FROM strings FORMAT Null</query>
<drop_query>DROP TABLE IF EXISTS strings</drop_query>
</test>