Commit Graph

101301 Commits

Author SHA1 Message Date
Azat Khuzhin
c3f3078884 Sanitize thirdparty libraries for public flags
Public flags, especially -Wxx (i.e. -Wno-XX) can hide some warnings,
that had been added in the main cmake rules of ClickHouse.

This patch had been tested manually with the following patch:

    ```patch
    diff --git a/contrib/jemalloc-cmake/CMakeLists.txt b/contrib/jemalloc-cmake/CMakeLists.txt
    index d5ea69d4926..7e79fba0c16 100644
    --- a/contrib/jemalloc-cmake/CMakeLists.txt
    +++ b/contrib/jemalloc-cmake/CMakeLists.txt
    @@ -158,6 +158,7 @@ target_include_directories(_jemalloc SYSTEM PRIVATE
         "${CMAKE_CURRENT_BINARY_DIR}/${JEMALLOC_INCLUDE_PREFIX}/jemalloc/internal")

     target_compile_definitions(_jemalloc PRIVATE -DJEMALLOC_NO_PRIVATE_NAMESPACE)
    +target_compile_options(_jemalloc INTERFACE -Wno-error) # also PUBLIC had been checked

     if (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG")
         target_compile_definitions(_jemalloc PRIVATE
    ```

And cmake gave:

    CMake Error at cmake/sanitize_targets.cmake:69 (message):
      _jemalloc set INTERFACE_COMPILE_OPTIONS to -Wno-error.  This is forbidden.
    Call Stack (most recent call first):
      cmake/sanitize_targets.cmake:79 (sanitize_interface_flags)
      CMakeLists.txt:595 (include)

