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
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