ClickHouse/tests/queries
Azat Khuzhin 838596c7a4 Implement countSubstrings()
Function to count number of substring occurrences in the string:
- in case of needle is multi char - counts non-intersecting substrings
- the code is based on position helpers.

The following new functions is available:
- countSubstrings()
- countSubstringsCaseInsensitive()
- countSubstringsCaseInsensitiveUTF8()

v0: substringCount()

v2:
- add substringCountCaseInsensitiveUTF8
- improve tests
- fix coding style issues
- fix multichar needle

v3: rename to countSubstrings (by analogy with countEqual())
2020-11-26 22:58:16 +03:00
..
0_stateless Implement countSubstrings() 2020-11-26 22:58:16 +03:00
1_stateful first try 2020-11-17 16:59:12 +03:00
bugs
__init__.py
.gitignore
conftest.py Pytest test fixes (#16836) 2020-11-11 18:29:36 +03:00
query_test.py Pytest test fixes (#16836) 2020-11-11 18:29:36 +03:00
server.py Pytest test fixes (#16836) 2020-11-11 18:29:36 +03:00
shell_config.sh Pytest test fixes (#16836) 2020-11-11 18:29:36 +03:00
skip_list.json