Commit Graph

6938 Commits

Author SHA1 Message Date
Alexey Milovidov
514f8392f9 Fix error 2024-03-13 10:25:37 +01:00
Alexey Milovidov
3afdc94cfd Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-13 10:07:05 +01:00
Alexey Milovidov
486e8537a8 Fix error 2024-03-13 08:02:27 +01:00
Alexey Milovidov
f8dfd8c03a Less garbage 2024-03-13 07:15:07 +01:00
Alexey Milovidov
87db039d89 Continue 2024-03-13 07:06:06 +01:00
Alexey Milovidov
f339c88079 Continue 2024-03-13 06:32:31 +01:00
Alexey Milovidov
ecd6b88831 Continue 2024-03-13 06:15:17 +01:00
Alexey Milovidov
17a7696a37 Continue 2024-03-13 06:06:07 +01:00
Alexey Milovidov
8d9a8fdfc1 Continue 2024-03-13 05:52:01 +01:00
Alexey Milovidov
b870d9d1cd Continue 2024-03-13 05:45:33 +01:00
Alexey Milovidov
5336a89117 Continue 2024-03-13 05:36:09 +01:00
Alexey Milovidov
a5383a4619 Continue 2024-03-13 05:27:05 +01:00
Alexey Milovidov
dbfda04701 Continue 2024-03-13 05:18:51 +01:00
Alexey Milovidov
ebd934e286 Continue 2024-03-13 05:05:23 +01:00
Mikhail Koviazin
94f15dd5e0
Fix has() function with Nullable column
Previous implementation didn't check for `null_map` when the given
argument was not `Null`. This commit adds the missing check.

