Commit Graph

6938 Commits

Author SHA1 Message Date
Alexey Katsman
ca4e2f581a Add columns for values used in the formatting message into system.text_log 2024-04-23 17:26:56 +01:00
Anton Popov
59125601a1 fix crash in function formatRow 2024-04-22 11:36:45 +00:00
vdimir
b981d2dba4
Merge pull request #62287 from ClickHouse/vdimir/internal_functions_fix
Fix __actionName, add tests for internal functions direct call
2024-04-17 13:16:18 +00:00
vdimir
b2e145659a
Merge pull request #62705 from jrdi/window-functions-uint16
Fix tumble[Start,End] and hop[Start,End] for bigger resolutions
2024-04-17 09:56:39 +00:00
Robert Schulze
61df8aa466
Merge pull request #60598 from jrdi/week-default-mode
Add setting `first_day_of_week` for function `toStartOfInterval`
2024-04-17 08:31:46 +00:00
Yarik Briukhovetskyi
ffeec296a1
Merge pull request #62335 from Misz606/patch-5
Added nano- micro- milliseconds unit for `date_trunc`
2024-04-16 23:16:46 +00:00
Jordi Villar
9ed1b9412f Merge remote-tracking branch 'upstream/master' into week-default-mode 2024-04-16 23:01:25 +02:00
Jordi Villar
7134ed3802 Merge remote-tracking branch 'upstream/master' into window-functions-uint16 2024-04-16 23:00:43 +02:00
Robert Schulze
3272d75ec8
Merge pull request #62583 from KevinyhZou/improve_utc_timestamp_transform
Improve performance of `(to|from)_utc_timestamp` functions
2024-04-16 16:45:45 +00:00
Jordi Villar
09cf421940 Fix tumble[Start,End] and hop[Start,End] for resolutions bigger than a day 2024-04-16 17:54:52 +02:00
Robert Schulze
4e881be128
Merge pull request #62634 from liuneng1994/std-except-parseDateTIme
Speed up `parseDateTime[InJodaSyntax]Or(Null|Zero)` on invalid inputs
2024-04-16 13:42:10 +00:00
Robert Schulze
08e5c2ba4d
Revert "Speed up splitByRegexp" 2024-04-16 14:32:39 +02:00
Robert Schulze
2ac7a44077
Cleanup error handling 2024-04-16 10:08:37 +00:00
Robert Schulze
b06ef89f6b
Add [[nodiscard]] to make things more safe 2024-04-16 09:56:09 +00:00
Robert Schulze
3257780ce3
Merge pull request #62392 from bigo-sg/opt_memchr
Speed up `splitByRegexp`
2024-04-16 08:07:49 +00:00
liuneng
1483cbacdf add macro 2024-04-16 11:09:04 +08:00
taiyang-li
41bbe35e1c remove useless comment 2024-04-16 10:31:19 +08:00
taiyang-li
8c0d2cc0fc remove opts of memory allocation in function tokens 2024-04-16 10:29:25 +08:00
Robert Schulze
7dc05d092b
Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32 2024-04-15 16:35:10 +00:00
Robert Schulze
8a2d052187
Fix typo 2024-04-15 14:08:14 +00:00
Robert Schulze
3db2cbef73
Cosmetics 2024-04-15 10:57:00 +00:00
Robert Schulze
8c9f89a2f5
Cosmetics 2024-04-15 10:38:29 +00:00
Robert Schulze
a98cba351d
Cosmetics 2024-04-15 08:37:26 +00:00
liuneng
f5184b6b7d fix style 2024-04-15 16:02:20 +08:00
LiuNeng
3d87a887ec
Merge branch 'master' into std-except-parseDateTIme 2024-04-15 15:51:05 +08:00
liuneng
1c1054b413 optimize error handling using expected 2024-04-15 15:47:39 +08:00
kevinyhzou
4a50999fcc remove logical of cache value of different timezone 2024-04-15 14:12:54 +08:00
Robert Schulze
1b4119ac38
Draft for std::except-based error handling in parseDateTime 2024-04-12 15:21:16 +00:00
Robert Schulze
bff31998f2
Add expected submodule 2024-04-12 14:29:39 +00:00
kevinyhzou
6a96ee12e9 Improve utc timestamp transfrom 2024-04-12 16:21:51 +08:00
kevinyhzou
1eaa21ff8c improve utc timestamp transform 2024-04-12 15:10:34 +08:00
Jordi Villar
a4c3153453 Rollback date_diff changes 2024-04-11 15:55:12 +02:00
Robert Schulze
2cc801e74c Some fixups 2024-04-11 15:55:12 +02:00
Jordi Villar
368d01872f Apply feedback to toStartOfInterval 2024-04-11 15:55:12 +02:00
Jordi Villar
d5a6cbed0f Refactor code 2024-04-11 15:55:12 +02:00
Robert Schulze
486128bd0e Some fixes 2024-04-11 15:55:12 +02:00
Jordi Villar
107dc07327 Allow changing dateDiff and age to sunday mode 2024-04-11 15:55:12 +02:00
Jordi Villar
6bcefbb416 Allow changing toStartOfInterval to sunday mode 2024-04-11 15:55:01 +02:00
vdimir
4ea2b5e615
Restrict argument types for __actionName 2024-04-11 12:36:17 +00:00
taiyang-li
34e07f6596 change as request 2024-04-11 11:38:00 +08:00
Raúl Marín
8e26c4460b Make transform always return the first match 2024-04-10 23:39:47 +02:00
taiyang-li
57715fe3df change as request 2024-04-10 19:01:00 +08:00
loselarry
7774a2a313 chore: fix some comments
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 17:21:25 +08:00
taiyang-li
f8275e5be2 remove std::cout 2024-04-10 17:03:16 +08:00
taiyang-li
f0b81bdced add some uts 2024-04-10 17:00:18 +08:00
taiyang-li
4f4fa79ce7 last commit 2024-04-10 16:19:34 +08:00
taiyang-li
c580ae0853 remove memchrsmall 2024-04-10 15:02:34 +08:00
taiyang-li
b885e67bbf use is_trivial to decide whether to fallback 2024-04-10 12:17:10 +08:00
taiyang-li
907dddff3e change as request 2024-04-10 11:48:06 +08:00
taiyang-li
9a3e5cfea5 remove useless likely unlikely 2024-04-10 11:14:18 +08:00