Azat Khuzhin
833652b7c9
Revert "Suppress clang-analyzer-cplusplus.NewDelete in MsgPackRowInputFormat"
...
Let's try to revert this quirk during upgrading to clang 16.
This reverts commit c1e70169d2
.
2023-05-09 20:36:39 +02:00
Azat Khuzhin
184efcb77a
Get back -fno-sanitize-address-use-after-scope quirk for llvm/clang-15
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 20:35:43 +02:00
Azat Khuzhin
432250a85d
Update instructions for building under OSX to clang-16
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 20:28:38 +02:00
Azat Khuzhin
6e9985a94d
Remove removed in clang 16 -fexperimental-new-pass-manager
...
"The -fexperimental-new-pass-manager and -fno-legacy-pass-manager flags
have been removed. These flags have been silently ignored since Clang
15."
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 12:22:14 +02:00
Azat Khuzhin
a794177dc3
Use __powerpc64__ over __ppc64__ (clang 16 stops declaring __ppc64__)
...
From the release notes [1]:
To match GCC, __ppc64__ is no longer defined on PowerPC64 targets. Use __powerpc64__ instead.
[1]: https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 12:20:50 +02:00
Azat Khuzhin
bf17c819c3
docker: fix path to clang builtin headers for woboq code browser
...
By default woboq uses $version.$minor.$patch, while clang simply uses
$version:
CMake Error at generator/CMakeLists.txt:77 (message):
Could not find any clang builtins headers in
/usr/lib/llvm-16/lib/clang/16.0.4/include
# ls -d /usr/lib/llvm-16/lib/clang/16/include
/usr/lib/llvm-16/lib/clang/16/include
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 10:31:55 +02:00
Azat Khuzhin
08b8b7e587
docker: remove symlink for libclang (not required anymore)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 10:30:02 +02:00
Azat Khuzhin
82536fedde
docker: install libclang-16-dev for woboq code browser
...
Otherwise you will get the following error:
CMake Error at /usr/lib/llvm-16/lib/cmake/clang/ClangTargets.cmake:792 (message):
The imported target "clangBasic" references the file
"/usr/lib/llvm-16/lib/libclangBasic.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/llvm-16/lib/cmake/clang/ClangTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/llvm-16/lib/cmake/clang/ClangConfig.cmake:20 (include)
generator/CMakeLists.txt:7 (Find_Package)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 10:25:50 +02:00
Azat Khuzhin
e278081344
Revert "Merge pull request #43195 from ClickHouse/workaround-for-llvm-bug"
...
With clang 16 this workaround should not be required anymore.
This reverts commit 992729f3c0
, reversing
changes made to d885b3cc4c
.
2023-05-08 22:54:04 +02:00
Azat Khuzhin
cf987db8f6
Disable .debug_aranges workaround under ThinLTO for clang/llvm 16
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-08 22:54:04 +02:00
Azat Khuzhin
c525d13272
Enable back thread fuzzuer under TSan
...
Since initial issue got resolved [1].
[1]: https://github.com/google/sanitizers/issues/1540
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-08 22:35:09 +02:00
Azat Khuzhin
c37fe64040
Merge remote-tracking branch 'u/master' into build/llvm-16
2023-05-08 22:33:52 +02:00
Igor Nikonov
8bc04d5fa8
Merge pull request #49636 from ClickHouse/fix-distinct-in-order-bug-49622
...
Fix: DISTINCT in order with zero values in non-sorted columns
2023-05-08 18:42:38 +02:00
Alexander Tokmakov
4b3b9f6ba6
Disable 01710_projection_aggregation_in_order.sql ( #49667 )
...
* Update 01710_projection_aggregation_in_order.sql
* Update 02516_projections_with_rollup.sql
* Update 02516_projections_with_rollup.sql
2023-05-08 18:53:59 +03:00
Dmitry Novik
3807d9009a
Merge pull request #49668 from ClickHouse/analyzer-ci-master
...
Add CI check with enabled analyzer in master
2023-05-08 16:32:20 +02:00
Dmitry Novik
82897d83fc
Add CI check with enabled analyzer in master
2023-05-08 14:22:52 +00:00
Alexander Gololobov
6f76c27bb1
Merge pull request #49645 from ClickHouse/fix-one-off-error
...
Fix one-off error in big integers found by UBSan with fuzzer
2023-05-08 15:50:36 +02:00
Alexander Gololobov
8482cf01c2
Check that lengths are also equal
...
Slightly modified the test to make it more clear
2023-05-08 15:27:10 +02:00
Alexander Tokmakov
5629d73bdb
Merge pull request #49560 from ClickHouse/fix_dictionaries_loading_order
...
Fix dictionaries loading order
2023-05-08 16:07:40 +03:00
Alexander Tokmakov
14dc7d988f
fix
2023-05-08 14:49:45 +02:00
Ilya Yatsishin
c12b8d4004
Merge pull request #49646 from ClickHouse/fix-38220
...
Add flaky test
2023-05-08 14:29:43 +02:00
Anton Popov
f96e0e44c3
Merge pull request #49519 from kssenii/allow-zero-objects-in-remote-fs-buffer
...
Allow zero objects in ReadBufferFromRemoteFSGather
2023-05-08 12:35:18 +02:00
Robert Schulze
d8d2b0af76
Merge pull request #49466 from ucasfl/str_to_map
...
add alias str_to_map and mapFromString for extractKeyValuePairs
2023-05-08 10:11:06 +02:00
Robert Schulze
43a5eb0faf
Merge pull request #49634 from ClickHouse/revert-49423-remove-trash-7
...
Add trash
2023-05-08 09:43:35 +02:00
Antonio Andelic
212c57c034
Merge pull request #49390 from ClickHouse/fix-gcs-headers
...
Properly fix GCS when HMAC is used
2023-05-08 08:17:43 +02:00
Alexey Milovidov
4942026630
Merge pull request #49620 from ClickHouse/rs/utils-not-by-default
...
CMake: Don't build utils unless explicitly requested
2023-05-08 06:18:50 +03:00
Alexey Milovidov
ad025fb4f6
Merge pull request #49635 from ClickHouse/remove-commented-code
...
Remove commented code
2023-05-08 06:06:12 +03:00
Alexey Milovidov
72573151b6
Revert "fix flaky test"
...
This reverts commit c5e0869c46
.
2023-05-08 04:51:35 +02:00
Alexey Milovidov
6ad3becc6e
Merge pull request #49429 from ClickHouse/deprecate-in-memory-parts
...
Deprecate in-memory parts
2023-05-08 05:38:03 +03:00
Alexey Milovidov
900f8e50e3
Fix one-off error found by UBSan
2023-05-08 04:08:13 +02:00
Dan Roscigno
0830153a52
Merge pull request #49501 from ivan-klass/patch-1
...
Note for multiple arrayJoin of same array expression
2023-05-07 20:17:09 -04:00
Alexey Milovidov
67fa5b6b7c
Merge pull request #49628 from ClickHouse/fix-distinct
...
Fix bug in DISTINCT
2023-05-08 03:01:30 +03:00
Alexander Tokmakov
6f8455efcb
Update removeWhereConditionPlaceholder.h
2023-05-08 02:26:29 +03:00
Kseniia Sumarokova
0d15956969
Merge pull request #49623 from kssenii/fix-assertions-5
...
Fix stress test (Logical error: Expected 7134 >= 11030)
2023-05-08 00:59:40 +02:00
Alexander Tokmakov
1224ac9eda
fix build
2023-05-08 00:57:13 +02:00
Alexey Milovidov
3cf1da7bf3
Merge branch 'master' into deprecate-in-memory-parts
2023-05-08 01:38:00 +03:00
Alexander Tokmakov
abf6c60ad2
Merge branch 'master' into fix_dictionaries_loading_order
2023-05-08 00:31:03 +02:00
Igor Nikonov
fe02317d45
Clear zero value storage only if need_zero_value_storage
2023-05-07 22:16:16 +00:00
robot-clickhouse-ci-2
6c02b6b327
Merge pull request #49627 from ClickHouse/rs/obsolete-ccache-knob
...
CMake: Remove legacy switch for ccache
2023-05-08 00:16:09 +02:00
Igor Nikonov
ba2e827aa7
Fix: check if zero storage has zeros before clean up
2023-05-07 21:31:01 +00:00
Alexey Milovidov
aa280bcd10
Slightly better
2023-05-07 23:12:28 +02:00
Igor Nikonov
68fcc39292
Fix: DISTINCT in order with zero values in non-sorted columns
2023-05-07 21:09:03 +00:00
Alexey Milovidov
3880053348
Slightly better
2023-05-07 23:02:41 +02:00
Alexey Milovidov
736eac4a5d
Remove commented code
2023-05-07 22:46:02 +02:00
Robert Schulze
33e1888ca7
Merge pull request #49633 from ClickHouse/rs/unflake-01660_system_parts_smoke
...
Unflake 01660_system_parts_smoke
2023-05-07 22:10:03 +02:00
Robert Schulze
156cd1de6f
Revert "Remove trash"
2023-05-07 22:03:37 +02:00
Alexey Milovidov
595fdbeca4
Update 02733_distinct.sql
2023-05-07 22:56:41 +03:00
Robert Schulze
f4eabd967d
Merge pull request #49603 from ClickHouse/rs/makedate-mysql
...
Implement a MySQL-compatible variant of makeDate()
2023-05-07 21:51:03 +02:00
Robert Schulze
4d5d5354d1
Unflake 01660_system_parts_smoke
2023-05-07 19:45:27 +00:00
Robert Schulze
59e49abb32
Check case-insensitivity in tests
2023-05-07 19:30:50 +00:00