Fixes #60214
2024-03-12 16:48:43 +02:00
avogar
0b588480f5 Fix lazy execution in dictGetOrDefault for RangeHashedDictionary 2024-03-12 14:34:15 +00:00
Alexey Milovidov
c27c1e1035 Fix build 2024-03-12 14:36:07 +01:00
Raúl Marín
c011901d01 Fix coverage 2024-03-12 14:28:28 +01:00
Kruglov Pavel
9b055c3a43
Use assert_cast to prevent nullptr dereference on bad column types in FunctionsConversion 2024-03-11 20:38:30 +01:00
Robert Schulze
802bae9661
GCC --> clang pragmas 2024-03-11 12:55:56 +00:00
Robert Schulze
e43ac49d4e
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-11 12:23:15 +00:00
Robert Schulze
e5e84419af
Fix clang-tidy-s 2024-03-11 10:58:54 +00:00
Alexey Milovidov
1c82f8707d Fix tidy 2024-03-11 08:38:03 +01:00
Alexey Milovidov
4373d5ba16 Merge branch 'master' into split-cast-overload-resolver 2024-03-11 03:01:50 +01:00
Robert Schulze
349894fc2b
Fixes #61051 2024-03-10 13:13:59 +00:00
Robert Schulze
bcd705517a
Remove unnecessary call to convertToFullColumnIfConst() 2024-03-10 13:09:01 +00:00
Robert Schulze
530efbe810
Beautify exception, pt. II 2024-03-10 13:09:01 +00:00
Sema Checherinda
5c41727725 http connections pools 2024-03-10 10:00:18 +01:00
Alexey Milovidov
d2e29525c8 Maybe better 2024-03-10 04:08:34 +01:00
Alexey Milovidov
3c9e6cfc96 Maybe better 2024-03-10 03:52:14 +01:00
Alexey Milovidov
7c8a97a91a Maybe better 2024-03-10 03:13:15 +01:00
Alexey Milovidov
6c0f877342 I did not understand this code and removed it 2024-03-10 03:02:38 +01:00
Alexey Milovidov
bbeecf4ed5 Fix error 2024-03-10 02:51:32 +01:00
Alexey Milovidov
e30a1c9cbc Remove garbage 2024-03-10 02:26:18 +01:00
Alexey Milovidov
3ac4f56cfa Fix tests 2024-03-09 18:53:31 +01:00
Alexey Milovidov
d2e19a5da3 Remove unused header 2024-03-09 08:55:53 +01:00
Alexey Milovidov
3cd70f48b0 Anonymous 2024-03-09 08:49:55 +01:00
Alexey Milovidov
f2c4a5bb94 Prevent garbage from appearing 2024-03-09 08:30:13 +01:00
Alexey Milovidov
804c07156d Fix garbage 2024-03-09 08:24:53 +01:00
Alexey Milovidov
061cee257c Remove crap 2024-03-09 08:10:59 +01:00
Alexey Milovidov
feed74e598 Better 2024-03-09 07:59:09 +01:00
Alexey Milovidov
574d486322 Something 2024-03-09 07:55:59 +01:00
Alexey Milovidov
83a5611355 Remove garbage 2024-03-09 07:04:05 +01:00
Alexey Milovidov
dc7f4b39ee Remove garbage 2024-03-09 07:00:28 +01:00
Alexey Milovidov
0d05b8ccc1 Fix style 2024-03-09 06:37:50 +01:00
Alexey Milovidov
7983e2b620 Remove garbage 2024-03-09 06:14:32 +01:00
Alexey Milovidov
6d45eecdad Remove garbage 2024-03-09 06:11:34 +01:00
Alexey Milovidov
c67e8d5d73 Add files 2024-03-09 05:50:19 +01:00
Alexey Milovidov
2be09581dd Split CastOverloadResolver translation unit 2024-03-09 05:48:52 +01:00
Alexey Milovidov
009c2ea9f6 Move a class into an anonymous namespace 2024-03-09 05:27:29 +01:00
Yarik Briukhovetskyi
23b55ecbe8
beautify exception 2024-03-08 22:02:22 +01:00
Amos Bird
d6e0dd45b9
Fix build 2024-03-08 22:57:49 +08:00
Robert Schulze
45a1f0f8ed
More consistency and extended tests 2024-03-08 14:02:34 +00:00
Raúl Marín
4b964979c2 Digits doesn't belong with itoa anymore 2024-03-08 14:22:38 +01:00
Yarik Briukhovetskyi
e7cc49212a
fix tidy build 2024-03-08 12:28:14 +01:00
Robert Schulze
1366a3ebe2
Merge pull request #60649 from rschu1ze/revert-revert-54746_to_millisecond_function
Revert "Revert "Add `toMillisecond` function""
2024-03-08 10:55:04 +01:00
Nikolai Kochetov
73cc3e1c92 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-07 17:49:31 +00:00
Nikita Mikhaylov
82ba97c3a7
More explicit template instantiations (#60730) 2024-03-07 17:16:13 +01:00
Raúl Marín
cd9d9018e0 Be able to iterate 2024-03-07 17:15:42 +01:00
Nikolai Kochetov
2b8cf8b6e9 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-07 16:06:55 +00:00
Kruglov Pavel
1b7d0f19a9
Merge pull request #60384 from bigo-sg/opt_multiif_decimal
Execute multiIf function columnarly when result_type's underlying type is number
2024-03-07 12:54:53 +01:00
Yarik Briukhovetskyi
66dea51112
fix clang-tidy 2024-03-07 12:40:48 +01:00
Robert Schulze
245ea0c186
Implement const/non-const shortcut 2024-03-06 16:56:01 +00:00
János Benjamin Antal
77a980373a Fix typo in inline doc 2024-03-06 16:31:27 +00:00
Robert Schulze
a69bcc29f5
Refactor a sanity check 2024-03-06 15:02:01 +00:00
Robert Schulze
c3909743ed
Remove repeated unnecessary unpacking of const columns 2024-03-06 13:54:14 +00:00
Yarik Briukhovetskyi
2eb7fa297b
Merge pull request #60763 from zvonand/zvonand-fix-toStartOf
Fix toStartOfInterval
2024-03-06 13:55:21 +01:00
Robert Schulze
2dc1721262
Refactorings for consistency 2024-03-06 12:24:05 +00:00
János Benjamin Antal
6f726865ba Add inline docs to functions 2024-03-06 11:10:02 +00:00
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function 2024-03-06 09:04:57 +00:00
李扬
e4b78e7dac
fix bugs 2024-03-06 15:10:45 +08:00
Yarik Briukhovetskyi
d93dd98b66
Merge pull request #60672 from yariks5s/fix_int_div_decimal_with_datetime
Fix `intDiv` for decimal and date arguments
2024-03-05 13:41:08 +01:00
Nikolai Kochetov
d4570aa3b2 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-05 12:14:54 +00:00
Robert Schulze
7dfe8afa76
Add in-source docs 2024-03-05 11:11:18 +00:00
taiyang-li
8b2e163d76 Merge remote-tracking branch 'origin/master' into opt_multiif_decimal 2024-03-05 17:17:10 +08:00
taiyang-li
4251cc3a11 fix building 2024-03-05 17:05:40 +08:00
Raúl Marín
6ac4f60caa
Merge pull request #60764 from Algunenano/i59655
Fix crash in arrayEnumerateRanked
2024-03-04 20:22:30 +01:00
Kruglov Pavel
4bdafed801
Merge pull request #60420 from HowePa/format_case_insensitive
Make all format names case insensitive.
2024-03-04 19:09:10 +01:00
Alexey Milovidov
bc0cf83668
Merge pull request #60738 from ClickHouse/sql-json-remove-nonsense
Remove nonsense from SQL/JSON
2024-03-04 18:57:50 +03:00
Yarik Briukhovetskyi
e361e5e296
Merge branch 'ClickHouse:master' into fix_int_div_decimal_with_datetime 2024-03-04 14:51:20 +01:00
Raúl Marín
f212c9c230 Fix crash in arrayEnumerateRanked 2024-03-04 13:14:13 +01:00
Yarik Briukhovetskyi
033b9624b4
Merge branch 'ClickHouse:master' into fix_int_div_decimal_with_datetime 2024-03-04 12:56:17 +01:00
zvonand
41ff818a20 fix toStartOfInterval 2024-03-04 12:53:41 +01:00
Alexey Milovidov
43e0a1b708 Remove nonsense from SQL/JSON 2024-03-04 05:59:02 +01:00
Alexey Milovidov
cbf5443585 Remove old code 2024-03-04 00:11:55 +01:00
Alexey Milovidov
0208828d3f
Merge pull request #60535 from ClickHouse/changelog-24.2
General sanity in function `seriesOutliersDetectTukey`
2024-03-03 19:09:04 +03:00
Alexey Milovidov
1f1e0f082a
Merge branch 'master' into changelog-24.2 2024-03-03 03:27:28 +03:00
Alexey Milovidov
3883cdbf00 Merge branch 'master' into fix-bad-error-message 2024-03-02 03:18:50 +01:00
Yarik Briukhovetskyi
57482de0f0
Update FunctionBinaryArithmetic.h 2024-03-02 01:16:47 +01:00
Nikita Taranov
bcd3ad01de
Merge pull request #55809 from amosbird/alt-51399
Improve the performance of serialized aggregation method when involving multiple [nullable] columns
2024-03-01 22:44:56 +01:00
yariks5s
0b10612c86 fix 2024-03-01 17:42:57 +00:00
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond function""
This reverts commit 5225fc6a14.
2024-03-01 13:14:44 +00:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond function" 2024-03-01 13:59:03 +01:00
Nikolai Kochetov
9211495fed Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-01 12:06:26 +00:00
Robert Schulze
6d89455525
Merge pull request #60523 from rschu1ze/clang-tidy-src
Fix a bunch of clang-tidy warnings in headers
2024-03-01 12:37:48 +01:00
Robert Schulze
44c3de1a0b
Merge pull request #60281 from Blargian/54746_to_millisecond_function
Add `toMillisecond` function
2024-03-01 11:34:20 +01:00
Robert Schulze
52b1fc6db9
Minor fixes 2024-03-01 10:06:54 +00:00
李扬
0820fd49e9
Merge branch 'ClickHouse:master' into opt_multiif_decimal 2024-03-01 10:32:17 +08:00
Blargian
6594219943 Fix style-check 2024-02-29 20:52:30 +01:00
Blargian
f1c9b1abcd Fix millisecond calculation 2024-02-29 18:05:49 +01:00
Robert Schulze
4ee1aa8c7c
Fixing more headers 2024-02-29 15:40:30 +00:00
Amos Bird
3b04f5c605
Improve the performance of serialized aggregation method when involving multiple [nullable] columns. 2024-02-29 21:48:15 +08:00
Robert Schulze
278ad6f491
Fixing tukey even more 2024-02-29 12:51:23 +00:00
Robert Schulze
e760c082bf
More fixups for tukey 2024-02-29 12:23:17 +00:00
Robert Schulze
cfed36e8a9
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-29 11:29:15 +00:00
taiyang-li
46f9fddc4d fix code style 2024-02-29 15:11:02 +08:00
taiyang-li
656412c93e fix failed uts 2024-02-29 15:03:59 +08:00
taiyang-li
f7d1739808 fix failed uts 2024-02-29 15:00:09 +08:00
Alexey Milovidov
414e6eb600 General sanity in function seriesOutliersDetectTukey 2024-02-29 06:30:28 +01:00
taiyang-li
f89cb57d02 fix failed ut 2024-02-29 12:32:27 +08:00
Alexey Milovidov
3749618ba1 Add a test 2024-02-28 23:28:46 +01:00
Alexey Milovidov
98be049e66 Fix bad error message 2024-02-28 23:08:29 +01:00
Robert Schulze
42f29c01cf
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-28 19:10:48 +00:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements 2024-02-28 17:38:54 +01:00
Alexey Milovidov
b0ab0b37db
Merge pull request #60434 from ClickHouse/revert-60216-revert-59697-check-stack-size-in-parser
Revert "Revert "Check stack size in Parser""
2024-02-28 19:20:49 +03:00
taiyang-li
4beb6fdcb0 fix code stule 2024-02-28 22:39:49 +08:00
Robert Schulze
e02c083e60
Add convenience alias byteSlice for substring 2024-02-28 13:32:56 +00:00
Ilya Yatsishin
6473023ad5
Merge pull request #60359 from Avogar/fix-ipv6-hashing
Fix use-of-uninitialized-value and invalid result in hashing functions with IPv6
2024-02-28 15:32:57 +04:00
Robert Schulze
613e426484
Some fixups 2024-02-28 11:14:53 +00:00
taiyang-li
4f2ab335af fix some bugs 2024-02-28 17:07:49 +08:00
taiyang-li
28c4c8e821 Merge branch 'master' into opt_multiif_decimal 2024-02-28 16:00:43 +08:00
Alexey Milovidov
9ea7ff231b
Merge pull request #60448 from ClickHouse/clang-19
Update to clang-19
2024-02-27 23:38:08 +03:00
Blargian
8b8dcf01b6 Add toMillisecond 2024-02-27 19:32:38 +01:00
Nikolai Kochetov
dd458932c9 Try to avoid calculation of scalar subqueries for CREATE TABLE. 2024-02-27 17:46:13 +00:00
Alexey Milovidov
0f3c9963d1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into revert-60216-revert-59697-check-stack-size-in-parser 2024-02-27 17:30:32 +01:00
Raúl Marín
2a44eeff90
Merge pull request #60211 from jlmadurga/ulid_short_circuit
Ulid short circuit
2024-02-27 16:04:15 +01:00
avogar
416638461f Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike 2024-02-27 15:02:13 +00:00
Alexey Milovidov
c192a448d0 Update to clang-19 2024-02-27 14:37:21 +01:00
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser"" 2024-02-27 01:34:50 +03:00
HowePa
0b72f7b182 Make all format names case insensitive. 2024-02-26 22:46:51 +08:00
Nikolai Kochetov
ef8dab52c6
Merge pull request #57767 from jsc0218/DictShortCircuit
Dict Short Circuit
2024-02-26 15:16:15 +01:00
Juan Madurga
556b9897d0 update FunctionULIDStringToDateTime for short circuit 2024-02-26 15:01:17 +01:00
taiyang-li
ff4231186f merge master and fix conflicts 2024-02-26 10:19:14 +08:00
taiyang-li
584ede2fad opt for multiIf with decimal 2024-02-25 23:54:11 +08:00
avogar
39ad054e94 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements 2024-02-23 18:59:34 +00:00
avogar
0b012a56ba Fix use-of-uninitialized-value in hashing functions with IPv6 2024-02-23 14:49:55 +00:00
Blargian
7175eec931 add toMilliseconds implementation, update docs and reference file of test 2024-02-22 12:32:29 +01:00
Robert Schulze
ae597d86dd
Merge remote-tracking branch 'rschu1ze/master' into vector-dot-product 2024-02-22 10:16:28 +00:00
Nikolai Kochetov
0e9d7f3540
Merge pull request #60037 from ClickHouse/fix-01656_test_query_log_factories_info-for-analyzer
Fix 01656_test_query_log_factories_info with analyzer.
2024-02-21 17:37:15 +01:00
avogar
bd2390996e Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements 2024-02-21 13:16:07 +01:00
Robert Schulze
8f0f8bf294
Fix typo 2024-02-21 11:54:20 +00:00
Robert Schulze
9f37f17900
Further refactorings to make the code more similar to arrayDistance.cpp 2024-02-21 10:59:58 +00:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser" 2024-02-21 11:33:08 +01:00
Robert Schulze
daa61a8576
Manualy vectorize arrayDotProduct()
Measurements go down from
- 0.34 sec --> 0.30 sec (Float32)
- 0.68 sec --> 0.54 sec
2024-02-20 22:51:11 +00:00
Robert Schulze
e57b8f64e0
Help the compiler a bit with auto-vectorization
For query
   SELECT sum(dp) FROM (SELECT dotProduct(v, v) AS dp FROM vectors)
with vectors of type
   Array(Float32) and
   Array(Float64)
and dimension = 150, runtimes go down from
  0.46 sec to 0.34 sec (Float32) and
  0.74 sec to 0.68 sec (Float64))

