Robert Schulze
f5137dd0b4
More clang-tidy fixes
2023-09-21 14:40:57 +00:00
Alexey Milovidov
21382afa2b
Check for punctuation
2023-07-25 06:10:04 +02:00
Robert Schulze
05606a8835
Clean up GCC warning pragmas
2023-04-11 18:21:08 +00:00
Robert Schulze
f72a337074
Remove cruft from build
...
No need to check compiler flags, clang >= 15 supports all of them.
2023-03-17 13:44:04 +00:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Alexey Milovidov
f4a48cd4d6
Remove cruft
2022-09-17 22:16:31 +02:00
Azat Khuzhin
e8f5cd3c68
Add separate option to omit symbols from heavy contrib
...
Sometimes it is useful to build contrib with debug symbols for further
debugging.
With everything turned ON (i.e. debug build) I got 3.3GB vs 3.0GB w/o
this patch, 9% bloat, thoughts about this is this OK or not for you, if
not STRIP_DEBUG_SYMBOLS_HEAVY_CONTRIB can be OFF by default (regardless
of build type).
P.S. aws debug symbols adds just 1.7%.
v2: rename STRIP_HEAVY_DEBUG_SYMBOLS
v3: OMIT_HEAVY_DEBUG_SYMBOLS
v4: documentation had been removed
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 06:32:03 +03:00
Maksim Kita
c372c3d6aa
Fix performance tests
2022-05-25 11:49:59 +02:00
Maksim Kita
6fb51e8bd3
Function hasAll added dynamic dispatch
2022-05-24 17:06:06 +02:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length
2022-05-07 10:30:39 +00:00
Maksim Kita
47528de78b
Fix build
2022-04-04 14:07:05 +02:00
Maksim Kita
af405d3ba6
Fixed style check
2022-04-04 13:34:27 +02:00
Maksim Kita
e43fdcd7eb
Function hasAll added dynamic dispatch for SSE4.2, AVX2
2022-03-30 18:41:34 +02:00
Maksim Kita
8d0a9689e4
Update gatherutils CMakeLists to use X86_INTRINSICS_FLAGS from cpu_features
2022-03-30 18:40:18 +02:00
Maksim Kita
2742b88e6c
Merge pull request #27653 from ContentSquare/hasAllAny_SIMD
...
Implement HasAll specialization for SSE and AVX2
2022-03-29 16:35:59 +02:00
Maksim Kita
538f8cbaad
Fix clang-tidy warnings in Disks, Formats, Functions folders
2022-03-14 18:17:35 +00:00
Robert Schulze
85ce4a9bea
Use C++14 aliases for some type traits
2022-03-11 15:54:29 +01:00
usurai
9fe920500d
Apply suggestions from code review
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-16 20:58:43 +08:00
usurai
550d80201e
Fix endsWith, add test for endsWith
2022-02-07 16:36:49 +08:00
usurai
6dd482136f
Add startsWith & endsWith for array
2022-02-07 16:36:49 +08:00
youenn lebras
9ec7e61f5f
Add Unsigned version for Int8, Int16, Int32, Int64 for SS4.2 and AVX2 (aka AVX256)
2022-01-31 12:15:20 +01:00
youenn lebras
c0864e6cd9
Update branch - Merge master
2022-01-31 10:22:25 +01:00
RogerYK
93c58c25e0
Fix substring negative offset length
2022-01-21 18:04:59 +08:00
Alexey Milovidov
6157f73fb5
Fix UBSan
2022-01-05 22:15:22 +03:00
Alexey Milovidov
eb80dfebf2
Fix style
2022-01-05 07:12:20 +03:00
Alexey Milovidov
c4713ee34b
Normalize left, right, leftUTF8, rightUTF8 functions
2022-01-05 06:46:31 +03:00
Alexey Milovidov
bf59114cee
Make "left" and "right" real functions
2022-01-05 05:32:40 +03:00
youenn lebras
c2b761acf2
Add cmake option to enable or not AVX2 instructions
...
This reverts commit bca8eca44fe382b6efe80a381d42e6ede8a91fa3.
2021-12-14 09:45:03 +01:00
youenn lebras
72fb56904d
Add cmake option to enable or not AVX2 instructions
2021-12-13 17:57:32 +01:00
Youenn Lebras
2a2eb3a27b
re-enable full AVX2
...
- change lddqu to loadu
- Update CmakeList.txt
2021-12-13 17:57:32 +01:00
Youenn Lebras
a810ce5dcb
Remove AVX2 to figure out where is the illegal intruction
...
Enable AVX2 - int32
2021-12-13 17:57:31 +01:00
Youenn Lebras
62487fe2fc
Pass SSE version to 4.2 and exploiting it's specific loadu
2021-12-13 17:57:31 +01:00
Youenn Lebras
13878d2618
Modify include files according to the processors capabilities
2021-12-13 17:57:29 +01:00
Jakub Kuklis
a3c08acac3
Moving sliceHasImplAnyAll and sliceEqualElements to separate header files to avoid SIMD instructions bloat in Algorithms.h
2021-12-13 17:57:28 +01:00
Jakub Kuklis
763bd006a7
Correcting new hasAll implementation for the case with null elements present in 'second' and absent in 'first', refactoring the outer loop remainder into a separate function, improving null checking in the default implementation
2021-12-13 17:57:27 +01:00
Jakub Kuklis
92ec28a87b
Refactoring the new SIMD hasAll implementation to comply with current hasAll implementation (swapping 'first' and 'second' arguments meaning) and with ClickHouse C++ guidelines
2021-12-13 17:57:26 +01:00
Youenn Lebras
3548e974e1
Implement HasAll specialization for SSE and AVX2
2021-12-13 17:57:21 +01:00
Alexey Milovidov
85cec911be
Fix strange code in TypeList
2021-11-25 23:55:02 +03:00
Mike Kot
8c8bada56e
Non-recursive implementation for TL and its functions
2021-10-03 18:02:04 +02:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Mike Kot
bce011cb33
Replacing IsDecimalNumber
2021-09-11 00:40:18 +02:00
sdk2
d9308749de
Update src/Functions/GatherUtils/Sources.h
2021-08-26 18:52:17 +08:00
Pavel Kruglov
3ec2ab6156
Avoid using expand, fix bugs, add tests and comments
2021-08-09 17:54:49 +03:00
Vitaly Baranov
3dfdcf4604
Improve implementation of leftPadString(), rename to leftPad(). Add new functions rightPad(), leftPadUTF8(), rightPadUTF8(). Add a test.
2021-07-08 23:39:29 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Alexey Milovidov
447d7bb8cd
Minor changes
2021-06-14 07:13:35 +03:00
Amos Bird
d22ab2028f
Run check_*_compiler_flag earlier
2021-05-12 12:14:25 +08:00
Alexey Milovidov
b461542388
If for UUID
2021-05-06 18:45:58 +03:00
Alexey Milovidov
39bcf9d860
Fix style
2021-05-03 01:44:34 +03:00
Alexey Milovidov
649550c5ab
Attempt to normalize big integers
2021-04-25 12:30:43 +03:00