Fixes: #12447
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-16 07:20:24 +01:00
Alexey Milovidov
4a2c1d29e1
Merge pull request #43146 from azat/build/poco-leftovers
Remove POCO_CLICKHOUSE_PATCH
2022-11-16 06:10:08 +01:00
Alexey Milovidov
b4165f95a9
Merge branch 'master' into build/poco-leftovers 2022-11-16 06:09:58 +01:00
Alexey Milovidov
04687c0d69
Merge pull request #43206 from ClickHouse/miscellaneous-changes-parallel-replicas
Miscellaneous changes
2022-11-16 05:30:03 +01:00
Dan Roscigno
eea0e33613
Merge pull request #43008 from DanRoscigno/standardize-dictionary-categories
Standardize dictionary categories
2022-11-15 16:19:43 -05:00
Dan Roscigno
b178a3711c
Merge branch 'master' into standardize-dictionary-categories 2022-11-15 16:18:18 -05:00
DanRoscigno
c60b98f576 updates from review 2022-11-15 16:17:43 -05:00
Nikolay Degterinsky
82877d0824
Merge pull request #43077 from evillique/query_parameters_inserts
Add support for interactive parameters in INSERT VALUES queries
2022-11-15 22:13:25 +01:00
Alexander Tokmakov
69b067b81c
Merge pull request #43244 from ClickHouse/fix-replicated-merge-tree-shared-id
Don't throw if shared ID already created in `StorageReplicatedMergeTree`
2022-11-15 23:31:51 +03:00
Dan Roscigno
fbff52847c
Merge pull request #43242 from cwurm/datetime_spelling
Docs: Unify spelling of DateTime
2022-11-15 15:09:35 -05:00
Dan Roscigno
10cc6fa415
Merge pull request #43262 from CamiloSierraH/patch-4
Added examples and extra info to projections
2022-11-15 14:03:23 -05:00
DanRoscigno
7e08798fa8 edits 2022-11-15 13:47:50 -05:00
Camilo Sierra
2a48fb344d
Added examples and extra info to projections
I have added two examples about how we can use projections
2022-11-15 19:22:46 +01:00
Dan Roscigno
5f8d4eea79
Merge branch 'master' into standardize-dictionary-categories 2022-11-15 12:47:03 -05:00
DanRoscigno
63ae261119 move tip to snippet 2022-11-15 12:44:54 -05:00
Mikhail f. Shiryaev
2a1268a9cf
Merge pull request #41903 from ClickHouse/filimonov-docs-builder-better-logging
Better logging for docs builder
2022-11-15 18:42:48 +01:00
Vitaly Baranov
22abe9a4fb
Merge pull request #42950 from azat/disks/s3_plain/wide-part-fix
Fixes for s3_plain disk that will allow to attach Wide parts
2022-11-15 17:56:16 +01:00
DanRoscigno
5aae1d0724 update note ot include default user 2022-11-15 10:49:13 -05:00
Dan Roscigno
bb93ff93e7
Merge branch 'master' into standardize-dictionary-categories 2022-11-15 10:35:17 -05:00
Antonio Andelic
6beab87610
Merge pull request #43080 from ucasfl/hudi-udtf
Add table function hudi and deltaLake
2022-11-15 15:42:25 +01:00
Sema Checherinda
7e73b187cc
Merge pull request #43159 from Algunenano/over-read
Fix several buffer over-reads
2022-11-15 15:04:24 +01:00
Anton Popov
8c66c759d4
Merge pull request #43133 from amosbird/issue_43111
Fix Nullable keys in hyperrectangle
2022-11-15 14:30:13 +01:00
Antonio Andelic
0e5e58bed9 Remove exception if shared ID already created 2022-11-15 12:18:24 +00:00
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
Anton Popov
a901c22454
Merge pull request #43189 from ClickHouse/proj_later_update_missing_columns_bug
Fix for missing columns bug with projections an ALTER UPDATE
2022-11-15 12:48:22 +01:00
Dan Roscigno
b5a306c4db
Merge branch 'master' into standardize-dictionary-categories 2022-11-14 21:30:05 -05:00
Alexey Milovidov
2c7377be92
Merge pull request #43129 from Algunenano/skip_hash_in_sanitizer
Skip hash logging on sanitizer builds
2022-11-15 02:16:27 +01:00
Alexey Milovidov
6e01b2b2a1
Merge pull request #43203 from ClickHouse/fix-typo-2
Fix typo
2022-11-15 01:39:34 +01:00
Alexey Milovidov
372059fe87
Merge pull request #43191 from ClickHouse/fix-git-import-indent
Fix the `indent` field in the `git-import` tool
2022-11-15 01:14:15 +01:00
Alexey Milovidov
83ecbf7f0b
Merge pull request #43216 from qoega/add-test-43167
Add test to check #43167 for all builds
2022-11-15 01:12:42 +01:00
Alexey Milovidov
3cab3ce484
Merge pull request #43198 from FArthur-cmd/MySQL_clickhouse_connect
add columns to information schema
2022-11-15 01:11:29 +01:00
Nikolay Degterinsky
d48d4cf87e
Merge branch 'master' into query_parameters_inserts 2022-11-15 01:05:40 +01:00
Nikolay Degterinsky
7cb34ee459
Merge pull request #43150 from Tiaonmmn/patch-7
Update CompressionCodecDeflateQpl.cpp
2022-11-15 00:59:43 +01:00
李扬
1de5bb2392
Add function canonicalRand (#43124)
* add function canonicalRand

* add perf test

* revert rand.xml
2022-11-15 00:27:19 +01:00
李扬
ef45889ecb
Add function pmod which return non-negative result based on modulo (#42755)
* add function positive_modulo

* add ducument

* fix type deduction of positive_modulo

* add function positive_modulo

* add ducument

* fix type deduction of positive_modulo

* add notice

* fix typo

* fix typo

* fix bug

* fix ub error

* fix ub error
2022-11-15 00:15:58 +01:00
Dan Roscigno
b30a0656e1
Merge pull request #43226 from ClickHouse/DanRoscigno-patch-4
Update set-role.md
2022-11-14 17:01:51 -05:00
Vitaly Baranov
21e7d843da
Merge pull request #43097 from vitlibar/correct-error-message-after-dropping-current-user
Make error message after dropping current user more correct.
2022-11-14 21:13:58 +01:00
Dan Roscigno
0619fd93e0
Merge pull request #43230 from gingerwizard/git_analysis
Git analysis
2022-11-14 15:12:11 -05:00
Vitaly Baranov
b8286b836d
Merge pull request #43104 from vitlibar/fix-backup-of-lazy-db
Fix race for backup of tables in Lazy databases
2022-11-14 21:11:50 +01:00
Dale Mcdiarmid
fcf8e5bfd0 Merge remote-tracking branch 'upstream/master' into git_analysis 2022-11-14 20:07:21 +00:00
Dale Mcdiarmid
d557bece04 fix consecutive days query 2022-11-14 20:06:41 +00:00
Kruglov Pavel
386b69acae
Merge pull request #43131 from xiedeyantu/fix_s3cluster_connection_fail
fix skip_unavailable_shards does not work using s3Cluster table function
2022-11-14 20:48:00 +01:00
Dan Roscigno
00fe401961
Merge pull request #43224 from ClickHouse/DanRoscigno-patch-2
Update permissions-for-queries.md
2022-11-14 14:35:12 -05:00
DanRoscigno
5d6c622e40 apply suggestions and simplify 2022-11-14 14:20:55 -05:00
Dan Roscigno
4b182e7b58
Update set-role.md 2022-11-14 12:17:31 -05:00
DanRoscigno
446c029810 make read only clearer 2022-11-14 11:53:44 -05:00
Dan Roscigno
cacbce059e
Merge pull request #43176 from gingerwizard/git_analysis
Git analysis improvements
2022-11-14 11:36:37 -05:00
Dan Roscigno
b8bb7e3842
Merge branch 'master' into git_analysis 2022-11-14 11:36:02 -05:00
Dan Roscigno
4a90f8d3f5
Update permissions-for-queries.md
closes https://github.com/ClickHouse/ClickHouse/issues/43068
2022-11-14 11:34:06 -05:00
Kruglov Pavel
eacd7e1876
Merge pull request #42931 from zzsmdfj/MaterializedMySQL_improvement_bug_fix
Fix issue 42856 and MaterializedMySQL improvement
2022-11-14 16:54:12 +01:00