johanngan
c0f162c5b6
Add dictGetAll function for RegExpTreeDictionary
...
This function outputs an array of attribute values from all regexp nodes
that matched in a regexp tree dictionary. An optional final argument can
be passed to limit the array size.
2023-06-04 23:46:04 -05:00
Robert Schulze
54872f9e7e
Typos: Follow-up to #50476
2023-06-02 13:28:09 +00:00
Robert Schulze
65cc92a78d
CI: Fix aspell on nested docs
2023-06-02 12:24:41 +00:00
johanngan
de3b08aa5b
Clean up regexp tree dictionary documentation
...
dictGetOrNull() relies on IDictionary::hasKeys(), which
RegExpTreeDictionary doesn't implement, so this probably never worked.
If you try to use it, an exception is thrown. The docs shouldn't
indicate that this is supported.
Also fix a markdown hyperlink in the docs.
2023-05-25 14:35:24 -05:00
Denny Crane
8a00be69b3
Update index.md
2023-05-24 10:40:33 -03:00
Han Fei
2625696591
Merge branch 'master' into hanfei/regexp-doc
2023-05-21 23:42:01 +02:00
Robert Schulze
491cf8b6e1
Fix minor mistakes
2023-05-21 13:43:05 +00:00
Robert Schulze
9d9d4e3d62
Some fixups
2023-05-21 13:40:52 +00:00
Robert Schulze
312f751503
Uppercase remaining SQL keywords
2023-05-21 13:08:55 +00:00
Azat Khuzhin
2b240d3721
Improve documentation for HASHED/SPARSE_HASHED/COMPLEX_KEY_HASHED/COMPLEX_KEY_SPARSE_HASHED
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:21 +02:00
Azat Khuzhin
2996b38606
Add ability to configure maximum load factor for the HASHED/SPARSE_HASHED layout
...
As it turns out, HashMap/PackedHashMap works great even with max load
factor of 0.99. By "great" I mean it least it works faster then
google sparsehash, and not to mention it's friendliness to the memory
allocator (it has zero fragmentation since it works with a continuious
memory region, in comparison to the sparsehash that doing lots of
realloc, which jemalloc does not like, due to it's slabs).
Here is a table of different setups:
settings | load (sec) | read (sec) | read (million rows/s) | bytes_allocated | RSS
- | - | - | - | - | -
HASHED upstream | - | - | - | - | 35GiB
SPARSE_HASHED upstream | - | - | - | - | 26GiB
- | - | - | - | - | -
sparse_hash_map glibc hashbench | - | - | - | - | 17.5GiB
sparse_hash_map packed allocator | 101.878 | 231.48 | 4.32 | - | 17.7GiB
PackedHashMap 0.5 | 15.514 | 42.35 | 23.61 | 20GiB | 22GiB
hashed 0.95 | 34.903 | 115.615 | 8.65 | 16GiB | 18.7GiB
**PackedHashMap 0.95** | **93.6** | **19.883** | **10.68** | **10GiB** | **12.8GiB**
PackedHashMap 0.99 | 26.113 | 83.6 | 11.96 | 10GiB | 12.3GiB
As it shows, PackedHashMap with 0.95 max_load_factor, eats 2.6x less
memory then SPARSE_HASHED in upstream, and it also 2x faster for read!
v2: fix grower
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:21 +02:00
Han Fei
549af4d351
address comments
2023-05-17 21:23:32 +02:00
Han Fei
7df0e9d933
fix broken link
2023-05-16 15:33:08 +02:00
Han Fei
a40d86b921
Update docs/en/sql-reference/dictionaries/index.md
...
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:42 +02:00
Han Fei
ed5906f15d
Update docs/en/sql-reference/dictionaries/index.md
...
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:31 +02:00
Han Fei
31b8e3c489
Update docs/en/sql-reference/dictionaries/index.md
...
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:24 +02:00
Han Fei
e4e473ef30
Update docs/en/sql-reference/dictionaries/index.md
...
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:14 +02:00
Han Fei
29aa960377
refine docs for regexp tree dictionary
2023-05-16 09:07:35 +02:00
Han Fei
ef74e64336
address comments
2023-05-11 22:18:08 +02:00
Ivan Takarlikov
8873856ce5
Fix some grammar mistakes in documentation, code and tests
2023-05-04 13:35:18 -03:00
MikhailBurdukov
b229a28e94
Merge branch 'master' into mongo_dict_tls
2023-04-26 23:39:27 +03:00
MikhailBurdukov
7764168bd5
Resove conflict
2023-04-26 19:50:58 +00:00
MikhailBurdukov
baaee66e85
Missing files
2023-04-26 19:29:29 +00:00
Robert Schulze
c406663442
Docs: Replace annoying three spaces in enumerations by a single space
2023-04-19 15:56:55 +00:00
DanRoscigno
6d8a2bbd48
standardize admonitions
2023-03-27 14:54:05 -04:00
rfraposa
ac5ed141d8
New nav - reverting the revert
2023-03-17 21:45:43 -05:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation"
2023-03-17 21:21:11 +03:00
rfraposa
a580d7c021
Combined Dictionary pages
2023-03-08 16:52:01 -07:00
rfraposa
4b1b4a711e
Fix links
2023-03-08 00:05:58 -07:00
rfraposa
fa6f3dadba
Link fixes
2023-03-07 22:52:43 -07:00
rfraposa
4f67e3facf
Update Dictionary links
2023-03-03 20:11:51 -07:00
rfraposa
d1045b9f11
Fix Dictionary links; update install.md
2023-03-02 07:56:03 -07:00
rfraposa
17a2d7ed45
Fixing broken links
2023-03-01 16:53:17 -07:00
rfraposa
a4a5a8a7d3
Initial copy of doc-preview
2023-02-28 11:59:05 -07:00
Ivan Blinkov
61c2f23713
Remove leftover empty lines at the end of markdown files
2023-01-09 15:15:18 +01:00
DanRoscigno
c8f9af1afa
start renaming
2022-11-02 15:47:11 -04:00
DanRoscigno
5b5fcc56aa
add slugs
2022-08-28 10:53:34 -04:00
rfraposa
869967de41
Remove H1 anchor tags from docs
2022-06-02 04:55:18 -06:00
rfraposa
8f01fe9c49
Revised /en folder
2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11
Removed /ja folder, cleaned up /ru markdown
2022-04-09 07:29:05 -06:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs"
2022-04-04 02:05:35 +03:00
rfraposa
560471f991
Update /sql-reference docs
2022-03-29 22:06:21 -06:00
Olga Revyakina
adf494ae1f
Nullable types
2021-04-04 11:00:48 +03:00
Alexey Milovidov
8c9bd09e6c
Remove broken "Original article"
2021-03-14 15:19:04 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references ( #11742 )
...
* prefer relative links from root
* wip
* split aggregate function reference
* split system tables
2020-06-18 11:24:31 +03:00
BayoNet
dba72d73fe
DOCS-624: Fixing links to nowhere ( #10675 )
...
* enbaskakova-DOCSUP-652 (#101 )
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Revert "enbaskakova-DOCSUP-652 (#101 )" (#107 )
This reverts commit 639fee7610
.
* CLICKHOUSEDOCS-624: Fixed links. Was 60, became 13.
* CLICKHOUSEDOCS-624: Finished fix links in Enlish version.
* CLICKHOUSEDOCS-624: Fixed RU links
Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-06 09:13:29 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens ( #10606 )
...
* Replace underscores with hyphens
* remove temporary code
* fix style check
* fix collapse
2020-04-30 21:19:18 +03:00