Commit Graph

101758 Commits

Author SHA1 Message Date
Raúl Marín
4e7ccd1c06 Merge remote-tracking branch 'blessed/master' into revert_SingleValueDataString 2022-11-16 12:59:47 +01:00
Sema Checherinda
b13a8d478b check limits for an AST in select parser fuzzer 2022-11-16 11:58:30 +00:00
xiedeyantu
7dc941cacd fix 2022-11-16 19:47:57 +08:00
Vladimir C
2d265523bb
Update src/Analyzer/Passes/QueryAnalysisPass.cpp 2022-11-16 12:45:54 +01:00
Vladimir C
981e6e2c24
Update src/Analyzer/Passes/QueryAnalysisPass.cpp 2022-11-16 12:44:54 +01:00
Alexander Tokmakov
7e6fe94a8e
Merge pull request #43266 from ClickHouse/global-overcommit-test
Make test_global_overcommit_tracker non-parallel
2022-11-16 14:28:56 +03:00
alesapin
32358d2180
Merge pull request #43256 from ClickHouse/vdimir/msg_in_wait_zookeeper_to_start
Better message in wait_zookeeper_to_start
2022-11-16 11:58:53 +01:00
Nikolay Degterinsky
584d894f48
Merge pull request #43265 from evillique/fix-parser-4
Fix parsing of IS NULL operator
2022-11-16 11:38:39 +01:00
Nikolay Degterinsky
122508d844 Fix cloning of ASTIdentifier 2022-11-16 10:22:28 +00:00
Maksim Kita
64b2a4d1bf
Merge pull request #43110 from bigo-sg/function_factorial
Add function factorial
2022-11-16 12:49:47 +03:00
Alexey Milovidov
ce8066e90e Add changelog for 21.11 2022-11-16 07:31:24 +01:00
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
1ec21e5890
Merge branch 'master' into group_by_all 2022-11-16 06:14:04 +01:00
Alexey Milovidov
923f2dd562
Merge branch 'master' into ldap_fix_search_limit 2022-11-16 06:13:07 +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
JackyWoo
01b63fd98a fix style 2022-11-16 12:51:51 +08:00
Alexey Milovidov
04687c0d69
Merge pull request #43206 from ClickHouse/miscellaneous-changes-parallel-replicas
Miscellaneous changes
2022-11-16 05:30:03 +01:00
Nikolay Degterinsky
b3d02a7bd0
Merge branch 'master' into better-set-params 2022-11-16 04:45:46 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
xiedeyantu
c23cd091a3 fix 2022-11-16 09:59:44 +08:00
李扬
6393d11dab
fix doc 2022-11-16 09:34:45 +08:00
JackyWoo
f8d71f60a2
Merge branch 'master' into keeper_manually_assign_leader 2022-11-16 09:34:40 +08:00
李扬
d9adf2f02d
fix doc 2022-11-16 09:34:04 +08:00
xiedeyantu
8144516e53 fix 2022-11-16 09:33:46 +08:00
JackyWoo
ace40a2538 fix tests 2022-11-16 09:33:46 +08:00
xiedeyantu
3d218795be fix 2022-11-16 09:18:45 +08:00
Anton Popov
11c28abbed fix race in IColumn::dumpStructure 2022-11-16 00:57:22 +00:00
Vitaly Baranov
63be12adca Fix tests. 2022-11-16 01:35:11 +01:00
Vitaly Baranov
4a25fcc056 Fix procesing '' as a database name in remote() 2022-11-16 01:35:11 +01:00
Vitaly Baranov
ce81166c7e Fix style. 2022-11-16 01:35:11 +01:00
Vitaly Baranov
2e242fa991 Add tests. 2022-11-16 01:35:11 +01:00
Vitaly Baranov
d365570b27 Hide passwords in SHOW CREATE TABLE and system.tables. 2022-11-16 01:35:11 +01:00
Vitaly Baranov
8d72f75556 Make the password wiping an option of IAST::format(). 2022-11-16 01:35:06 +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
Dmitry Novik
fcdc9dfaac Make test_global_overcommit_tracker non-parallel 2022-11-15 20:52:18 +00: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
Nikolay Degterinsky
4778b5c13f Fix IS (NOT)NULL operator 2022-11-15 20:23:49 +00: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
Raúl Marín
5caba7000a Try a different approach 2022-11-15 17:53:24 +01:00