Commit Graph

4398 Commits

Author SHA1 Message Date
robot-clickhouse-ci-1
05e1cdb0db
Merge pull request #54484 from rschu1ze/doc-splitByChar
Docs: Mention behavior change of splitByChar() in v22.11
2023-09-10 17:57:48 +02:00
Robert Schulze
2a8e2a0882
Docs: Mention behavior change of splitByChar() in v22.11, see #42673 2023-09-10 14:12:12 +00:00
Han Fei
b68421b120
Merge pull request #50906 from johanngan/regexptree-flags
Add case insensitive and dot-all modes to RegExpTree dictionary
2023-09-10 03:16:02 +02:00
Alexey Milovidov
047d481c97
Merge pull request #54382 from evillique/std-alias
Add STD alias to stddevPop function for MySQL compatibility
2023-09-09 02:57:06 +03:00
Denny Crane
f5f741c118
Update type-conversion-functions.md 2023-09-08 16:15:33 -03:00
Denny Crane
24928217b9
Update date-time-functions.md 2023-09-08 16:14:00 -03:00
Denny Crane
3f58e2f134
Update date-time-functions.md 2023-09-08 16:10:16 -03:00
Denny Crane
a0ef063b2d
Update date-time-functions.md 2023-09-08 16:04:35 -03:00
Denny Crane
2d178e9bfd
Update type-conversion-functions.md 2023-09-08 15:58:24 -03:00
Leonardo Maciel
0b396ee7b4
Fixed detectLanguage mixed example 2023-09-07 22:27:22 -03:00
robot-clickhouse
fd4ddc49f2
Merge pull request #54332 from rschu1ze/consolidate-tests-53149
Consolidate GCD codec tests (Follow up to #53149)
2023-09-07 15:29:22 +02:00
Han Fei
60b0df9245 Merge branch 'master' into regexptree-flags 2023-09-07 10:46:43 +02:00
Alexey Milovidov
ce8ab5c9dd
Update comment.md 2023-09-07 07:30:46 +03:00
Nikolay Degterinsky
d95c29227f Add STD alias to stddevPop function for MySQL compatibility 2023-09-07 03:46:27 +00:00
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
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
Robert Schulze
37cabaf993
Add docs, consolidate tests 2023-09-05 17:31:58 +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
Александр Нам
0ca380707f
Merge branch 'master' into gcddelta-codec 2023-09-05 11:08:00 +03: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
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
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe 2023-09-01 11:02:37 +02:00
Bharat Nallan Chakravarthy
7889626046 add docs 2023-08-30 21:42:51 -07: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
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
679a983094
Switch paragraphs 2023-08-29 10:57:35 +02: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
vdimir
1cf68baad7
Add NULL values in JOIN keys section to join doc 2023-08-28 11:41:36 +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
Александр Нам
ee0b2e4b39
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-27 02:41:10 +03:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
Han Fei
11262d0156
Revert "Revert "dateDiff: add support for plural units."" 2023-08-24 17:11:58 +02:00
Alexander Tokmakov
59efbe4163
Revert "dateDiff: add support for plural units." 2023-08-24 15:35:18 +03:00
Mikhail Koviazin
a5eb1aa22f
Added functions array{Rotate,Shift}{Left,Right}
Fixes #52755 and #52895
2023-08-24 09:16:39 +00:00
Justin de Guzman
af43e95f8d
Update date-time-functions doc 2023-08-23 17:42:55 -07:00
Justin de Guzman
2db0e0879d
Simply docs for possible values for date units 2023-08-23 17:39:33 -07:00
Alexey Milovidov
b884fdb867
Merge pull request #53641 from irenjj/feat_53602
dateDiff: add support for plural units.
2023-08-23 12:45:35 +03:00