Commit Graph

83322 Commits

Author SHA1 Message Date
taiyang-li
e759af2dd4 fix round bug 2022-02-13 18:52:25 +08:00
freedomDR
8e5ba9e778 Avoid crash in case of GROUP BY LowCardinality(Nullable(String)) column and group_by_overflow_mode='any' 2022-02-13 10:19:58 +00:00
bharatnc
4dadc7e15b fix style check 2022-02-12 23:36:40 -08:00
bharatnc
5f661fde48 fix tests 2022-02-12 23:04:09 -08:00
mergify[bot]
8a47ed2b3f
Merge branch 'master' into static-files-disk-uploader-create-symlinks 2022-02-13 06:12:39 +00:00
alexey-milovidov
1774836d4f
Merge pull request #34555 from kitaisreal/table-functions-insert-partition-by-refactoring
TableFunctionFile added performance test
2022-02-13 09:08:51 +03:00
bharatnc
b50005e702 add check for max h3 resolution 2022-02-12 22:05:28 -08:00
feng lv
4ccd1c3278 try fix data race in StorageLog 2022-02-13 04:52:16 +00:00
bharatnc
e02bd7d785 check and get columns in geoToH3 func 2022-02-12 19:08:40 -08:00
Saad Ur Rahman
03f81c8685
[CH-34239] HTTP User-Agent header (#34330)
* [IO] HTTP User-Agent header

Added HTTP User-Agent Header to HTTP requests.

User-Agent: ClickHouse/VERSION_STRING
Input header vectors could potentially contain User-Agent. If so, do not set another.

* [Tests] HTTP User Agent

Added stateless functional test 02205_HTTP_user_agent.

Co-authored-by: Filatenkov Artur <58165623+FArthur-cmd@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-13 00:40:11 +03:00
kssenii
c83c5bc1f1 Remove debug 2022-02-12 20:45:18 +01:00
alexey-milovidov
4a2c69c073
Merge pull request #34067 from Algunenano/mv_fixes
Fix  `parallel_view_processing=0` and `view_duration_ms` in views log
2022-02-12 22:36:41 +03:00
kssenii
39049251b7 Fix disable_suggestion argument for clickhouse-local 2022-02-12 20:26:01 +01:00
kssenii
fecf7f3d08 May be fix test 01065_window_view_event_hop_watch_bounded.py 2022-02-12 18:24:09 +01:00
Maksim Kita
e2c8ba9ab2 Added performance test 2022-02-12 16:05:35 +00:00
Maksim Kita
3832c2109e
Merge pull request #34491 from cnmade/PR202202101717
Translate zh/engines/database-engines/materialized-mysql: translate t…
2022-02-12 17:03:31 +01:00
Maksim Kita
43eed317f9
Merge pull request #34547 from ClickHouse/remove-old-cruft
Remove very old cruft
2022-02-12 16:48:30 +01:00
Maksim Kita
8be2a8ec34
Merge pull request #34554 from azat/no-minizip-build-fix
Fix gtest_archive_reader_and_writer in case of !USE_MINIZIP
2022-02-12 16:43:52 +01:00
mergify[bot]
558d593c79
Merge branch 'master' into fix-test 2022-02-12 13:58:04 +00:00
Azat Khuzhin
cc55c8b982 Fix gtest_archive_reader_and_writer in case of !USE_MINIZIP
Empty arrays/vectors are not supported by ValuesIn:

    /src/ch/clickhouse/src/IO/tests/gtest_archive_reader_and_writer.cpp:341:59: error: no matching function for call to 'ValuesIn'
    INSTANTIATE_TEST_SUITE_P(All, ArchiveReaderAndWriterTest, ::testing::ValuesIn(supported_archive_file_exts));
                                                              ^~~~~~~~~~~~~~~~~~~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:459:43: note: expanded from macro 'INSTANTIATE_TEST_SUITE_P'
        return GTEST_EXPAND_(GTEST_GET_FIRST_(__VA_ARGS__, DUMMY_PARAM_));        \
                                              ^~~~~~~~~~~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:453:38: note: expanded from macro 'GTEST_GET_FIRST_'
    #define GTEST_GET_FIRST_(first, ...) first
                                         ^~~~~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:452:28: note: expanded from macro 'GTEST_EXPAND_'
    #define GTEST_EXPAND_(arg) arg
                               ^~~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:301:29: note: candidate template ignored: substitution failure [with T = std::vector<std::string>, N = 0]: zero-length arrays are not permitted in C++
    internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) {
                                ^                         ~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:306:58: note: candidate template ignored: substitution failure [with Container = std::vector<std::string> [0]]: type 'std::vector<std::string> [0]' cannot be used prior to '::' because it has no members
    internal::ParamGenerator<typename Container::value_type> ValuesIn(
                                      ~~~~~~~~~              ^
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:294:1: note: candidate function template not viable: requires 2 arguments, but 1 was provided
    ValuesIn(ForwardIterator begin, ForwardIterator end) {
    ^
    /src/ch/clickhouse/src/IO/tests/gtest_archive_reader_and_writer.cpp:341:59: error: no matching function for call to 'ValuesIn'
    INSTANTIATE_TEST_SUITE_P(All, ArchiveReaderAndWriterTest, ::testing::ValuesIn(supported_archive_file_exts));
                                                              ^~~~~~~~~~~~~~~~~~~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:468:32: note: expanded from macro 'INSTANTIATE_TEST_SUITE_P'
          auto t = std::make_tuple(__VA_ARGS__);                                  \
                                   ^~~~~~~~~~~
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:301:29: note: candidate template ignored: substitution failure [with T = std::vector<std::string>, N = 0]
    internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) {
                                ^
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:306:58: note: candidate template ignored: substitution failure [with Container = std::vector<std::string> [0]]: type 'std::vector<std::string> [0]' cannot be used prior to '::' because it has no members
    internal::ParamGenerator<typename Container::value_type> ValuesIn(
                                      ~~~~~~~~~              ^
    /src/ch/clickhouse/contrib/googletest/googletest/include/gtest/gtest-param-test.h:294:1: note: candidate function template not viable: requires 2 arguments, but 1 was provided
    ValuesIn(ForwardIterator begin, ForwardIterator end) {
    ^
    2 errors generated.
    ninja: build stopped: subcommand failed.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-12 15:01:20 +03:00
taiyang-li
8e20cf9fac chmod bash shell 2022-02-12 19:30:02 +08:00
kssenii
6fc3275553 Add debug 2022-02-12 10:59:57 +01:00
Alexey Milovidov
dd4243ff18 Remove very old cruft 2022-02-12 11:05:01 +03:00
Alexey Milovidov
0ed56f0255 We don't use Uncrustify 2022-02-12 11:03:14 +03:00
alexey-milovidov
747b6b2058
Merge pull request #34528 from CurtizJ/key-condition-float
Fix comparison between integers and floats in index analysis
2022-02-12 10:19:09 +03:00
alexey-milovidov
ea71dc9d11
Merge pull request #34510 from kitaisreal/table-functions-insert-partition-by-refactoring
Improve performance of insert into table functions URL, S3, File, HDFS
2022-02-12 10:14:00 +03:00
alexey-milovidov
9bb2eba281
Merge pull request #34429 from ClickHouse/filimonov-SystemAsynchronousInserts
asynchronous_inserts engine AsynchronousInserts -> SystemAsynchronousInserts
2022-02-12 10:08:04 +03:00
Frank Chen
7b7bc8f6c3 Address review comment 2022-02-12 10:46:01 +08:00
Maksim Kita
d680a017e0
Merge pull request #34539 from ClickHouse/fix-query-cancelation
Fix cancelation for S3 and HDFS
2022-02-12 00:36:03 +01:00
Maksim Kita
c2f6d803f7
Merge pull request #34542 from den-crane/patch-10
Doc. Fix defaults for input_format_parallel_parsing / output_format_parallel_formatting
2022-02-12 00:35:42 +01:00
Mikhail f. Shiryaev
f4e5e15ebb
Merge pull request #34492 from ClickHouse/docker-performance
Rebuild all docker images nightly
2022-02-12 00:28:30 +01:00
tesw yew isal
89c740e395 sync translate to zh: update mergetree.md 2022-02-12 05:08:35 +08:00
Denny Crane
a66b30f21a
Update settings.md 2022-02-11 16:52:12 -04:00
Denny Crane
7beff9048c
Update settings.md 2022-02-11 16:50:53 -04:00
Vladimir C
d40275af4f
fix 2022-02-11 21:22:02 +01:00
Maksim Kita
dfd7c90a70
Merge pull request #34540 from den-crane/patch-7
Doc. Virtual Columns MergeTree engine (RU)
2022-02-11 21:06:28 +01:00
Denny Crane
4554f0d542
Update column.md 2022-02-11 15:45:28 -04:00
Denny Crane
7ad3e182ec
Update column.md 2022-02-11 15:40:57 -04:00
Denny Crane
2daacc1a3e
Update column.md 2022-02-11 15:40:20 -04:00
Denny Crane
f935c524ea
fix description of MATERIALIZE COLUMN 2022-02-11 15:28:20 -04:00
Denny Crane
14f3a11c01
Update mergetree.md 2022-02-11 14:38:11 -04:00
Dmitry Novik
50131fd732 Fix cancelation for S3 and HDFS 2022-02-11 18:14:55 +00:00
Mikhail f. Shiryaev
ac459dccd8
Force update kerberized hadoop 2022-02-11 18:26:49 +01:00
Mikhail f. Shiryaev
65e8605af1
Make testflows aarch64 compatible 2022-02-11 18:26:48 +01:00
Mikhail f. Shiryaev
0f21981694
Add a flag for images architecture 2022-02-11 18:26:45 +01:00
Mikhail f. Shiryaev
7ca684aa9c
Revert checks for architectures in Dockerfiles 2022-02-11 18:26:44 +01:00
Mikhail f. Shiryaev
bd3812a462
Add a comment 2022-02-11 18:26:44 +01:00
Mikhail f. Shiryaev
dc9a22df00
Add nightly docker images rebuild 2022-02-11 18:26:42 +01:00
Mikhail f. Shiryaev
dcecbbaf81
Add argument --all for docker imabes builder 2022-02-11 18:26:42 +01:00
Mikhail f. Shiryaev
c19d0a3494
Update performance-comparison, fix x86 hard-code 2022-02-11 18:26:41 +01:00