Commit Graph

15778 Commits

Author SHA1 Message Date
johanngan
bcb058f999 Add case insensitive and dot-all modes to RegExpTree dictionary
The new per-dictionary settings control regex match semantics around
case sensitivity and the '.' wildcard with newlines. They must be set at
the dictionary level since they're applied to regex engines at
pattern-compile-time.

- regexp_dict_flag_case_insensitive: case insensitive matching
- regexp_dict_flag_dotall: '.' matches all characters including newlines

They correspond to HS_FLAG_CASELESS and HS_FLAG_DOTALL in Vectorscan
and case_sensitive and dot_nl in RE2. These are the most useful options
compatible with the internal behavior of RegExpTreeDictionary around
splitting up simple and complex patterns between Vectorscan and RE2.

The alternative is to use (?i) and/or (?s) for all patterns. However,
(?s) isn't handled properly by OptimizedRegularExpression::analyze().
And while (?i) is, it still causes the dictionary to treat the pattern
as "complex" for sequential scanning with RE2 rather than multi-matching
with Vectorscan, even though Vectorscan supports case insensitive
literal matching. Setting dictionary-wide flags is both more convenient,
and circumvents these problems.
2023-09-06 11:28:53 -05:00
Robert Schulze
f2f24610d0
Improve English grammar by 8.3% 2023-09-06 15:04:18 +02:00
Mikhail Koviazin
f98007a4ed
Replace Turbo-Base64 with aklomp/base64
Closes #31643
2023-09-06 13:01:38 +00:00
Alexander Sapin
518d4b4357 Merge branch 'master' into alter-table-add-comment 2023-09-06 12:34:04 +02:00
Robert Schulze
8f6cd157b9
Merge pull request #54316 from ucasfl/isNull
Fix isZeroOrNull(NULL)
2023-09-06 10:38:22 +02:00
Robert Schulze
d36edea9e2
Consolidate GCD codec tests (follow up to #53149) 2023-09-05 21:34:27 +00:00
Robert Schulze
470ce3444c
Merge pull request #53149 from seshWCS/gcddelta-codec
Add GCD codec
2023-09-05 23:32:06 +02:00
Robert Schulze
b314b8d4ac
Merge pull request #53328 from valbok/decimal
Introduce default parameters to DECIMAL family types
2023-09-05 23:30:11 +02:00
Roman G
eb1812cc87
Update generate.md 2023-09-05 15:55:58 -04:00
Joe Lynch
767f2472c2
Add elapsed_ns to HTTP headers X-ClickHouse-Progress and X-ClickHouse-Summary
The TCP interface progress has this field. This is not a super accurate
measure of server side query time, but trying to measure from the client
is even worse.
2023-09-05 21:03:13 +02:00
Robert Schulze
17cb6a8e3f
SHOW COLUMNS: update docs, refresh expected results, add comment about bug 2023-09-05 18:34:33 +00:00
Robert Schulze
37cabaf993
Add docs, consolidate tests 2023-09-05 17:31:58 +00:00
robot-ch-test-poll
2e7edf4413
Merge pull request #53638 from arenadata/ADQM-987
Add `backup_log` system table
2023-09-05 17:03:41 +02:00
robot-clickhouse
9cafdbd972
Merge pull request #54309 from evillique/better-docs
Make docs better
2023-09-05 15:58:59 +02:00
Robert Schulze
f4c86fe34e
Merge pull request #53860 from irenjj/feat_markdown
Add a setting to escape special characters in Markdown.
2023-09-05 15:44:11 +02:00
robot-clickhouse
3991c38765 Update version_date.tsv and changelogs after v23.3.13.6-lts 2023-09-05 13:08:25 +00:00
Nikolay Degterinsky
2db239d6ad Make docs better 2023-09-05 12:43:53 +00:00
seshWCS
dbab2f27ba Docs-fix 2023-09-05 12:40:21 +00:00
pufit
2469cbbf67
Update projection.md 2023-09-05 08:28:58 -04:00
Александр Нам
39d279ecf0
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-05 14:00:01 +03:00
János Benjamin Antal
3f7d8f1cae
Merge pull request #54099 from Tiakon/master
Add the default value of task-upload-force
2023-09-05 11:32:53 +02:00
Александр Нам
0ca380707f
Merge branch 'master' into gcddelta-codec 2023-09-05 11:08:00 +03:00
Victor Krasnov
132ab6067b Merge branch 'master' into ADQM-987 2023-09-05 10:01:44 +03:00
Alexey Milovidov
b2821106fd
Merge pull request #53923 from myrrc/docs/ch-disks
Add docs for clickhouse-disks
2023-09-05 02:10:18 +03:00
robot-clickhouse
0ca2c545e9 Update version_date.tsv and changelogs after v23.8.2.7-lts 2023-09-04 20:18:07 +00:00
Igor Nikonov
6e73dcf654
Merge pull request #54257 from Enmk/patch-3
Minor clarifications to the `OPTIMIZE ... DEDUPLICATE` docs
2023-09-04 22:08:12 +02:00
Alexey Milovidov
a941a040e4
Merge pull request #54259 from ClickHouse/auto/v23.3.12.11-lts
Update version_date.tsv and changelogs after v23.3.12.11-lts
2023-09-04 20:42:29 +03:00
Robert Schulze
d03fba52f0
Merge remote-tracking branch 'rschu1ze/master' into multiple_query_arguments 2023-09-04 16:10:00 +00:00
Alejandro
5d6a2609c8
Updated doc of distributed_ddl_queue (#54192)
* Updated doc of distributed_ddl_queue

* Update docs/en/operations/system-tables/distributed_ddl_queue.md

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

* Update docs/en/operations/system-tables/distributed_ddl_queue.md

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

* Update docs/en/operations/system-tables/distributed_ddl_queue.md

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

---------

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-09-04 17:25:06 +02:00
robot-clickhouse
5df95f2ed1 Update version_date.tsv and changelogs after v23.3.12.11-lts 2023-09-04 15:22:02 +00:00
Vasily Nemkov
c0db042879
Update optimize.md 2023-09-04 17:01:10 +02:00
Vasily Nemkov
ef3ab85b76
Minor clarifications to the OPTIMIZE ... DEDUPLICATE docs 2023-09-04 16:57:38 +02:00
irenjj
c9261bbf18 Merge remote-tracking branch 'upstream/master' into feat_markdown 2023-09-04 22:35:53 +08:00
Sergei Trifonov
258da91b5f
Merge branch 'master' into disks-and-io-sheduler 2023-09-04 15:14:28 +02:00
irenjj
b57e248aab Fix doc spell error. 2023-09-04 20:58:19 +08:00
Robert Schulze
44994fe51b
Incorporate review feedback 2023-09-04 11:44:37 +00:00
Ziy1-Tan
fe7d636b93
Improve docs
Signed-off-by: Ziy1-Tan <ajb459684460@gmail.com>
2023-09-04 11:44:27 +00:00
Ziy1-Tan
5db1961129
Allow specifying --query multiple times in the command line 2023-09-04 11:44:22 +00:00
Victor Krasnov
78760639d2 Merge branch 'master' into ADQM-987 2023-09-04 13:59:20 +03:00
Tiakon
1ceda6fbfa
Update docs/en/operations/utilities/clickhouse-copier.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-09-04 18:26:59 +08:00
Tiakon
74dedf2a5d
Merge branch 'ClickHouse:master' into master 2023-09-04 17:42:16 +08:00
Robert Schulze
2ca2bdd7c5
Merge pull request #53768 from ClickHouse/simplify-docs-date-units
Simply docs for possible values for date units
2023-09-04 09:11:19 +02:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
Han Fei
3f2848ea63
Merge pull request #53803 from ClickHouse/revert-53795-revert-53641-feat_53602
Revert "Revert "dateDiff: add support for plural units.""
2023-09-03 03:36:03 +02:00
Александр Нам
9a71bce1f5
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-02 00:51:49 +03:00
serxa
14e2032d92 add documentation 2023-09-01 16:28:03 +00:00
robot-clickhouse
cc03880bbd Update version_date.tsv and changelogs after v23.8.1.2992-lts 2023-09-01 16:00:28 +00:00
Victor Krasnov
52cce27e81 Merge branch 'master' into ADQM-987 2023-09-01 18:00:20 +03:00
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe 2023-09-01 11:02:37 +02:00
Александр Нам
48783f88d7
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-01 07:44:37 +03:00
alexX512
36b8932b37 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2023-08-31 21:40:50 +00:00
Robert Schulze
2746aa87bb
Various fixups 2023-08-31 19:18:42 +00:00
Michael Kolupaev
33c03eda3d
Add warnings about ingestion script speed and memory usage in Laion dataset instructions
The command given in the instructions would run 100 instances of a script that take 41 GB each. I'm not sure how the author of the instructions was able to run it successfully.
2023-08-31 12:07:51 -07:00
Mike Kot
ebcc97ad1b change case for copy operation in clickhouse-disks 2023-08-31 13:39:32 +00:00
Александр Нам
43a3650a9e
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-31 15:25:52 +03:00
Robert Schulze
aefb543734
Merge remote-tracking branch 'rschu1ze/master' into feat_markdown 2023-08-31 11:32:44 +00:00
Robert Schulze
d8e6395eea
Docs: Follow-up to #53818 2023-08-31 11:15:50 +00:00
Robert Schulze
97d960ba1d
Merge pull request #53818 from arenadata/ADQM-1070
Add new hide_in_preprocessed attribute in configuration file
2023-08-31 13:00:16 +02:00
Bharat Nallan Chakravarthy
7889626046 add docs 2023-08-30 21:42:51 -07:00
Alexey Gerasimchuck
3a212217a3 Implemented globs to select * from '<file>' 2023-08-31 04:20:44 +00:00
Tiakon
0dcc0be377
Update clickhouse-copier.md
Shows that the type of task-upload-force is Boolean.
2023-08-31 10:38:19 +08:00
Justin de Guzman
f8ca303b25
Clarify that the cloud MySQL interface is under private preview 2023-08-30 11:22:47 -07:00
irenjj
277be44250 add test 2023-08-30 22:57:46 +08:00
Alexander Tokmakov
4d70624ca3
Merge pull request #53907 from arenadata/ADQM-1126
Added validate_tcp_client_information server setting
2023-08-30 15:10:13 +02:00
vdimir
7618b2d112
Add partial_result_update_duration_ms to settings.md 2023-08-30 12:05:04 +02:00
Lucas Fernando Cardoso Nunes
6bb406fda9
fix typo on s3queue.md
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
2023-08-30 04:30:34 -03:00
Alexey Gerasimchuck
a1687e618b backward compatibility changes + fixes 2023-08-29 23:50:41 +00:00
seshWCS
53963573f1 Docs-fix 2023-08-29 18:21:46 +00:00
seshWCS
e0157c4288 Docs-fix 2023-08-29 18:19:37 +00:00
seshWCS
85240aca3b Docs-fix 2023-08-29 18:09:28 +00:00
Александр Нам
7c2aefe170
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-29 20:59:54 +03:00
irenjj
473ba91c21 Refactor writeAnyMarkdownEscapedString and Add more info into doc. 2023-08-29 23:54:40 +08:00
Mike Kot
061bbe13c0 add docs for clickhouse-disks 2023-08-29 12:25:04 +00:00
Robert Schulze
93eec131ae
Merge pull request #53920 from rschu1ze/docs-laion
Dataset docs: Update + fix LAION-400M tutorial
2023-08-29 12:59:16 +02:00
robot-ch-test-poll1
2c8cc7979f
Merge pull request #53571 from ClickHouse/password-complexity-req
Add password complexity requirements to docs
2023-08-29 12:42:30 +02:00
Robert Schulze
43367f99fb
Fix style 2023-08-29 12:35:56 +02:00
vdimir
a6abe23173
Merge pull request #53913 from cfanbo/patch-1 2023-08-29 12:26:32 +02:00
Robert Schulze
b4219886b4
Dataset docs: Update + fix LAION-400M tutorial 2023-08-29 10:17:13 +00:00
Alexey Gerasimchuck
de1ed97876 disabled validate_tcp_client_information 2023-08-29 08:59:49 +00:00
Robert Schulze
679a983094
Switch paragraphs 2023-08-29 10:57:35 +02:00
cfanbo
2e49255f06
docs: fix func name error 2023-08-29 15:11:28 +08:00
Roman Vasin
8ad066ecd3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1070 2023-08-29 05:08:46 +00:00
Justin de Guzman
be65292714
Rename COLUMNS expression to dynamic column selection 2023-08-28 19:55:42 -07:00
Justin de Guzman
bc6c8ea410
Add info about password complexity req for ClickHouse Cloud 2023-08-28 18:16:53 -07:00
Alexey Gerasimchuck
e9757abea6 Added validate_tcp_client_information setting 2023-08-29 00:15:55 +00:00
irenjj
13322f1a90 Remove redundant functions. 2023-08-28 23:54:07 +08:00
Roman Vasin
0a5a9e8b65 Update MD docs 2023-08-28 13:53:06 +00:00
Roman Vasin
87cf0e38fd Update MD docs 2023-08-28 13:11:44 +00:00
Alexey Milovidov
cba1d66882
Merge pull request #53873 from ClickHouse/auto/v23.3.11.5-lts
Update version_date.tsv and changelogs after v23.3.11.5-lts
2023-08-28 15:33:05 +03:00
Alexey Milovidov
4ff9175050
Merge pull request #53875 from ClickHouse/auto/v22.8.21.38-lts
Update version_date.tsv and changelogs after v22.8.21.38-lts
2023-08-28 15:32:56 +03:00
Igor Nikonov
1ed79c4a8f
Merge pull request #53874 from ClickHouse/auto/v23.5.5.92-stable
Update version_date.tsv and changelogs after v23.5.5.92-stable
2023-08-28 14:27:18 +02:00
Igor Nikonov
5ddf138e58
Merge pull request #53872 from ClickHouse/auto/v23.6.3.87-stable
Update version_date.tsv and changelogs after v23.6.3.87-stable
2023-08-28 14:25:02 +02:00
robot-clickhouse
fa1b5fe2a8 Update version_date.tsv and changelogs after v22.8.21.38-lts 2023-08-28 12:00:47 +00:00
robot-clickhouse
e89488f37a Update version_date.tsv and changelogs after v23.5.5.92-stable 2023-08-28 11:56:30 +00:00
robot-clickhouse
504af09ec9 Update version_date.tsv and changelogs after v23.3.11.5-lts 2023-08-28 11:50:34 +00:00
robot-clickhouse
1747b41901 Update version_date.tsv and changelogs after v23.6.3.87-stable 2023-08-28 11:48:16 +00:00
vdimir
1cf68baad7
Add NULL values in JOIN keys section to join doc 2023-08-28 11:41:36 +00:00
robot-clickhouse
0e277d4f90 Update version_date.tsv and changelogs after v23.7.5.30-stable 2023-08-28 10:06:28 +00:00
Song Liyong
15310117b0 Introduce default parameters to DECIMAL family types
In standard SQL, the syntax DECIMAL(M) is equivalent to DECIMAL(M,0).
Similarly, the syntax DECIMAL is equivalent to DECIMAL(M,0), where the
implementation is permitted to decide the value of M.

https://dev.mysql.com/doc/refman/8.0/en/fixed-point-types.html

Since MySQL uses 10 as the default value for precision,
suggesting to also support this in ClickHouse
2023-08-28 09:15:57 +02:00
Alexey Milovidov
88128db26f
Merge pull request #53624 from ClickHouse/docs-smt-zh
Add translated Chinese language docs for SharedMergeTree
2023-08-28 01:07:48 +03:00