The latter (only a minor improvement) is independent of the number of
lanes (VEC_SIZE = 4 vs. 2 which is the theoretical optimal for Float64).
2024-02-20 22:24:18 +00:00
Robert Schulze
db974098d0
More refactoring and cleanup 2024-02-20 21:22:58 +00:00
avogar
122dc6769d Fixes and improvements for Variant type 2024-02-20 18:58:06 +00:00
Raúl Marín
32130d7f78 Fix low cardinality too 2024-02-20 15:55:22 +01:00
Raúl Marín
5267e6b0ce Fix arrayReduce with nullable aggregate function name 2024-02-20 13:38:33 +01:00
Robert Schulze
0fff496ad3
Refactoring and cleanup 2024-02-20 11:57:08 +00:00
Raúl Marín
793ae52bf8 Fix cosineDistance crash with Nullable 2024-02-19 17:30:00 +01:00
Yarik Briukhovetskyi
491a4cd1e7
Merge pull request #59243 from yariks5s/div_int_with_decimal
Fix bug with `intDiv` for decimal arguments
2024-02-19 15:28:07 +01:00
Yarik Briukhovetskyi
cfa198c477
remove comment
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2024-02-19 13:34:00 +01:00
Alexey Milovidov
fa1ca348a4 Miscellaneous 2024-02-19 03:19:21 +01:00
Alexey Milovidov
6fd563df52 Miscellaneous 2024-02-19 02:58:51 +01:00
Alexey Milovidov
096a679d6b Insignificant changes 2024-02-18 10:47:18 +01:00
Alexey Milovidov
2f315e0eb5 Style check for abbreviations 2024-02-17 02:14:15 +01:00
Nikolai Kochetov
0c00e58353 Fixing build. 2024-02-16 17:22:22 +00:00
Alexey Milovidov
0787e9f402 Merge remote-tracking branch 'origin/master' into print-cpu-flags-at-startup 2024-02-16 13:07:03 +01:00
Alexey Milovidov
5b83e771ed Print CPU flags at startup 2024-02-16 13:06:57 +01:00
Raúl Marín
f17d58cced Add comment 2024-02-15 20:53:22 +01:00
Nikolai Kochetov
ef7e8e0c5d Fixing style. 2024-02-15 17:35:44 +00:00
Nikolai Kochetov
365530c463 Fix 01656_test_query_log_factories_info with analyzer. 2024-02-15 17:12:22 +00:00
Raúl Marín
91f54f44b6 Fix several logical errors in arrayFold 2024-02-15 13:21:39 +01:00
Robert Schulze
ddaef8d342
Merge pull request #59752 from rschu1ze/countMatches-fuzzed
Fix AST fuzzer issue in function `countMatches`
2024-02-15 10:02:48 +01:00
Alexey Milovidov
0b58f16938
Merge pull request #59964 from ClickHouse/cleanups
Cleanups
2024-02-15 02:59:54 +01:00
jsc0218
0f6564627b correctly use maskedExecute 2024-02-14 17:20:13 +00:00
Nikolai Kochetov
70d456dc28
Update greater.cpp 2024-02-14 17:44:06 +01:00
Nikolai Kochetov
078ec9a97f
Update notEquals.cpp 2024-02-14 17:43:49 +01:00
yariks5s
c1897e74a8 fix 2024-02-14 14:04:25 +00:00
Yarik Briukhovetskyi
41304c3e11
Update src/Functions/FunctionBinaryArithmetic.h
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2024-02-14 14:08:20 +01:00
Nikolai Kochetov
32a23244c9 Remove context from comparison functions.
(cherry picked from commit 57608cc6f9)
2024-02-14 12:38:13 +00:00
Yarik Briukhovetskyi
941e179be2
Merge branch 'ClickHouse:master' into div_int_with_decimal 2024-02-14 13:16:13 +01:00
李扬
90d07ba82c
Trivial optimize of function coalesce. (#59627)
* reuse result of functionfactory::get

* add perf test

* Update src/Functions/coalesce.cpp

Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>

* change as requested

---------

Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-02-14 11:29:45 +01:00
Robert Schulze
25667d9c9a
Attempt II at fixing the Fuzzer issue 2024-02-14 08:49:14 +00:00
Alexey Milovidov
2b4949bd18 Cleanups 2024-02-14 00:21:13 +01:00
yariks5s
ac601a0cb9 fix build 2024-02-13 23:12:21 +00:00
jsc0218
84e8755aae rename a setting 2024-02-13 19:27:29 +00:00
yariks5s
4125070791 Merge branch 'div_int_with_decimal' of https://github.com/yariks5s/ClickHouse into div_int_with_decimal 2024-02-13 18:38:36 +00:00
yariks5s
ed5591e68c changes due to review 2024-02-13 18:20:57 +00:00
jsc0218
c2b2a7f903
Merge branch 'ClickHouse:master' into DictShortCircuit 2024-02-12 12:48:08 -05:00
Robert Schulze
b1099e181d
Add check for NULL pattern argument 2024-02-11 11:38:33 +00:00
Robert Schulze
a6337fb6b0
Incorporate review feedback 2024-02-10 13:42:14 +00:00
Robert Schulze
4e2d0e8bf6
Merge remote-tracking branch 'rschu1ze/master' into countMatches-fuzzed 2024-02-10 13:22:30 +00:00
Alexey Milovidov
a7c30098b6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-09 22:52:49 +01:00
Alexey Milovidov
a6fcd63159
Merge pull request #58866 from rschu1ze/distance-with-cpu-dispatch
AVX vectorization of distance functions
2024-02-09 03:32:26 +01:00
Alexey Milovidov
cd0acc512d Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-08 22:08:15 +01:00
Robert Schulze
ccafc523a9
Fix style 2024-02-08 15:51:27 +00:00
Raúl Marín
5b16d6b958
Merge pull request #59754 from ClickHouse/revert-59683-rename-setting
Revert "Rename a setting"
2024-02-08 13:19:48 +01:00
Raúl Marín
697f7b28a7
Merge pull request #59739 from Algunenano/padstring_fix
Fix leftPad / rightPad function with FixedString input
2024-02-08 13:15:26 +01:00
Raúl Marín
284ed191ab
Revert "Rename a setting" 2024-02-08 13:13:22 +01:00
Robert Schulze
fc003497bb
Fix bug 59749 2024-02-08 11:50:20 +00:00
Robert Schulze
f7bb000b51
Refactorings, pt. II: disallow FixedString patterns 2024-02-08 11:38:04 +00:00
Robert Schulze
cfa1a452e1
Refactorings, pt. I 2024-02-08 11:33:34 +00:00
jsc0218
71f0d82c90 merge short circuit logic into getColumn 2024-02-08 00:34:59 +00:00
Alexey Milovidov
02c0b4c67f Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-07 22:45:50 +01:00
Alexey Milovidov
393abebf64
Merge pull request #59683 from ClickHouse/rename-setting
Rename a setting
2024-02-07 22:43:14 +01:00
Raúl Marín
48a48be135 Fix leftPad / rightPad function with FixedString input 2024-02-07 22:31:21 +01:00
Robert Schulze
7edcb86c08
Merge pull request #58632 from ClibMouse/series_outlier
Added function `seriesOutliersTukey` for outlier detetion in series data
2024-02-07 13:08:53 +01:00
Alexey Milovidov
d65a56d967
Merge branch 'master' into enable-coverage-for-debug-build 2024-02-07 04:58:21 +01:00
Alexey Milovidov
5991ea4dc3 Rename the setting 2024-02-07 00:00:34 +01:00
Raúl Marín
25738c8313 Remove no longer needed specialization 2024-02-06 20:34:12 +01:00
Raúl Marín
0a4e73a98d Strict aliasing for Int8 2024-02-06 20:33:32 +01:00
Anton Popov
3b22c3849f
Merge pull request #59621 from bigo-sg/opt_if_not_null
Trivial optimize on ifNotNull with intel AVX2
2024-02-06 19:13:06 +01:00
taiyang-li
bc9c1bf345 improve ifnotnull 2024-02-06 11:48:13 +08:00
taiyang-li
2c882f012e opt isNotnull 2024-02-06 11:35:14 +08:00
Bhavna Jindal
c9954a7eb8 added check for NaN and infinite values 2024-02-05 09:23:11 -08:00
Raúl Marín
c4e1d09c66 Reserve enough memory for memcpySmallAllowReadWriteOverflow15 2024-02-05 17:33:14 +01:00
taiyang-li
b4972bf5fb revert files 2024-02-04 16:59:26 +08:00
jsc0218
db7e312c0c switch default filling values to make the logic easier 2024-02-04 02:16:35 +00:00
yariks5s
e79ddd54af fix tests 2024-02-03 00:56:37 +00:00
Bhavna Jindal
28e6e29004 Minor fixes 2024-02-02 07:46:36 -08:00
Bhavna Jindal
ce31fa912b removed unnecessary method overloading and fixed documentation 2024-02-01 09:24:12 -08:00
yariks5s
d5eec2d85b trying to fix (casting the result to int) 2024-02-01 16:27:57 +00:00
jsc0218
4ce770aebf Merge remote-tracking branch 'origin/master' into DictShortCircuit 2024-02-01 15:29:27 +00:00
taiyang-li
1d8de1d345 fix style 2024-02-01 19:39:22 +08:00
taiyang-li
d9820f9704 change as request 2024-02-01 11:13:26 +08:00
taiyang-li
ddc6aad8ff merge master 2024-02-01 10:58:33 +08:00
jsc0218
237776c4d4 remove unnecessary column expand and shared_ptr 2024-01-31 20:06:29 +00:00
Bhavna Jindal
6d24ffc976 Fix filename and spelling errors 2024-01-31 10:57:43 -08:00
Bhavna Jindal
4bc26fe45f Added support for custom percentiles and K 2024-01-31 10:41:05 -08:00
Bhavna Jindal
487ef67e97 Added custom tukey 2024-01-31 10:39:58 -08:00
Bhavna Jindal
90dfacd5a6 added a fix for failing testcase 2024-01-31 10:39:58 -08:00
Bhavna Jindal
f4c14e15a2 added a fix for failing testcase 2024-01-31 10:39:58 -08:00
Bhavna Jindal
d2ce39387f implemented series_outlier method 2024-01-31 10:39:39 -08:00
Kruglov Pavel
325419b096
Merge pull request #59398 from Avogar/variant-type-func
Add function variantType
2024-01-31 13:06:54 +01:00
Raúl Marín
f67bff12b7
Merge pull request #59148 from bigo-sg/improve_if_with_floating
Continue optimizing branch miss of if function when result type is float*/decimal*/int*
2024-01-31 12:42:06 +01:00
taiyang-li
dc7b9d8208 fix conflicts 2024-01-31 17:37:37 +08:00
taiyang-li
2ad7607bad opt if when input type is map 2024-01-31 17:33:47 +08:00
taiyang-li
818fb9802a change as request 2024-01-31 11:48:02 +08:00
jsc0218
8583192948 refactior short circuit setting 2024-01-30 21:26:43 +00:00
Kruglov Pavel
bd3bb05308
Fix 2024-01-30 20:32:59 +01:00
Kruglov Pavel
46432da743
Remove unneded file 2024-01-30 20:30:17 +01:00
Kruglov Pavel
8c69a6e28d
Fix build 2024-01-30 20:28:56 +01:00
avogar
584694ed51 Add function variantType 2024-01-30 18:01:12 +00:00
yariks5s
0576aa2b7f fix fuzzer 2024-01-30 16:45:36 +00:00
yariks5s
0557cdb8a9 fix due to review 2024-01-30 15:31:04 +00:00
Raúl Marín
b3483eede3 Fix translate() return type 2024-01-30 13:41:04 +01:00
Alexey Milovidov
b7a8933b2c
Merge pull request #59319 from bigo-sg/improve_regexp_extract
Improve exception message of function regexp_extract
2024-01-30 08:13:14 +01:00
Alexey Milovidov
b4a5b6060e
Merge pull request #59341 from rschu1ze/non-string-concat-with-separator
Allow non-string arguments in `concatWithSeparator()`
2024-01-30 04:10:06 +01:00
Alexey Milovidov
eb54432cbe Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-01-30 03:53:11 +01:00
taiyang-li
815c73f1e5 change as request 2024-01-30 10:41:42 +08:00
Robert Schulze
7683b44bf6
Merge pull request #58961 from ClibMouse/seriesDecompose
Return baseline component from function `seriesDecomposeSTL()`
2024-01-29 20:41:09 +01:00
Robert Schulze
8ddda0caf0
Merge pull request #59229 from rschu1ze/cleanup-msan-usage
Minor cleanup of msan usage
2024-01-29 20:39:06 +01:00
yariks5s
1ab29bef62 fixes 2024-01-29 15:33:09 +00:00
Alexey Milovidov
cb69a1b25d Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-01-29 15:35:04 +01:00
Robert Schulze
c2b7d2047e
Support arguments of arbitary type in function concatWithSeparator()
Follow-up to #56540
2024-01-29 14:11:21 +00:00
Robert Schulze
1aae7d7d95
Cosmetics: Rename variable 2024-01-29 13:35:19 +00:00
Robert Schulze
2191569d6b
Cosmetics: remove superfluous inline 2024-01-29 13:24:43 +00:00
taiyang-li
7aea3847db improve exception message of function regexp_extract 2024-01-29 11:54:19 +08:00