mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Function ngrams fixed tests
This commit is contained in:
parent
243be5028a
commit
9ef6bca27d
@ -1,20 +1,20 @@
|
|||||||
['T','e','s','t']
|
['T','e','s','t']
|
||||||
['Te','es','st']
|
['Te','es','st']
|
||||||
['Tes','est']
|
['Tes','est']
|
||||||
['Tes','est']
|
['Test']
|
||||||
[]
|
[]
|
||||||
['T','e','s','t']
|
['T','e','s','t']
|
||||||
['Te','es','st']
|
['Te','es','st']
|
||||||
['Tes','est']
|
['Tes','est']
|
||||||
['Tes','est']
|
['Test']
|
||||||
[]
|
[]
|
||||||
['T','e','s','t']
|
['T','e','s','t']
|
||||||
['Te','es','st']
|
['Te','es','st']
|
||||||
['Tes','est']
|
['Tes','est']
|
||||||
['Tes','est']
|
['Test']
|
||||||
[]
|
[]
|
||||||
['T','e','s','t']
|
['T','e','s','t']
|
||||||
['Te','es','st']
|
['Te','es','st']
|
||||||
['Tes','est']
|
['Tes','est']
|
||||||
['Tes','est']
|
['Test']
|
||||||
[]
|
[]
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
SELECT ngrams('Test', 1);
|
SELECT ngrams('Test', 1);
|
||||||
SELECT ngrams('Test', 2);
|
SELECT ngrams('Test', 2);
|
||||||
SELECT ngrams('Test', 3);
|
SELECT ngrams('Test', 3);
|
||||||
SELECT ngrams('Test', 3);
|
SELECT ngrams('Test', 4);
|
||||||
SELECT ngrams('Test', 5);
|
SELECT ngrams('Test', 5);
|
||||||
|
|
||||||
SELECT ngrams(materialize('Test'), 1);
|
SELECT ngrams(materialize('Test'), 1);
|
||||||
SELECT ngrams(materialize('Test'), 2);
|
SELECT ngrams(materialize('Test'), 2);
|
||||||
SELECT ngrams(materialize('Test'), 3);
|
SELECT ngrams(materialize('Test'), 3);
|
||||||
SELECT ngrams(materialize('Test'), 3);
|
SELECT ngrams(materialize('Test'), 4);
|
||||||
SELECT ngrams(materialize('Test'), 5);
|
SELECT ngrams(materialize('Test'), 5);
|
||||||
|
|
||||||
SELECT ngrams(toFixedString('Test', 4), 1);
|
SELECT ngrams(toFixedString('Test', 4), 1);
|
||||||
SELECT ngrams(toFixedString('Test', 4), 2);
|
SELECT ngrams(toFixedString('Test', 4), 2);
|
||||||
SELECT ngrams(toFixedString('Test', 4), 3);
|
SELECT ngrams(toFixedString('Test', 4), 3);
|
||||||
SELECT ngrams(toFixedString('Test', 4), 3);
|
SELECT ngrams(toFixedString('Test', 4), 4);
|
||||||
SELECT ngrams(toFixedString('Test', 4), 5);
|
SELECT ngrams(toFixedString('Test', 4), 5);
|
||||||
|
|
||||||
SELECT ngrams(materialize(toFixedString('Test', 4)), 1);
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 1);
|
||||||
SELECT ngrams(materialize(toFixedString('Test', 4)), 2);
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 2);
|
||||||
SELECT ngrams(materialize(toFixedString('Test', 4)), 3);
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 3);
|
||||||
SELECT ngrams(materialize(toFixedString('Test', 4)), 3);
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 4);
|
||||||
SELECT ngrams(materialize(toFixedString('Test', 4)), 5);
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 5);
|
||||||
|
Loading…
Reference in New Issue
Block a user