PHO
3c90065158
Add functions toMJD and fromMJD
...
These functions convert between Proleptic Gregorian calendar date and Modified Julian Day number.
2020-12-07 16:00:32 +03:00
alesapin
371cb23946
Merge branch 'master' into run_func_tests_in_parallel
2020-12-07 13:30:41 +03:00
alesapin
57f40e4260
Merge pull request #17458 from ClickHouse/merge-expressions
...
Merge expressions
2020-12-07 12:34:19 +03:00
alesapin
710550f8e5
Kill container with retries
2020-12-07 12:25:27 +03:00
Maksim Kita
ee33323d1e
Added tests
2020-12-07 11:35:44 +03:00
alesapin
0c43246216
Merge branch 'master' into complete_zk_api
2020-12-07 10:24:55 +03:00
Vasily Nemkov
70ea507dae
OPTIMIZE DEDUPLICATE BY columns
...
Extended OPTIMIZE ... DEDUPLICATE syntax to allow explicit (or implicit with asterisk/column transformers) list of columns to check for duplicates on.
Following syntax variants are now supported:
OPTIMIZE TABLE table DEDUPLICATE; -- the old one
OPTIMIZE TABLE table DEDUPLICATE BY *;
OPTIMIZE TABLE table DEDUPLICATE BY * EXCEPT colX;
OPTIMIZE TABLE table DEDUPLICATE BY * EXCEPT (colX, colY);
OPTIMIZE TABLE table DEDUPLICATE BY col1,col2,col3;
OPTIMIZE TABLE table DEDUPLICATE BY COLUMNS('column-matched-by-regex');
OPTIMIZE TABLE table DEDUPLICATE BY COLUMNS('column-matched-by-regex') EXCEPT colX;
OPTIMIZE TABLE table DEDUPLICATE BY COLUMNS('column-matched-by-regex') EXCEPT (colX, colY);
Note that * behaves just like in SELECT: MATERIALIZED, and ALIAS columns are not used for expansion.
Also, it is an error to specify empty list of columns, or write an expression that results in an empty list of columns, or deduplicate by an ALIAS column.
Column transformers other than EXCEPT are not supported.
2020-12-07 09:44:07 +03:00
alexey-milovidov
dd8362a5eb
Merge pull request #17570 from vdimir/typo_01018_ip_dictionary
...
Fix mixed statements in 01018_ip_dictionary.sql
2020-12-07 02:22:55 +03:00
alexey-milovidov
4df1983d64
Merge pull request #17571 from vdimir/ip-dict-accept-alias
...
IP dictionary works with aliased types `IPv4` and `IPv6` (close #6804 )
2020-12-07 02:19:32 +03:00
Alexey Milovidov
a63d4f0db3
Merge branch 'master' into amosbird-buildid
2020-12-07 02:17:29 +03:00
Azat Khuzhin
c3a4e5e7b7
Fix max_distributed_connections (one more time)
...
With prefer_localhost_replica=1 max_distributed_connections uses
max_threads before this patch.
Fixes : #14936
Previous fix : #9673
2020-12-07 01:19:53 +03:00
Anton Popov
7aaa2c052f
Merge branch 'master' into merging-map
2020-12-05 22:41:46 +03:00
Vitaliy Zakaznikov
c0d529c49d
Small fix to the test/testflows/README.md
2020-12-04 19:27:41 -05:00
Vitaliy Zakaznikov
4cd6ee04d8
Updating TestFlows README.md to include "How To Debug Why Test Failed" section.
2020-12-04 19:11:11 -05:00
Anton Popov
60b0cbb1c1
Merge pull request #15939 from Avogar/optimize_final_optimization
...
Optimize final optimization
2020-12-05 02:26:27 +03:00
alexey-milovidov
37accc3d2c
Merge pull request #17804 from MyroTk/tfs_pr_access_management
...
Testflows RBAC ACCESS MANAGEMENT tests.
2020-12-05 01:56:56 +03:00
alexey-milovidov
61a53f38fd
Merge pull request #17805 from azat/fix-test_ttl_move-flaky
...
Fix flaky test_ttl_move
2020-12-05 01:53:24 +03:00
Alexander Kuzmenkov
b54d50fa7f
Merge pull request #17459 from azat/countMatches-pull
...
Add countMatches function
2020-12-05 00:01:47 +03:00
Azat Khuzhin
ea64ec390f
Fix flaky test_ttl_move
...
- replace sleep() with waiting for the message in log
- due to previous paragaph, use unique table names
- increase sleep timeout in some places
2020-12-04 21:27:50 +03:00
MyroTk
e2c6430a6e
Testflows RBAC ACCESS MANAGEMENT tests.
2020-12-04 18:36:32 +01:00
Pavel Kruglov
905ba78adc
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-12-04 18:56:46 +03:00
alesapin
278bbf6d51
Merge branch 'master' into complete_zk_api
2020-12-04 16:48:19 +03:00
alesapin
7c2a04d77d
Merge pull request #17671 from ClickHouse/update_integration_tests_image
...
Update docker image in integration tests runner
2020-12-04 15:51:08 +03:00
Azat Khuzhin
68c4da1203
Use max_threads=2 for countMatches to keep it under 2 seconds
...
Although I don't like this idea.
2020-12-04 07:54:34 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Alexey Milovidov
d92606d362
Better test
2020-12-03 23:23:09 +03:00
alesapin
b68aa1c76d
Merge branch 'master' into run_func_tests_in_parallel
2020-12-03 17:22:09 +03:00
Anton Popov
cd1917c7a6
Merge branch 'master' into optimize_final_optimization
2020-12-03 16:52:51 +03:00
Alexey Milovidov
00dc21b0b9
Better tests
2020-12-03 13:02:20 +03:00
tavplubix
b25546ea50
Merge pull request #17614 from TCeason/add_mysql_killed_test_for_materializemysql
...
add integration test: MySQL killed while insert for MaterializeMySQL ENGINE
2020-12-03 12:55:43 +03:00
Alexey Milovidov
3e2447391b
Support for PROXY protocol
2020-12-03 00:05:51 +03:00
Ivan
278cde366c
Update arcadia_skip_list.txt
2020-12-02 22:55:48 +03:00
alexey-milovidov
85f4045160
Merge pull request #17144 from fibersel/issue-16791
...
introduce zstd compression (for data import/export)
2020-12-02 22:41:07 +03:00
Alexey Milovidov
a25baebc5a
Added a test
2020-12-02 22:20:11 +03:00
kssenii
ebab21178e
Fix, add test
2020-12-02 18:45:30 +00:00
Azat Khuzhin
5365718f01
Fix optimize_distributed_group_by_sharding_key for query with OFFSET only ( #16996 )
...
* Fix optimize_distributed_group_by_sharding_key for query with OFFSET only
* Fix 01244_optimize_distributed_group_by_sharding_key flakiness
2020-12-02 20:11:39 +03:00
Alexander Tokmakov
a0ef3a113a
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-12-02 18:29:02 +03:00
tavplubix
7e2f7ba623
trigger CI
2020-12-02 18:03:15 +03:00
alesapin
5065d9c64b
Merge branch 'master' into update_integration_tests_image
2020-12-02 13:58:24 +03:00
alesapin
93ea2f5b1f
Merge branch 'master' into complete_zk_api
2020-12-02 11:30:09 +03:00
TCeason
08d36f862d
Merge branch 'master' into add_mysql_killed_test_for_materializemysql
2020-12-02 13:25:07 +08:00
alesapin
51f49e3d47
Check output of cluster start cmd
2020-12-01 23:23:32 +03:00
Azat Khuzhin
cb68d5b5e7
Add performance test for countMatches() function
2020-12-01 22:26:07 +03:00
Azat Khuzhin
cbd4434a33
Add a test for countMatches()/countMatchesCaseInsensitive()
2020-12-01 22:25:28 +03:00
alexey-milovidov
de77715cb6
Merge pull request #17662 from vitlibar/mark-grpc-protocol-tests-as-flaky
...
Mark grpc protocol's tests as flaky.
2020-12-01 22:05:17 +03:00
alexey-milovidov
1cdf5012c9
Merge pull request #17657 from MyroTk/master
...
RBAC testflows tests for SHOW, TRUNCATE, KILL, and OPTIMIZE.
2020-12-01 20:57:31 +03:00
Nikita Mikhaylov
519b886641
Merge pull request #17634 from nikitamikhaylov/scipy-arcadia
...
Try to fix Yandex Synchronization check
2020-12-01 17:59:49 +03:00
Alexander Kuzmenkov
5ad15e2018
Merge pull request #17109 from azat/perf-AggregatingMergeTree-INSERT
...
Improve performance of AggregatingMergeTree w/ SimpleAggregateFunction(String) in PK
2020-12-01 16:27:36 +03:00
Anton Popov
12604ce0e6
Merge branch 'dev_map2' of git://github.com/hexiaoting/ClickHouse into merging-map
2020-12-01 14:52:30 +03:00
tavplubix
0b5261b1af
Merge pull request #17622 from TCeason/add_clickhouse_killed_test_for_materializemysql
...
add integration test: ClickHouse killed while insert for MaterializeMySQL ENGINE
2020-12-01 12:52:52 +03:00
Vitaly Baranov
7f093c4f9a
Mark grpc protocol's tests as flaky.
2020-12-01 12:38:51 +03:00
alexey-milovidov
0739ed8f97
Merge pull request #17597 from ClickHouse/fix-grpc-tests
...
Fix GRPC tests
2020-12-01 10:27:11 +03:00
alexey-milovidov
2644f446ab
Merge pull request #17453 from azat/memory-tracking-exception-locking
...
Do not allow to throw MEMORY_LIMIT_EXCEEDED if there is uncaught exception
2020-12-01 10:25:17 +03:00
MyroTk
2cbf2d8f7b
New RBAC testflows tests for SHOW, TRUNCATE, KILL, and OPTIMIZE.
...
Updates to old tests.
2020-12-01 05:58:45 +01:00
Amos Bird
7e1d71305a
fix test
2020-12-01 10:15:38 +08:00
Vasily Nemkov
87945fb68b
Merge branch 'master' into HEAD
2020-11-30 23:25:57 +03:00
nikitamikhaylov
1037a994a8
done
2020-11-30 15:53:37 +03:00
taichong
5b9d9376c3
add integration test: ClickHouse killed while insert for MaterializeMySQL ENGINE
2020-11-30 17:33:31 +08:00
Alexander Kuzmenkov
8fd0810142
Update aggregating_merge_tree_simple_aggregate_function_string.xml
...
`system stop merges` w/o table name has global effect, so the rest of the tests is affected. Also `optimize` is more suitable here so that the end result is the same every time.
2020-11-30 12:31:30 +03:00
Alexander Kuzmenkov
d9dd9341ce
Fix the OpenTelemetry test
2020-11-30 12:11:17 +03:00
taichong
6d8cf30f5d
add integration test: MySQL killed while insert for MaterializeMySQL ENGINE
2020-11-30 16:31:09 +08:00
alesapin
6d2a007b79
Merge branch 'master' into complete_zk_api
2020-11-30 10:58:25 +03:00
alesapin
25f40db2fb
Merge pull request #17499 from ClickHouse/concurrent_mutation_and_random_kill
...
Fix kill mutation on concurrent alter queries
2020-11-30 10:51:50 +03:00
alexey-milovidov
46e685e1b8
Merge pull request #17565 from ClickHouse/fix-multiline-queries-with-comments
...
Fix multiline queries with comments in interactive mode
2020-11-30 09:38:41 +03:00
alexey-milovidov
df90cbd7d3
Merge pull request #17563 from ClickHouse/parser-alter-missing-code
...
Allow query parameters in UPDATE statement.
2020-11-30 09:38:14 +03:00
Alexey Milovidov
1711d428eb
Fix GRPC tests
2020-11-30 09:34:46 +03:00
Alexey Milovidov
7f1a8b15fd
Fix bad test
2020-11-29 21:21:59 +03:00
alexey-milovidov
484f7601d3
Merge pull request #17562 from ClickHouse/test-memory-accounting-zeros
...
Add a test for #11803
2020-11-29 21:17:25 +03:00
Azat Khuzhin
ccd794a676
Add remerge_sort_lowered_memory_bytes_ratio setting
...
Sometimes default ratio is not good enough (2), since it depends on lots
of factors:
- size of LIMIT
- max_memory_usage
- ...
So add a separate setting for it.
But note that it make sense to set
remerge_sort_lowered_memory_bytes_ratio only in range (1, 2]
Since <= 1 will just use more CPU, and > 2 will use more RAM and will
unlikely be faster.
2020-11-29 21:16:42 +03:00
alexey-milovidov
b682539d4a
Merge pull request #17561 from ClickHouse/test-9490
...
Add a test for #9490
2020-11-29 21:16:39 +03:00
alexey-milovidov
b03aaf2b8a
Merge pull request #17557 from ClickHouse/test-chertus
...
Add a test for #12297
2020-11-29 21:16:03 +03:00
alexey-milovidov
5a1ebb5722
Merge pull request #17541 from ClickHouse/add-test-engine-join-uuid
...
Add a test for StorageJoin and UUID
2020-11-29 21:15:40 +03:00
alexey-milovidov
038a56d243
Merge pull request #16951 from CurtizJ/fix-groupby-optimization
...
Fix optimization with 'optimize_aggregators_of_group_by_keys' and joins
2020-11-29 20:47:16 +03:00
alexey-milovidov
1c7844b91e
Merge pull request #16956 from CurtizJ/fix-order-by
...
Fix order by optimization with monotonous functions
2020-11-29 20:45:47 +03:00
vdimir
cb2259cfb3
Fix mixed statements and typos in 0_stateless/01018_ip_dictionary.sql
2020-11-29 19:49:04 +03:00
Alexey Milovidov
f46eb6f2be
Update tests
2020-11-29 18:16:47 +03:00
alexey-milovidov
ced739f231
Merge branch 'master' into test-distributed_buffer_cannot_find_column
2020-11-29 17:54:16 +03:00
Alexey Milovidov
98f9670f69
Add a test
2020-11-29 17:50:50 +03:00
alexey-milovidov
a965dba0b9
Update 01599_mutation_query_params.sh
2020-11-29 16:45:08 +03:00
Alexey Milovidov
4f47545bc8
Add a test for #10976
2020-11-29 16:42:56 +03:00
Alexey Milovidov
5edda3c6bd
Add a test for #11803
2020-11-29 16:04:57 +03:00
Alexey Milovidov
3ccc4d66a1
Add a test for #9490
2020-11-29 16:02:35 +03:00
FawnD2
26488467f8
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-29 15:53:28 +03:00
Alexey Milovidov
3bd9a7d3bd
Add a test for #12297
2020-11-29 15:23:16 +03:00
a.palagashvili
502355922d
added errors checking, removed redundant variables
2020-11-29 15:14:42 +03:00
alexey-milovidov
00da5148a1
Merge pull request #17347 from azat/substringCount
...
Implement countSubstrings()
2020-11-29 14:32:33 +03:00
alexey-milovidov
fabceebbce
Merge pull request #17145 from amosbird/cddt
...
Fix unmatched type comparison in KeyCondition
2020-11-29 14:29:35 +03:00
alexey-milovidov
43aa7740fb
Merge pull request #17526 from ClickHouse/obfuscator-remove-some-words
...
Query obfuscator: remove some words
2020-11-29 14:25:09 +03:00
Alexey Milovidov
4c3466dcf4
Merge branch 'master' into zhang2014-ISSUES-17244
2020-11-29 14:20:36 +03:00
Alexey Milovidov
d4721fea69
Added a test just in case
2020-11-29 13:56:14 +03:00
Alexey Milovidov
33b38a9f7b
Update tests
2020-11-29 13:52:32 +03:00
Alexey Milovidov
e635b47299
Add a test for StorageJoin and UUID
2020-11-29 10:43:34 +03:00
vdimir
5f330a9366
IP dictionary works with aliased types IPv4
and IPv6
( close #6804 )
2020-11-28 23:12:19 +03:00
alexey-milovidov
19bb345440
Merge pull request #17506 from ClickHouse/fix-bad-test
...
Fix bad test 01317_no_password_in_command_line.sh
2020-11-28 15:38:22 +03:00
Azat Khuzhin
6803e563a5
Add a test for INSERT SELECT with very small memory limits
...
I found one query, using which, pretty easy to abnormal terminate the
server, for example executing the following query:
insert into placeholder_table_name select * from numbers_mt(65535) settings max_memory_usage=1, max_untracked_memory=1 ; -- { serverError 60 }
Will lead to abnormal server termination:
22:51:36.377873 [ 1853495 ] {edae87ee-05b3-4bfa-be51-3f81d25bca2e} <Debug> executeQuery: (from [::1]:48852) insert into placeholder_table_name select * from numbers_mt(65535) format Null settings max_memory_usage=1, max_untracked_memory=1
22:51:36.390607 [ 1853446 ] {} <Trace> BaseDaemon: Received signal -1
22:51:36.390644 [ 1853446 ] {} <Fatal> BaseDaemon: (version 20.12.1.5205 (official build), build id: B23CB64BD60D7F4C) (from thread 1853495) Terminate called for uncaught exception:
e.displayText() = DB::Exception: Memory limit (for query) exceeded: would use 2.01 MiB (attempt to allocate chunk of 48 bytes), maximum: 1.00 B, Stack trace (when copying this message, always include the lines below):
uild_docker/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x107323d0 in /src/ch/tmp/upstream/clickhouse
uild_docker/../src/Common/Exception.cpp:39: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x74f5085 in /src/ch/tmp/upstream/clickhouse
uild_docker/../contrib/libcxx/include/string:2134: DB::Exception::Exception<char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, long&, std::__1::basic_string<char, std::__1::char_traits<char>,
22:51:36.390667 [ 1853446 ] {} <Trace> BaseDaemon: Received signal 6
22:51:36.390801 [ 1854585 ] {} <Fatal> BaseDaemon: ########################################
22:51:36.390827 [ 1854585 ] {} <Fatal> BaseDaemon: (version 20.12.1.5205 (official build), build id: B23CB64BD60D7F4C) (from thread 1853495) (query_id: edae87ee-05b3-4bfa-be51-3f81d25bca2e) Received signal Aborted (6)
22:51:36.390842 [ 1854585 ] {} <Fatal> BaseDaemon:
22:51:36.390859 [ 1854585 ] {} <Fatal> BaseDaemon: Stack trace: 0x7ffff7dde615 0x7ffff7dc7862 0x768a37d 0x11aea23c 0x11ad6df1 0x11ad72bc 0x11ad7806 0x11af6657 0x11ae99ea 0x74df512 0x74de86c 0x74dd02c 0x11acf19c 0xd692953 0xd7bf172 0xd7bc031 0xd7b8c11 0xdf37cf9 0xdf38e9e 0x1067a1cb 0x1067a660 0x107bec66 0x107ba3d0 0x7ffff7f843e9 0x7ffff7ea1293
22:51:36.390888 [ 1854585 ] {} <Fatal> BaseDaemon: 3. raise @ 0x3d615 in /usr/lib/libc-2.32.so
22:51:36.390900 [ 1854585 ] {} <Fatal> BaseDaemon: 4. __GI_abort @ 0x26862 in /usr/lib/libc-2.32.so
22:51:36.391618 [ 1854585 ] {} <Fatal> BaseDaemon: 5. /build/build_docker/../src/IO/WriteBuffer.h:46: terminate_handler() (.cold) @ 0x768a37d in /src/ch/tmp/upstream/clickhouse
22:51:36.392363 [ 1854585 ] {} <Fatal> BaseDaemon: 6. /build/build_docker/../contrib/libcxxabi/src/cxa_handlers.cpp:61: std::__terminate(void (*)()) @ 0x11aea23c in /src/ch/tmp/upstream/clickhouse
22:51:36.393103 [ 1854585 ] {} <Fatal> BaseDaemon: 7. /build/build_docker/../contrib/libcxxabi/src/cxa_personality.cpp:325: call_terminate @ 0x11ad6df1 in /src/ch/tmp/upstream/clickhouse
22:51:36.393812 [ 1854585 ] {} <Fatal> BaseDaemon: 8. /build/build_docker/../contrib/libcxxabi/src/cxa_personality.cpp:887: scan_eh_tab @ 0x11ad72bc in /src/ch/tmp/upstream/clickhouse
22:51:36.394541 [ 1854585 ] {} <Fatal> BaseDaemon: 9. /build/build_docker/../contrib/libcxxabi/src/cxa_personality.cpp:970: __gxx_personality_v0 @ 0x11ad7806 in /src/ch/tmp/upstream/clickhouse
22:51:36.395265 [ 1854585 ] {} <Fatal> BaseDaemon: 10. /build/obj-x86_64-linux-gnu/../contrib/libunwind/src/UnwindLevel1.c:101: _Unwind_RaiseException @ 0x11af6657 in /src/ch/tmp/upstream/clickhouse
22:51:36.395979 [ 1854585 ] {} <Fatal> BaseDaemon: 11. /build/build_docker/../contrib/libcxxabi/src/cxa_exception.cpp:151: __cxa_throw @ 0x11ae99ea in /src/ch/tmp/upstream/clickhouse
22:51:36.396038 [ 1854585 ] {} <Fatal> BaseDaemon: 12. /build/build_docker/../src/Common/MemoryTracker.cpp:171: MemoryTracker::alloc(long) (.cold) @ 0x74df512 in /src/ch/tmp/upstream/clickhouse
22:51:36.396212 [ 1854585 ] {} <Fatal> BaseDaemon: 13. /build/build_docker/../src/Common/MemoryTracker.cpp:177: MemoryTracker::alloc(long) @ 0x74de86c in /src/ch/tmp/upstream/clickhouse
22:51:36.396225 [ 1854585 ] {} <Fatal> BaseDaemon: 14. /build/build_docker/../base/common/../common/memory.h:20: operator new(unsigned long) @ 0x74dd02c in /src/ch/tmp/upstream/clickhouse
22:51:36.396948 [ 1854585 ] {} <Fatal> BaseDaemon: 15. /build/build_docker/../contrib/libcxx/include/string:1495: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x11acf19c in /src/ch/tmp/upstream/clickhouse
22:51:36.397683 [ 1854585 ] {} <Fatal> BaseDaemon: 16. /build/build_docker/../contrib/libcxx/include/list:361: DB::ProcessListEntry::~ProcessListEntry() @ 0xd692953 in /src/ch/tmp/upstream/clickhouse
22:51:36.399234 [ 1854585 ] {} <Fatal> BaseDaemon: 17. /build/build_docker/../contrib/libcxx/include/memory:3483: std::__1::shared_ptr<DB::ProcessListEntry>::~shared_ptr() @ 0xd7bf172 in /src/ch/tmp/upstream/clickhouse
22:51:36.400472 [ 1854585 ] {} <Fatal> BaseDaemon: 18. /build/build_docker/../src/Interpreters/executeQuery.cpp:428: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*) (.cold) @ 0xd7bc031 in /src/ch/tmp/upstream/clickhouse
22:51:36.401525 [ 1854585 ] {} <Fatal> BaseDaemon: 19. /build/build_docker/../src/Interpreters/executeQuery.cpp:814: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool) @ 0xd7b8c11 in /src/ch/tmp/upstream/clickhouse
22:51:36.402887 [ 1854585 ] {} <Fatal> BaseDaemon: 20. /build/build_docker/../src/Server/TCPHandler.cpp:254: DB::TCPHandler::runImpl() @ 0xdf37cf9 in /src/ch/tmp/upstream/clickhouse
22:51:36.404453 [ 1854585 ] {} <Fatal> BaseDaemon: 21. /build/build_docker/../src/Server/TCPHandler.cpp:1336: DB::TCPHandler::run() @ 0xdf38e9e in /src/ch/tmp/upstream/clickhouse
22:51:36.405158 [ 1854585 ] {} <Fatal> BaseDaemon: 22. /build/build_docker/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x1067a1cb in /src/ch/tmp/upstream/clickhouse
22:51:36.405918 [ 1854585 ] {} <Fatal> BaseDaemon: 23. /build/build_docker/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x1067a660 in /src/ch/tmp/upstream/clickhouse
22:51:36.406690 [ 1854585 ] {} <Fatal> BaseDaemon: 24. /build/build_docker/../contrib/poco/Foundation/include/Poco/Mutex_POSIX.h:59: Poco::PooledThread::run() @ 0x107bec66 in /src/ch/tmp/upstream/clickhouse
22:51:36.407413 [ 1854585 ] {} <Fatal> BaseDaemon: 25. /build/build_docker/../contrib/poco/Foundation/include/Poco/AutoPtr.h:215: Poco::ThreadImpl::runnableEntry(void*) @ 0x107ba3d0 in /src/ch/tmp/upstream/clickhouse
22:51:36.407428 [ 1854585 ] {} <Fatal> BaseDaemon: 26. start_thread @ 0x93e9 in /usr/lib/libpthread-2.32.so
22:51:36.407436 [ 1854585 ] {} <Fatal> BaseDaemon: 27. clone @ 0x100293 in /usr/lib/libc-2.32.so
But after other patches in this series it wont.
2020-11-28 11:15:26 +03:00
Alexey Milovidov
7c0138542b
Query obfuscator: remove some words
2020-11-28 10:55:15 +03:00
alesapin
1d179dac22
Merge pull request #17486 from ClickHouse/fix_more_flaky_tests
...
Fix more flaky integration tests
2020-11-28 10:43:29 +03:00
alexey-milovidov
c189f6405f
Merge pull request #16767 from azat/optimize_trivial_count_query-fix
...
Fix optimize_trivial_count_query with partition predicate
2020-11-28 08:43:12 +03:00
alexey-milovidov
62a45e8ff7
Merge pull request #17414 from azat/fix-INSERT-SETTINGS-parsing
...
Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query
2020-11-28 08:38:42 +03:00
alexey-milovidov
61a8406c1e
Merge pull request #17485 from ClickHouse/aku/perf-thresholds
...
Adjust perf test thresholds
2020-11-28 08:34:44 +03:00
alexey-milovidov
7a6c72ce88
Merge pull request #17471 from CurtizJ/fix-order-by-functions
...
Fix 'optimize_redundant_functions_in_order_by'
2020-11-28 08:34:26 +03:00
Alexey Milovidov
44b059c681
Fix bad test 01317_no_password_in_command_line.sh
2020-11-28 08:27:59 +03:00
Nikita Mikhaylov
6f3db7ff50
Merge pull request #17330 from CurtizJ/move-to-prewhere
...
Allow to move conditions to prewhere with compact parts
2020-11-28 02:02:42 +03:00
tavplubix
aaaa7ad59f
Merge pull request #16806 from TCeason/add_test_for_materialize_mysql
...
add network partition integration test for MaterializeMySQL
2020-11-27 20:39:06 +03:00
alesapin
6567796014
Fix kill mutation on concurrent alter queries
2020-11-27 18:46:52 +03:00
Anton Popov
458395dcaf
fix test
2020-11-27 17:31:30 +03:00
Nikita Mikhaylov
0b6f5c75b9
Merge pull request #17435 from vitlibar/grpc-protocol-2
...
Implement GRPC protocol (corrections)
2020-11-27 15:19:50 +03:00
Alexander Kuzmenkov
a3277b183d
Adjust perf test thresholds
2020-11-27 15:08:42 +03:00
alesapin
d199a2bf76
Merge branch 'master' into complete_zk_api
2020-11-27 14:55:55 +03:00
alesapin
17fa29f44f
Less pulls of network image
2020-11-27 14:38:04 +03:00
Anton Popov
601d633690
fix optimize_redundant_functions_in_order_by
2020-11-27 14:29:39 +03:00
alesapin
f12ba9f2c1
Fix test
2020-11-27 14:26:42 +03:00
Alexander Kuzmenkov
19bdb34b19
Merge pull request #16183 from hexiaoting/dev_replace
...
Fix: throw error when column transformer use non-exist column
2020-11-27 14:09:58 +03:00
alesapin
50cf7fda39
Less flaky test_realod_zookeeper
2020-11-27 14:05:59 +03:00
Nikolai Kochetov
f3bea2210c
Update tests.
2020-11-27 13:55:45 +03:00
Nikolai Kochetov
85283b3944
Merge pull request #17397 from ClickHouse/fix-types-for-read-from-join
...
Fix crash while reading from JOIN table with LowCardinality types
2020-11-27 13:37:05 +03:00
Nikolai Kochetov
60af8219ee
Merge pull request #17439 from ClickHouse/chengxianglibra-dist-agg-issue
...
Fix incorrect optimization of distinct
2020-11-27 13:26:19 +03:00
Nikolai Kochetov
c206b2506b
Update tests.
2020-11-27 13:10:09 +03:00
alexey-milovidov
dfae1efbbd
Merge pull request #17070 from fastio/master
...
Support multiple ZooKeeper clusters
2020-11-27 10:38:01 +03:00
taichong
c8f7a56a25
fix CI timeout err
2020-11-27 11:34:49 +08:00
hexiaoting
2523f8f0c6
Merge remote-tracking branch 'origin/master' into dev_replace
2020-11-27 10:51:04 +08:00
alexey-milovidov
572bdb4090
Merge pull request #17423 from ClickHouse/remove-time-series-group-sum
...
Remove timeSeriesGroupSum
2020-11-26 23:07:46 +03:00
Azat Khuzhin
838596c7a4
Implement countSubstrings()
...
Function to count number of substring occurrences in the string:
- in case of needle is multi char - counts non-intersecting substrings
- the code is based on position helpers.
The following new functions is available:
- countSubstrings()
- countSubstringsCaseInsensitive()
- countSubstringsCaseInsensitiveUTF8()
v0: substringCount()
v2:
- add substringCountCaseInsensitiveUTF8
- improve tests
- fix coding style issues
- fix multichar needle
v3: rename to countSubstrings (by analogy with countEqual())
2020-11-26 22:58:16 +03:00
alexey-milovidov
1cd09fa367
Merge pull request #15127 from ucasFL/add-mutation-for-storagememory
...
Add mutation support for StorageMemory
2020-11-26 22:22:59 +03:00
Nikolai Kochetov
9291bbb04b
Merge pull request #16804 from vdimir/ip-dict-no-trie
...
sorted-array based ip_dict
2020-11-26 19:26:06 +03:00
Alexander Kuzmenkov
15a0f14445
Merge pull request #15419 from myrrc/improvement/diff-types-in-avg-weighted
...
Allow different types in avgWeighted. Allow avg and avgWeighed to operate on extended integral types.
2020-11-26 17:16:48 +03:00
alesapin
90bddce5ed
Merge pull request #17410 from ClickHouse/test_mutation_for_empty_partitions
...
Add test for mutation with empty partition
2020-11-26 16:42:43 +03:00
Nikita Mikhaylov
084c75fa6e
Merge pull request #17309 from nikitamikhaylov/merging-sequential-consistency
...
Merging #16309
2020-11-26 15:26:05 +03:00
Nikita Mikhaylov
adb82649c4
Merge pull request #16883 from nikitamikhaylov/refactor-rank-corr
...
mannWhitneyUTest + studentTTest + welchTTest + small rankCorr refactor
2020-11-26 15:17:18 +03:00
Nikolai Kochetov
83f2fc3d9c
Update test.
2020-11-26 12:51:55 +03:00
hexiaoting
5b3a7f5c98
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 16:43:27 +08:00
Nikolai Kochetov
42399e8866
Merge branch 'dist-agg-issue' of https://github.com/chengxianglibra/ClickHouse into chengxianglibra-dist-agg-issue
2020-11-26 11:35:47 +03:00
Amos Bird
022ba2b0a9
Fix unmatched type comparison in KeyCondition
2020-11-26 16:15:50 +08:00
alexey-milovidov
ee3a0b790b
Merge pull request #17376 from azat/toUnixTimestamp-Date-fix
...
Prohibit toUnixTimestamp(Date())
2020-11-26 10:50:00 +03:00
Vitaly Baranov
1fc43b3c93
Remove trailing whitespaces in config.xml
2020-11-26 10:27:04 +03:00
Vitaly Baranov
49cf980761
Use port 9100 for grpc by default.
2020-11-26 10:14:27 +03:00
hexiaoting
74d875c837
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 15:13:52 +08:00
alexey-milovidov
747453b008
Merge pull request #17051 from hexiaoting/bugfix_fuzzbits
...
Bug fix for funciton fuzzBits
2020-11-26 06:41:20 +03:00
Alexey Milovidov
85d3e62275
Remove timeSeriesGroupSum
2020-11-26 05:46:28 +03:00
alexey-milovidov
fb3a69b298
Merge pull request #17254 from azat/fix-dist-query-cancelation
...
Fix "Unexpected packet Data received from client" for Distributed queries
2020-11-26 03:46:27 +03:00
alexey-milovidov
c438b43892
Merge pull request #17375 from ClickHouse/always-working-test
...
Added a test for what was always working
2020-11-26 03:29:14 +03:00
Nikita Mikhaylov
ede023a237
rerun tests to be sure
2020-11-26 01:24:42 +03:00
Alexander Kuzmenkov
394b81ac46
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-25 23:38:55 +03:00
Azat Khuzhin
0b47f4a9e9
Fix optimize_trivial_count_query with partition predicate
...
Consider the following example:
CREATE TABLE test(p DateTime, k int) ENGINE MergeTree PARTITION BY toDate(p) ORDER BY k;
INSERT INTO test VALUES ('2020-09-01 00:01:02', 1), ('2020-09-01 20:01:03', 2), ('2020-09-02 00:01:03', 3);
- SELECT count() FROM test WHERE toDate(p) >= '2020-09-01' AND p <= '2020-09-01 00:00:00'
In this case rpn will be (FUNCTION_IN_RANGE, FUNCTION_UNKNOWN (due to strict), FUNCTION_AND)
and for optimize_trivial_count_query we cannot use index if there is at least one FUNCTION_UNKNOWN.
since there is no post processing and return count() based on only the first predicate is wrong.
Before this patch FUNCTION_UNKNOWN was allowed for optimize_trivial_count_query, and the result was wrong.
And two examples above just to show the difference, the behaviour hadn't been changed with this patch:
- SELECT * FROM test WHERE toDate(p) >= '2020-09-01' AND p <= '2020-09-01 00:00:00'
In this case will be (FUNCTION_IN_RANGE, FUNCTION_IN_RANGE (due to non-strict), FUNCTION_AND)
so it will prune everything out and nothing will be read.
- SELECT * FROM test WHERE toDate(p) >= '2020-09-01' AND toUnixTimestamp(p)%5==0
In this case will be (FUNCTION_IN_RANGE, FUNCTION_UNKNOWN, FUNCTION_AND)
and all, two, partitions will be scanned, but due to filtering later none of rows will be matched.
2020-11-25 23:09:17 +03:00
Azat Khuzhin
32f69dc76f
Cleanup 01505_trivial_count_with_partition_predicate
2020-11-25 23:09:17 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie
2020-11-25 23:07:19 +03:00
Nikolai Kochetov
99f1151236
Update arcadia_skip_list.txt
2020-11-25 23:06:37 +03:00
Azat Khuzhin
3f67e320dd
Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query
...
Before this patch the following query ignores the settings for INSERT:
insert into test_parallel_insert select * from numbers_mt(65535*2) settings max_insert_threads=10
And the reason is that SETTINGS was parsed by the SELECT parser.
Fix this by push down the SETTINGS from the SELECT to INSERT.
Also note that since INSERT parser does not use ParserQueryWithOutput the
following works:
insert into test_parallel_insert select * from numbers_mt(65535*2) format Null settings max_insert_threads=10
2020-11-25 22:53:58 +03:00
Azat Khuzhin
688cb6b4d9
Update date_time_short perf test for toUnixTimestamp(Date())
2020-11-25 21:17:11 +03:00
nikitamikhaylov
44f4064e9b
update test
2020-11-25 20:51:07 +03:00
nikitamikhaylov
02a80230f8
remove comments
2020-11-25 20:51:07 +03:00
nikitamikhaylov
71d6126c6b
better
2020-11-25 20:51:07 +03:00
nikitamikhaylov
4246971961
fix tests
2020-11-25 20:51:07 +03:00
nikitamikhaylov
de9dc3a43f
update copy pasted test
2020-11-25 20:51:06 +03:00
nikitamikhaylov
f764332070
better merge
2020-11-25 20:51:06 +03:00
nikitamikhaylov
3f874af323
new interface for the function
...
(cherry picked from commit 89547e77cf
)
2020-11-25 20:51:06 +03:00
nikitamikhaylov
9177ba3c02
test added
2020-11-25 20:51:06 +03:00
nikitamikhaylov
13081370ba
mann-whitney
2020-11-25 20:51:06 +03:00
nikitamikhaylov
9afe579225
small refactor
2020-11-25 20:51:06 +03:00
alesapin
68c8219edf
Add test for mutation with empty partition
2020-11-25 18:13:27 +03:00
alesapin
dd4c5bdeb9
Merge pull request #17249 from amosbird/insub
...
Fix const column in set index.
2020-11-25 17:05:23 +03:00
Nikolai Kochetov
8e5f7acd07
Added test.
2020-11-25 16:34:07 +03:00
alesapin
fb86eaf6fc
Better errors and better config
2020-11-25 16:19:09 +03:00
Nikita Mikhaylov
27acf6462f
Merge pull request #17248 from kaka11chen/15235
...
Fix #15235 . When clickhouse-copier handle non-partitioned table, throws segfault error.
2020-11-25 14:31:59 +03:00
Alexander Kuzmenkov
edce1e636e
Merge pull request #16535 from ClickHouse/aku/opentelemetry
...
OpenTelemetry improvements
2020-11-25 14:10:17 +03:00
myrrc
1a9c313529
fix test reference
2020-11-25 12:19:19 +03:00
alesapin
4d40d9be3f
Merge branch 'master' into complete_zk_api
2020-11-25 10:31:16 +03:00
alesapin
3e1b2f515b
Merge pull request #17311 from ClickHouse/fix_integration_tests
...
Fix some flaky tests
2020-11-25 10:09:27 +03:00
Vitaly Baranov
08b3707842
Merge pull request #15111 from vitlibar/grpc-protocol
...
Implement GRPC protocol.
2020-11-25 09:00:32 +03:00
Azat Khuzhin
9649b96bbb
Update expectations for toUnixTimestamp(Date()) in 00921_datetime64_compatibility
2020-11-25 07:42:36 +03:00
chenqi
302cd55f45
Fix #15235 . When clickhouse-copier handle non-partitioned table, throw segfault error.
2020-11-25 11:52:00 +08:00
Azat Khuzhin
17f6c82ffa
Prohibit toUnixTimestamp(Date())
...
Making it implicitly cast to Date() does not looks correct, since before
it returns somewhat unexpected result:
SELECT toUnixTimestamp(today())
┌─toUnixTimestamp(today())─┐
│ 18591 │
└──────────────────────────┘
2020-11-25 00:26:14 +03:00
Alexey Milovidov
99073c26ee
Added a test for what was always working
2020-11-25 00:00:55 +03:00
Alexander Kuzmenkov
1d7dcef4a0
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-24 21:45:10 +03:00
Alexander Kuzmenkov
1d6558f694
not sure what's going on
2020-11-24 21:45:01 +03:00
Anton Popov
f2106f9683
add test
2020-11-24 20:41:11 +03:00
Vitaly Baranov
65719da0d8
Merge pull request #16977 from MyroTk/rbac_attach_create_drop_detach_testflows
...
RBAC Testflows tests for ATTACH, CREATE, DROP, and DETACH
2020-11-24 18:31:44 +03:00
Vitaly Baranov
4b3488934c
Disable running test test_odbc_interaction.test_bridge_dies_with_parent with asan.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
3c85165e60
Redirect stderr, stdout for clickhouse-odbc-bridge to files.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
950bccb130
Add test for authentication.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
a0e384b0c0
Added support for external tables.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
23842e7ac6
Added support for input() function.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
0e3a8840b5
Support cancellation of executing query via gRPC.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
88f1eeec2f
Add tests for parallel executing of queries.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
eab3006a4d
Support SSL and compression when using gRPC protocol.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
b0cb3eb306
Extend the protocol with streaming and nonstreaming functions.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
b51e14253d
Added support for sessions in gRPC protocol.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
9285f7edc1
Send profile info to client.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
98e2cc4117
Fix sending progress.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
4f0405af93
Send logs via gRPC protocol too.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
218d9ea3e8
Added input_data_delimiter to protocol.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
797c84889f
Use ReadBuffer to join input data from multiple query infos.
...
That fixes inserting of a row splitted between two query infos.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
63c8d8124a
Added test for inserting to columns with defaults.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
de4586739a
Fix using output format.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
8146093794
Provide more information about errors.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
a327f24e3c
Refine the protocol. Code cleanup in tests.
2020-11-24 17:53:34 +03:00
Vitaly Baranov
db9f762e73
Fix tests.
2020-11-24 17:53:34 +03:00
Vitaly Baranov
13f2352c57
Move files to right places.
2020-11-24 17:53:34 +03:00
mnkonkova
6cd1557d67
Implement GRPC protocol.
2020-11-24 17:53:34 +03:00
Amos Bird
6b4512809c
Fix const column in set index.
2020-11-24 22:31:59 +08:00
Alexander Kuzmenkov
9b0368ffa5
Merge pull request #16338 from ucasFL/union-distinct
...
Add UNION DISTINCT and setting `union_default_mode`
2020-11-24 17:30:24 +03:00
myrrc
03139c2c1e
Merge branch 'improvement/diff-types-in-avg-weighted' of github:myrrc/clickhouse into improvement/diff-types-in-avg-weighted
2020-11-24 17:08:38 +03:00
myrrc
420f2489a7
fixed decimal scales calc, updated the tests
2020-11-24 17:07:59 +03:00
Anton Popov
4e07681444
remove outdated test
2020-11-24 16:30:52 +03:00
myrrc
fbb0e6e6aa
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-24 16:04:17 +03:00
Alexander Tokmakov
e82c63e05c
fixes
2020-11-24 15:28:54 +03:00
Alexander Tokmakov
dce0bf8efc
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-11-24 15:28:31 +03:00
Anton Popov
6e1a9240e1
Merge branch 'master' into fix-groupby-optimization
2020-11-24 15:24:07 +03:00
Anton Popov
ff36dee2ec
move test to bugs
2020-11-24 15:22:13 +03:00
Nikita Mikhaylov
6787f98476
Merge pull request #14958 from nikitamikhaylov/refactor_cache_dictionary
...
Refactor cache dictionary
2020-11-24 14:55:02 +03:00
nikitamikhaylov
5be300ff22
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-sequential-consistency
2020-11-24 14:46:57 +03:00
alesapin
c1a7e4f5fa
Merge branch 'master' into complete_zk_api
2020-11-24 13:37:51 +03:00
alesapin
45f09fe293
Merge pull request #17220 from ianton-ru/s3_max_redirects
...
S3 max redirects
2020-11-24 12:13:10 +03:00
vdimir
52bc290616
Regenerate ya.make, add format null to ip_trie.xml
2020-11-24 11:20:11 +03:00
alesapin
b05385cec0
Remove code from test which copy-pasted from another test
2020-11-24 11:17:37 +03:00
alesapin
cb234e28ea
Fix garbage test
2020-11-24 11:09:10 +03:00
alesapin
5477984856
Longer integration tests for rabbitMQ
2020-11-24 10:33:35 +03:00
taichong
b5440882cd
remove kill server while insert
2020-11-24 10:11:04 +08:00
Anton Popov
2fb8717dfd
Merge pull request #17253 from amosbird/globalinfix
...
global in set index.
2020-11-24 03:06:00 +03:00
Denis Glazachev
a367abb88f
Merge branch 'master' into ldap-cache-login
...
* master: (70 commits)
Update documentation-issue.md
Add an option to use existing tables to perf.py
DOCSUP-4280: Update the SELECT query (#17231 )
DOCSUP-3584 edit and translate (#17176 )
Fixed flaky test_storage_s3::test_custom_auth_headers
Update 01560_merge_distributed_join.sql
Minor improvements
Slightly more correct
Auto version update to [20.13.1.1] [54444]
Auto version update to [20.12.1.5236] [54443]
Update roadmap
Add favicon; add loading indicator
Fix race condition; history and sharing capabilities
Update bitmap-functions.md
Fix exception message
Use default value for read-only flag in metadata for Disk3.
ISSUES-16605 try fix review comment
trigger CI
ISSUES-16605 try fix integration failure
ISSUES-16605 try fix integration test failure
...
2020-11-24 02:55:20 +04:00
alesapin
db1aef8994
More retries
2020-11-23 23:44:46 +03:00
alesapin
3d177d414a
Merge branch 'master' into fix_integration_tests
2020-11-23 23:27:46 +03:00
Tai White
c1662b6a4b
Added line removed by mistake
2020-11-23 21:21:30 +01:00
Anton Popov
852a08eacb
allow to move conditions to prewhere with compact parts
2020-11-23 21:27:59 +03:00
Alexander Kuzmenkov
234bd09044
debug an unreproducible test failure
2020-11-23 20:48:00 +03:00
alexey-milovidov
a2f947ddd5
Merge pull request #16993 from azat/merge-distributed-join-fix
...
Fix Merge(Distributed()) with JOIN
2020-11-23 20:40:21 +03:00
alexey-milovidov
ac710ff0b7
Merge pull request #17299 from Jokser/flaky-s3-test-custom-auth-headers
...
Fixed flaky test_storage_s3::test_custom_auth_headers
2020-11-23 20:33:48 +03:00
Alexander Kuzmenkov
412c2fe079
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-23 19:51:18 +03:00
alesapin
1c5da1c178
Better timeouts
2020-11-23 19:39:57 +03:00
alesapin
eb9b3e6737
Less global queries in functional tests
2020-11-23 17:57:46 +03:00
alesapin
c9b382b4af
Fix flaky integration tests
2020-11-23 17:40:32 +03:00
nikitamikhaylov
065cd00257
better
2020-11-23 17:24:32 +03:00
Amos Bird
172b7e9ed1
global in set index.
2020-11-23 22:05:08 +08:00
feng lv
005f345139
Merge branch 'master' of github.com:ClickHouse/ClickHouse into add-mutation-for-storagememory
2020-11-23 13:56:19 +00:00
nikitamikhaylov
68bef22fda
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-sequential-consistency
2020-11-23 16:28:35 +03:00
tavplubix
7af89cba8a
Merge pull request #16715 from zhang2014/fix/ISSUES-16605
...
ISSUES-16605 fix without returning affected rows when insert select query in MySQL handler
2020-11-23 15:54:43 +03:00
Anton Ivashkin
aa208a9d9f
Use only 's3_max_redirect' in params instead of all settings
2020-11-23 14:02:17 +03:00
Pavel Kovalenko
5f98d38689
Fixed flaky test_storage_s3::test_custom_auth_headers
2020-11-23 13:19:43 +03:00
taichong
a6c2a90756
modify integration test materialize mysql database
...
1. fix asan test err
2. reset pymysql conn if ping err
3. finish mysql & ck killed test
4. modify check_query
2020-11-23 17:55:07 +08:00
alexey-milovidov
f38db2d421
Update 01560_merge_distributed_join.sql
2020-11-23 12:51:59 +03:00
Alexey Milovidov
9969a73d50
Merge branch 'master' into azat-merge-distributed-join-fix
2020-11-23 12:43:15 +03:00
Alexey Milovidov
ed679d8edb
Better test
2020-11-23 12:38:03 +03:00
Alexey Milovidov
24710046c3
Arcadia does not support distributed tests
2020-11-23 12:34:23 +03:00
Alexey Milovidov
b10283f8d5
Add a test for #13990
2020-11-23 12:32:57 +03:00
lichengxiang
fdde2d1e8a
fix #17294 : Distinct on subquery with group by may return duplicate result
2020-11-23 17:06:59 +08:00
alesapin
b8fb44a7b9
Merge with master
2020-11-23 11:05:50 +03:00
taichong
f99d6ea799
add ck & mysql killed while insert
2020-11-23 15:47:44 +08:00
taichong
122740767f
add integration test err
2020-11-23 15:47:44 +08:00
taichong
714767f491
make it normal
2020-11-23 15:47:44 +08:00
taichong
5a50535abc
add mysql kill sync id test
2020-11-23 15:47:44 +08:00
taichong
81bdf50085
add some except error test
2020-11-23 15:47:44 +08:00
taichong
e691b4a0d4
add network partition integration test for MaterializeMySQL
2020-11-23 15:47:44 +08:00
taichong
e8628f61e0
add mysql kill sync id test
2020-11-23 15:47:44 +08:00
taichong
3287f691ee
add some except error test
2020-11-23 15:47:44 +08:00
taichong
5c3d4b2245
add network partition integration test for MaterializeMySQL
2020-11-23 15:47:44 +08:00
feng lv
18491d8920
fix
2020-11-23 05:30:36 +00:00
Alexey Milovidov
fbbf439338
Merge branch 'master' into Enmk-DateTime64_fixes_comparison
2020-11-23 05:46:17 +03:00
alexey-milovidov
9ed0c3c85a
Merge pull request #17238 from azat/no-log-rotate-in-tests
...
Disable rotation of the logs in tests (on CI)
2020-11-23 05:40:58 +03:00
zhang2014
213c7639b7
ISSUES-17244 try fix deterministic functions with predicate optimizer
2020-11-22 22:17:09 +08:00
alesapin
9c8b0da382
Merge pull request #16033 from nvartolomei/nv/parts-uuid
...
Add unique identifiers IMergeTreeDataPart structure
2020-11-22 16:13:19 +03:00
zhang2014
e1e5eede86
ISSUES-16605 try fix integration failure
2020-11-22 20:13:56 +08:00
zhang2014
5b3154b298
ISSUES-16605 try fix integration test failure
2020-11-22 20:13:56 +08:00
zhang2014
a6dbba5932
ISSUES-16605 add integration test
2020-11-22 20:13:56 +08:00
alexey-milovidov
870a56b962
Merge pull request #17255 from azat/perf-tests-settings-cleanup
...
Cleanup settings handling in perf tests
2020-11-21 22:59:44 +03:00
alexey-milovidov
1663b13215
Merge pull request #17257 from ucasFL/fix
...
fix toUInt256 stack overflow
2020-11-21 22:54:06 +03:00
fenglv
268b15f221
fix toUInt256 stack overflow
2020-11-21 12:59:40 +00:00
Azat Khuzhin
8931d3eb6f
Do not use SET via <full_query> in perf tests
...
Since if the connection will be closed (by some reason), then the
setting will not be applied after transparent reconnect (since only
native clickhouse-client can do this, since it parses the query, but
perf tests uses python driver).
Just use inplace SETTINGS clause or <settings>.
2020-11-21 14:02:21 +03:00
Azat Khuzhin
ee4267c1ba
Rename 01247_optimize_distributed_group_by_sharding_key to distingiush it
...
Otherwise flaky tests will run then both, not a problem, but this is
just to trigger flaky check, since there is some tricky issue [1]:
2020-11-20 00:35:51 01247_optimize_distributed_group_by_sharding_key: [ FAIL ] 0.67 sec. - return code 101
2020-11-20 00:35:51 Received exception from server (version 20.12.1):
2020-11-20 00:35:51 Code: 101. DB::Exception: Received from localhost:9000. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Unexpected packet Data received from client.
[1]: https://clickhouse-test-reports.s3.yandex.net/16996/8d71564056925df1415880f382aaa169cbdf37b0/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
2020-11-21 13:32:17 +03:00
Azat Khuzhin
a3116d5614
Tune aggregating_merge_tree_simple_aggregate_function_string to make it faster
2020-11-21 12:08:59 +03:00
Tai White
2bc32fe292
Added verification cooldown requirements and tests to the ldap/external_user_directory SRS and test files
2020-11-20 23:21:13 +01:00
Tai White
43fce34eec
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ldap-cache-login
2020-11-20 20:56:36 +01:00
Nikolai Kochetov
bac1def5f9
Merge pull request #17134 from abyss7/tcp-port
...
Implement tcpPort() function for tests
2020-11-20 20:32:55 +03:00
Pavel Kruglov
ca3fe49a2a
Make setting global
2020-11-20 17:29:13 +03:00
Nicolae Vartolomei
7c8bc1c04e
Use JSON metadata in WAL
2020-11-20 13:49:17 +00:00
Nicolae Vartolomei
94293ca3ce
Assign UUIDs to parts only when configured to do so
...
Avoid breaking backwards compatibility by default for now.
2020-11-20 13:49:17 +00:00
Pavel Kruglov
e5588b94aa
Fix style and tests
2020-11-20 13:38:53 +03:00
tavplubix
3e335c1e95
Merge pull request #17091 from zhang2014/fix/binlog_checksum
...
Fix MaterializeMySQL SYNC failure when modify binlog_checksum
2020-11-20 13:25:14 +03:00
Alexander Kuzmenkov
b05ac888bd
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-20 12:50:08 +03:00
Alexander Kuzmenkov
bde805cb3e
Merge pull request #17175 from ClickHouse/aku/named-tuple
...
Allow formatting named tuples as JSON objects
2020-11-20 12:48:24 +03:00
Nikolai Kochetov
31886fdca6
Merge pull request #16811 from amosbird/pf2
...
Fix verbatim partition pruner.
2020-11-20 12:07:33 +03:00
alesapin
9920d77a93
Merge branch 'master' into complete_zk_api
2020-11-20 11:48:12 +03:00
Anton Ivashkin
a7d4f4be65
Add 's3_max_redirects' test
2020-11-20 11:18:44 +03:00
alesapin
bd5d2d89ad
Merge pull request #17201 from ClickHouse/fix_read_in_order_test
...
Trying to make read_in_order_many_parts more stable
2020-11-20 10:10:17 +03:00
Pavel Kruglov
608722b6ab
Fix integration tests
2020-11-20 02:59:58 +03:00
Kruglov Pavel
51bcd286f2
Merge pull request #16845 from azat/cutToFirstSignificantSubdomainWithWWW
...
Add cutToFirstSignificantSubdomainWithWWW()
2020-11-20 01:44:57 +03:00
Pavel Kruglov
3ee4972586
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-11-20 01:23:51 +03:00
Azat Khuzhin
35231662b3
Improve performance of AggregatingMergeTree w/ SimpleAggregateFunction(String)
...
While reading from AggregatingMergeTree with
SimpleAggregateFunction(String) in primary key and
optimize_aggregation_in_order perf top shows:
Samples: 1M of event 'cycles', 4000 Hz, Event count (approx.): 287759760270 lost: 0/0 drop: 0/0
Children Self Shared Object Symbol
+ 12.64% 11.39% clickhouse [.] memcpy
+ 9.08% 0.23% [unknown] [.] 0000000000000000
+ 8.45% 8.40% clickhouse [.] ProfileEvents::increment # <-- this, and in debug it has not 0.08x overhead, but 5.8x overhead
+ 7.68% 7.67% clickhouse [.] LZ4_compress_fast_extState
+ 5.29% 5.22% clickhouse [.] DB::IAggregateFunctionHelper<DB::AggregateFunctionNullUnary<true, true> >::addFree
The reason is obvious, ProfileEvents is atomic counters (and also they
are nested):
<details>
```
Samples: 7M of event 'cycles', 4000 Hz, Event count (approx.): 450726149337
ProfileEvents::increment /usr/bin/clickhouse [Percent: local period]
Percent│
│
│
│ Disassembly of section .text:
│
│ 00000000078d8900 <ProfileEvents::increment(unsigned long, unsigned long)@@Base>:
│ ProfileEvents::increment(unsigned long, unsigned long):
0.17 │ push %rbp
0.00 │ mov %rsi,%rbp
0.04 │ push %rbx
0.20 │ mov %rdi,%rbx
0.17 │ sub $0x8,%rsp
0.26 │ → callq DB::CurrentThread::getProfileEvents
│ ProfileEvents::Counters::increment(unsigned long, unsigned long):
0.00 │ lea 0x0(,%rbx,8),%rdi
0.05 │ nop
│ unsigned long std::__1::__cxx_atomic_fetch_add<unsigned long, unsigned long>(std::__1::__cxx_atomic_base_impl<unsigned long>*, unsigned long, std::__1::memory_order):
1.02 │ mov (%rax),%rdx
97.04 │ lock add %rbp,(%rdx,%rdi,1)
│ ProfileEvents::Counters::increment(unsigned long, unsigned long):
0.21 │ mov 0x10(%rax),%rax
0.04 │ test %rax,%rax
0.00 │ → jne 78d8920 <ProfileEvents::increment(unsigned long, unsigned long)@@Base+0x20>
│ ProfileEvents::increment(unsigned long, unsigned long):
0.38 │ add $0x8,%rsp
0.00 │ pop %rbx
0.04 │ pop %rbp
0.38 │ ← retq
```
</details>
These ProfileEvents was ArenaAllocChunks (it shows ~1.5M events per
second), and the reason is that the table has
SimpleAggregateFunction(String) in PK, which requires Arena.
But most of the time there Arena wasn't even used, so avoid this cost by
re-creating Arena only if it was "used" (i.e. has new chunks).
Another possibility is to avoid populating Arena::head in ctor, but this
will make the Arena code more complex, so for now this was preferred.
Also as a long-term solution it worth looking at implementing them via
RCU (to move the extra overhead out from the write code path into read
side).
2020-11-19 23:06:12 +03:00
Alexander Kuzmenkov
87a306ed23
Enable OpenTelemetry tracing in functional tests
2020-11-19 18:58:33 +03:00
vdimir
36544a45b7
Merge remote-tracking branch 'upstream/master' into ip-dict-no-trie
2020-11-19 18:56:24 +03:00
alesapin
2623d35f68
Merge pull request #17120 from ClickHouse/fix_granularity_on_block_borders
...
Fix index granularity calculation on block borders
2020-11-19 18:36:07 +03:00
Nicolae Vartolomei
425dc4b11b
Add unique identifiers IMergeTreeDataPart structure
...
For now uuids are not generated at all, they are present only if the
part is updated manually (as you can see in the integration test).
The only place where they can be seen today by an end user is in
`system.parts` table. I was looking for hiding this column behind an
option but couldn't find an easy way to do that.
Likely this is also required for WAL, but need to think how not to break
compatibility.
Relates to #13574 , https://github.com/ClickHouse/ClickHouse/issues/13574
Next 1: In the upcoming PR the plan is to integrate de-duplication based on
these fingerprints in the query pipeline.
Next 2: We'll enable automatic generation of uuids and come up with a
way for conditionally sending uuids when processing distributed queries
only when part movement is in progress.
2020-11-19 13:14:25 +00:00
Alexander Kuzmenkov
f326536ef0
fixup
2020-11-19 15:30:44 +03:00
Alexander Kuzmenkov
bcf15170ed
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-19 15:29:51 +03:00
Alexander Kuzmenkov
24293ccb30
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-19 15:28:37 +03:00
Alexander Kuzmenkov
f2b4c15ab0
Merge pull request #17152 from ClickHouse/aku/json-array
...
Write rows as JSON array in JSONEachRow output format
2020-11-19 15:27:31 +03:00
alesapin
1aba61be7f
Merge branch 'master' into complete_zk_api
2020-11-19 13:32:15 +03:00
alesapin
cdceafdd89
Trying to make read_in_order_many_parts more stable
2020-11-19 13:25:39 +03:00
tavplubix
8b6fbea199
trigger CI
2020-11-19 12:47:24 +03:00
Nikolai Kochetov
8a9792cd30
Merge branch 'master' into pf2
2020-11-19 12:01:15 +03:00
Peng Jian
3c86c8b3c9
fix test cases
2020-11-19 15:44:47 +08:00
Peng Jian
d8ae52118b
add test
2020-11-19 15:44:47 +08:00
alesapin
978e577b0f
Merge pull request #16424 from filimonov/execute_merges_on_single_replica_v2
...
execute_merges_on_single_replica
2020-11-19 10:15:52 +03:00
zhang2014
9df9691ccb
Try fix integration test
2020-11-19 13:01:23 +08:00
alexey-milovidov
c7e88087cd
Merge pull request #16636 from hombit/cmath
...
Add some of missed cmath functions
2020-11-19 07:37:27 +03:00
alexey-milovidov
29bfb5a518
Merge pull request #16997 from vdimir/source-clickhouse-usability
...
source(clickhouse(...)) usability
2020-11-19 07:37:00 +03:00
alexey-milovidov
5aff81b8b8
Merge pull request #17135 from amosbird/ccc
...
Fix ColumnConst comparison.
2020-11-19 07:36:41 +03:00
Azat Khuzhin
dd0fccae47
Disable rotation of the logs in tests (on CI)
...
Right now due to rotation the archive with the clickhouse-server.log
maybe not full, for example:
- not full - https://clickhouse-test-reports.s3.yandex.net/16947/caf5f98db2ae39dd911f7d1fc0a7c2cc382b1c53/functional_stateless_tests_(ubsan)/clickhouse-server.log (no messages about server start)
- full - https://clickhouse-test-reports.s3.yandex.net/16993/d1f52dc72d417580c4088cf3880593176416bea2/functional_stateless_tests_(thread).html
And sometimes rotated part may include relative part of the log, so it
is better to disable it.
2020-11-19 01:08:47 +03:00
Azat Khuzhin
4a77a42f34
Test for Merge(Distributed()) with JOIN
2020-11-18 23:53:31 +03:00
alesapin
d11c547ec2
Merge branch 'master' into fix_granularity_on_block_borders
2020-11-18 23:36:45 +03:00
Azat Khuzhin
48645eae33
Add cutToFirstSignificantSubdomainWithWWW()
...
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org') -> ""
- cutToFirstSignificantSubdomain('www.org') -> org
- cutToFirstSignificantSubdomain('kernel.org') -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org
So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org') -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org') -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org') -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org
P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
2020-11-18 21:09:27 +03:00
Alexander Kuzmenkov
1570320e20
fixes for context hierarchy
2020-11-18 20:43:18 +03:00
alesapin
2cd66f23a3
Merge branch 'master' into complete_zk_api
2020-11-18 17:50:50 +03:00
nikitamikhaylov
13e711b27e
rename back config
2020-11-18 16:38:14 +03:00
Ivan Lezhankin
fdd1c182ab
Merge remote-tracking branch 'upstream/master' into tcp-port
2020-11-18 16:22:00 +03:00
alesapin
7080f424e2
Fix bug for skip indices and make code more complex
2020-11-18 15:04:13 +03:00
Pavel Kruglov
cc1b16ea81
Fix test
2020-11-18 13:40:58 +03:00
Alexander Kuzmenkov
f2b3f5f8b6
Allow formatting named tuples as JSON objects
2020-11-18 13:38:30 +03:00
Mike
1aff334ee5
Delete clickhouse-test-hs.hs
2020-11-18 12:54:54 +03:00
myrrc
dbc5284b73
replaced Memory by MergeTree in the test to get perftests
2020-11-18 12:51:02 +03:00
Alexander Kuzmenkov
8ae67e119f
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-18 12:38:50 +03:00
Pavel Kruglov
547ec19fb3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-11-18 12:01:59 +03:00
Mikhail Filimonov
97fef77ed1
execute_merges_on_single_replica
2020-11-18 08:45:33 +01:00
alesapin
0bc60e2d53
Merge pull request #17089 from ClickHouse/fix_ddl_worker_non_leader
...
Fix ON CLUSTER queries hung for non leader replicas
2020-11-18 10:21:35 +03:00
Alexey Milovidov
26d7795221
Merge branch 'master' into amosbird-ccc
2020-11-18 07:42:45 +03:00
Vitaliy Zakaznikov
dbb5f6722e
Moving to using TestFlows version 1.6.65
...
Fixing unstable test in tests/testflows/ldap/external_user_directory/tests/authentications.py
2020-11-17 20:22:43 -05:00
Tai White
61339ea3fc
fixed header for SRS in /ldap/authentication requirements
2020-11-18 01:36:35 +01:00
Alexander Kuzmenkov
b16c5a1748
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-17 22:54:54 +03:00
Alexander Kuzmenkov
51f9d54d10
test
2020-11-17 22:51:45 +03:00
Alexander Kuzmenkov
a8f29f7da6
make it a setting and not a format
2020-11-17 22:45:17 +03:00
Pavel Kruglov
4ed7657008
fix typo
2020-11-17 22:07:19 +03:00
Tai White
e42ea7b8b9
Deleted ldap directory added by mistake.
...
Added verification cooldown tests to the ldap/authentication feature.
2020-11-17 19:41:28 +01:00
Alexander Kuzmenkov
2bd6584636
JSONArray fixes
2020-11-17 21:33:54 +03:00
nikitamikhaylov
70a08608f8
add reload dictionary
2020-11-17 20:58:31 +03:00
nikitamikhaylov
663730c758
try to fix flaky test
2020-11-17 20:33:07 +03:00
Pavel Kruglov
53b8ff42c2
Add test and set setting to 0 in some other tests
2020-11-17 19:56:36 +03:00
Konstantin Malanchev
07f65b852c
Fix tests
2020-11-17 17:48:16 +01:00
a.palagashvili
6f5390cc70
introduce zstd compression
2020-11-17 19:02:10 +03:00
Nikita Mikhaylov
68b6f08e36
Merge pull request #16721 from nikitamikhaylov/parsing-constraints
...
Turn off parallel parsing when memory limit is small.
2020-11-17 17:37:14 +03:00
nikitamikhaylov
9c6b896928
style + flaky test fix
2020-11-17 17:36:04 +03:00
Amos Bird
f24cf46db5
Fix ColumnConst comparison.
2020-11-17 22:14:31 +08:00
nikitamikhaylov
31b1f644c1
better
2020-11-17 16:59:13 +03:00
nikitamikhaylov
fbd0d14dd6
save
2020-11-17 16:59:12 +03:00
nikitamikhaylov
9b46b53fa3
better defaults
2020-11-17 16:59:12 +03:00
nikitamikhaylov
028fc00166
fix tests
2020-11-17 16:59:12 +03:00
nikitamikhaylov
c7ebcf9c7c
arcadia skip
2020-11-17 16:59:12 +03:00
nikitamikhaylov
d5408b6295
unique db to test
2020-11-17 16:59:12 +03:00
nikitamikhaylov
82c6467a5d
better
2020-11-17 16:59:12 +03:00
nikitamikhaylov
e75f885ac1
add test
2020-11-17 16:59:12 +03:00
nikitamikhaylov
0d1a8ea2a1
first try
2020-11-17 16:59:12 +03:00
Ivan Lezhankin
1787cd89a7
Implement tcpPort() function literal
2020-11-17 16:24:13 +03:00
tavplubix
b251478d98
Merge pull request #17072 from ClickHouse/fix_crash_16944
...
Fix crash in CREATE TABLE AS
2020-11-17 12:51:37 +03:00
alesapin
389b883534
Fix index granularity calculation on block borders
2020-11-17 12:37:13 +03:00
Nikolai Kochetov
86395e11a2
Merge pull request #17006 from azat/fix-distributed-queries-finish
...
Fix Distributed queries finishing (avoid connection resets)
2020-11-17 11:11:27 +03:00
zhang2014
b4fc2ecc00
Try fix integration test
2020-11-17 09:41:35 +08:00
vdimir
428f42053b
Merge remote-tracking branch 'upstream/master' into source-clickhouse-usability
2020-11-16 22:34:28 +03:00
alesapin
5dd32819f5
Merge branch 'master' into fix_ddl_worker_non_leader
2020-11-16 22:34:16 +03:00
vdimir
6dcb38db3f
Minor changes in IP dictionary
2020-11-16 21:08:31 +03:00
Alexander Kuzmenkov
216098afc8
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-16 19:10:10 +03:00
Alexander Kuzmenkov
b0e660651a
cleanup
2020-11-16 19:09:58 +03:00
Winter Zhang
f6a205d64b
Merge branch 'master' into fix/binlog_checksum
2020-11-16 21:53:22 +08:00
zhang2014
6ef93ac73c
Try fix MaterializeMySQL SYNC with modify binlog_checksum
2020-11-16 21:46:36 +08:00
alesapin
6759932c61
Remove accident changes
2020-11-16 15:49:08 +03:00
alesapin
f839742288
Add a test
2020-11-16 15:47:02 +03:00
tavplubix
fe64082371
Merge pull request #15977 from TCeason/add_sync_user_privs_exception
...
throw exception when mysql sync user privs error.
2020-11-16 14:13:10 +03:00
Alexander Tokmakov
8352e5d202
fix crash in CREATE AS
2020-11-16 13:14:12 +03:00
Nikolai Kochetov
00de84fbe3
Merge pull request #16610 from zhang2014/fix/ISSUES-16574
...
ISSUES-16574 try fix remote query failure when using 'if' suffix aggregate function
2020-11-16 12:41:14 +03:00
Nikolai Kochetov
684d649b70
Merge pull request #16928 from ClickHouse/fix-16580
...
Fix possible error Illegal type of argument for queries with ORDER BY.
2020-11-16 12:39:20 +03:00
tavplubix
88de1b052c
Merge pull request #16048 from ClickHouse/materialized-view-check-stack-size
...
Fix possible stack overflow in materialized views.
2020-11-16 12:02:27 +03:00
vdimir
608adc77ca
Remove non-unique entries in ip_dict
2020-11-16 10:43:55 +03:00
TCeason
45bacd6f74
Merge branch 'master' into add_sync_user_privs_exception
2020-11-16 12:59:44 +08:00
hexiaoting
26a529fc32
Bug fix for funciton fuzzBits
2020-11-16 11:46:05 +08:00
alexey-milovidov
0afa1b8fc4
Merge pull request #17044 from CurtizJ/remove-empty-parts-settings
...
Add setting remove_empty_parts
2020-11-15 23:06:44 +03:00
Nikolai Kochetov
0a1ba8095e
Merge pull request #16992 from ClickHouse/try-fix-ci-5
...
Trying to fix the unimportant "Arcadia" checks in the CI.
2020-11-15 20:18:13 +03:00
vdimir
5e0e22301b
Slightly improve ip_dict loading performance, handle v4 to v6 masks in prepossessing, add more tests
2020-11-15 18:55:34 +03:00
Anton Popov
de5ead0c40
add setting remove_empty_parts
2020-11-15 05:24:47 +03:00
vdimir
87baaa0d34
Test default empty password for CLICKHOUSE dict source
2020-11-14 23:59:29 +03:00
vdimir
3c6104855d
Fix mask comparison for ip dict, add tests
2020-11-14 23:29:58 +03:00
Alexey Milovidov
df081e57cf
Fix test
2020-11-14 23:22:15 +03:00
Alexey Milovidov
1991f1d827
Merge branch 'master' into amosbird-fixcrash
2020-11-14 23:19:57 +03:00
vdimir
ca8e4b1607
Minor fixes of ip dict
2020-11-14 20:03:13 +03:00
Azat Khuzhin
ed64f2ad67
Add a test for Distributed query finish does not produce any NETWORK_ERROR
2020-11-14 18:35:15 +03:00
alexey-milovidov
8ef4bfc0b5
Merge pull request #16968 from amosbird/blocktypemismatch
...
Fix missing conversion of unmutated parts
2020-11-14 17:16:51 +03:00
alexey-milovidov
66831d44d4
Merge pull request #16983 from ClickHouse/fix_my_flaky_tests
...
Trying to fix some flaky tests
2020-11-14 17:12:58 +03:00
myrrc
b1c0089b78
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-14 16:50:04 +03:00
vdimir
1dce20e5da
Default host, port and user parameters for source(clickhouse(...))
2020-11-14 16:44:45 +03:00
Vasily Nemkov
fb712c4a4a
Fixed ASOF JOIN with DateTime64, updated test case for comparison.
2020-11-14 09:19:08 +03:00
Nikolai Kochetov
ea8f6fde99
Add test to skiplist.
2020-11-13 22:30:38 +03:00
MyroTk
151f84d845
Updating XFails
2020-11-13 19:44:32 +01:00
Alexander Kuzmenkov
816a808922
Merge pull request #16821 from ClickHouse/aku/perf-threads
...
Try 12 threads max in perf test
2020-11-13 20:25:35 +03:00
Nikolai Kochetov
ed98b48845
Merge pull request #16618 from ClickHouse/actions-dag-f14
...
Actions dag 2
2020-11-13 18:34:51 +03:00
Nikolai Kochetov
257bbcafea
Added test from #16588
...
(cherry picked from commit b5a8ef3ceb
)
2020-11-13 17:46:23 +03:00
Amos Bird
9961182e86
Fix verbatim partition pruner
2020-11-13 22:05:40 +08:00
alesapin
14485238b1
Update 01040_dictionary_invalidate_query_switchover_long.sh
2020-11-13 16:28:04 +03:00
nikitamikhaylov
070d1bcdd0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parsing-constraints
2020-11-13 16:27:17 +03:00
alesapin
5ef2eaeeef
Trying to fix some flaky tests
2020-11-13 16:25:18 +03:00
Nikolai Kochetov
b5a8ef3ceb
Added test from #16588
2020-11-13 15:51:50 +03:00
ubuntu
f7b60c17f5
make test stable
2020-11-13 20:38:28 +08:00
alesapin
2760593940
Better test
2020-11-13 13:50:15 +03:00
Nikolai Kochetov
00e8c8a2f6
Skip test.
2020-11-13 12:28:21 +03:00
alesapin
e590a341e5
Add test
2020-11-13 11:45:51 +03:00
MyroTk
bf68f35ee6
RBAC Testflows tests for ATTACH, CREATE, DROP, and DETACH
2020-11-13 08:59:50 +01:00
alesapin
8d3858fc22
Merge pull request #16895 from CurtizJ/remove-empty-parts
...
Remove empty parts after they were pruned by TTL [2]
2020-11-13 10:00:18 +03:00
taichong
829037b487
Merge branch 'add_sync_user_privs_exception' of https://github.com/TCeason/ClickHouse into add_sync_user_privs_exception
2020-11-13 13:26:19 +08:00
Alexander Kuzmenkov
e4dd68039e
fix
2020-11-13 08:00:43 +03:00
Anton Popov
a03b6df897
fix order by optimization with monotonous functions
2020-11-13 02:58:33 +03:00
Vasily Nemkov
eb9604ecd0
Fixed comparison of DateTime4 with different scales
...
Made DateTime64 a stand-alone type rather than typedef to allow function resolution/deduction based on type.
Added tests.
2020-11-12 23:32:16 +03:00
Nikita Mikhaylov
33bada767c
Merge branch 'master' into parsing-constraints
2020-11-12 23:25:39 +03:00
Anton Popov
7990c8cbad
fix optimization with 'optimize_aggregators_of_group_by_keys' and joins
2020-11-12 22:50:01 +03:00
alesapin
bbd85c3b2d
Merge pull request #16390 from ClickHouse/add_separate_pool_for_fetches
...
Add separate pool for fetches
2020-11-12 22:42:28 +03:00
myrrc
aeab02a02f
fix test
2020-11-12 21:01:51 +03:00
Anton Popov
4cecd89e84
fix dropping of empty parts
2020-11-12 20:37:54 +03:00
Alexander Kuzmenkov
7313691140
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-12 20:31:17 +03:00
alexey-milovidov
2151365764
Merge pull request #16865 from filimonov/timeSeriesGroupSum-segfault
...
Fix for issue #16862
2020-11-12 19:39:14 +03:00
Nikolai Kochetov
e031e805c4
Fix test.
2020-11-12 19:04:35 +03:00
feng lv
eb46951e75
aggregate_functions_null_for_empty move OrNull ahead
2020-11-12 15:55:26 +00:00
alesapin
4aad6a597c
Merge branch 'correctly_send_close_request' into complete_zk_api
2020-11-12 17:46:02 +03:00
taichong
fefa2a2548
add log std out
2020-11-12 22:24:22 +08:00
tavplubix
e0dc004b95
Merge pull request #16885 from amosbird/dd
...
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-12 16:34:21 +03:00
Nikolai Kochetov
1fec1de199
Sdded test
2020-11-12 15:39:35 +03:00
myrrc
a8d8dd7d3e
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-12 14:50:59 +03:00
TCeason
d16cd29c83
Merge branch 'master' into add_sync_user_privs_exception
2020-11-12 19:44:48 +08:00
Anton Popov
0aa35d53c7
Merge remote-tracking branch 'upstream/master' into HEAD
2020-11-12 14:31:58 +03:00
alexey-milovidov
6e62108606
Merge pull request #16774 from ucasFL/agg-func-setting-null-for-empty
...
fix Aggregation Function not found error after #16123
2020-11-12 13:50:15 +03:00
Alexey Milovidov
1af28be77e
Merge branch 'master' into amosbird-fixcrash
2020-11-12 13:47:50 +03:00
alexey-milovidov
91f98d2068
Merge pull request #16834 from Avogar/enum-as-num
...
Try to treat input values as enum id in tsv/scv
2020-11-12 13:46:41 +03:00
feng lv
b1cc582668
fix conflict
2020-11-12 10:42:53 +00:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
...
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
alexey-milovidov
8dd81410de
Merge pull request #16843 from azat/clickhouse-client-stage
...
Add --stage option for clickhouse-client
2020-11-12 13:09:40 +03:00
alesapin
a8d466a645
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-12 12:51:02 +03:00
Nikolai Kochetov
46f70dd0de
Merge branch 'master' into actions-dag-f14
2020-11-12 11:54:44 +03:00
Alexander Kuzmenkov
0d10a4990e
fix
2020-11-12 11:27:33 +03:00
Alexander Kuzmenkov
91f88c79f9
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-12 11:20:09 +03:00
vdimir
7c19ad5ac7
Fix mappedIPv4ToBinary, add test reference for ip_dict
2020-11-12 10:37:27 +03:00
feng lv
b7e5c6ed4d
fix conflict
2020-11-12 02:26:21 +00:00
taichong
091df85cdc
modify test db name
2020-11-12 09:49:12 +08:00
TCeason
3912ed4965
Merge branch 'master' into add_sync_user_privs_exception
2020-11-12 09:34:08 +08:00
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb
2020-11-12 08:26:27 +08:00
alexey-milovidov
ed88379646
Update 01560_crash_in_agg_empty_arglist.reference
2020-11-12 03:22:43 +03:00
taichong
e2a9fe44b0
modify test error
2020-11-12 08:17:13 +08:00
alexey-milovidov
34b2a460ba
Merge pull request #16578 from fibersel/issue-8828
...
add compression method for files: Xz
2020-11-12 02:58:52 +03:00
vdimir
dbec289c9a
[wip] rewrite ip_dict data struct, fix bugs, add tests
2020-11-12 00:58:30 +03:00
alesapin
7d32873cb9
Add missed file
2020-11-11 19:59:13 +03:00
Alexey Milovidov
f1d721fa74
Marked some perf test queries as short
2020-11-11 19:58:31 +03:00
Anton Popov
2497598a49
Remove empty parts after they were pruned by TTL
2020-11-11 19:19:43 +03:00
Ivan
bdbd41bd3d
Pytest test fixes ( #16836 )
2020-11-11 18:29:36 +03:00
Amos Bird
134786afd5
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-11 23:04:49 +08:00
alesapin
df02bb2315
Change test config
2020-11-11 17:00:28 +03:00
filimonov
7995405109
Update 01560_timeseriesgroupsum_segfault.sql
2020-11-11 14:27:21 +01:00
Nikolai Kochetov
a0c18e63ce
Merge pull request #16844 from ClickHouse/try-fix-ci-2
...
Try fix ci.
2020-11-11 16:26:20 +03:00
Pavel Kovalenko
e311759c5d
Abort multipart upload if no data was written to WriteBufferFromS3. ( #16840 )
2020-11-11 15:15:16 +03:00
Nikolai Kochetov
072f481234
Try fix tests.
2020-11-11 15:01:16 +03:00
Alexander Kuzmenkov
f31d7869ac
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-11 14:51:35 +03:00
Alexander Kuzmenkov
906b338a1d
fixes
2020-11-11 14:51:21 +03:00
taichong
f4f4379168
modify test case add precheck
2020-11-11 19:36:09 +08:00
taichong
6c8b5b573b
modify test for Integration Tests Flaky Check
2020-11-11 19:36:09 +08:00
taichong
e5da2d4086
print mysql result for test
2020-11-11 19:35:39 +08:00
taichong
64acfea79c
throw exception when mysql sync user privs error.
2020-11-11 19:32:28 +08:00
taichong
5c1a01897a
Revise the code according to the review
2020-11-11 19:27:37 +08:00
taichong
aecb9716e1
print mysql result for test
2020-11-11 19:27:37 +08:00
taichong
2f6510d75b
try to fix ci failed
2020-11-11 19:27:37 +08:00
taichong
d907afa77e
throw exception when mysql sync user privs error.
2020-11-11 19:27:37 +08:00
a.palagashvili
94790526bd
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into issue-8828
2020-11-11 14:10:02 +03:00
feng lv
f04bd0643d
fix test
...
fix
fix
2020-11-11 10:42:37 +00:00
Mikhail Filimonov
e400d97b12
Test for issue #16862
2020-11-11 11:17:21 +01:00
Nikolai Kochetov
1846bb3cac
Merge branch 'master' into actions-dag-f14
2020-11-11 13:08:57 +03:00
alesapin
637e3dc2c2
Merge pull request #16627 from amosbird/zkc
...
reload auxiliary zookeepers configuration
2020-11-11 10:00:22 +03:00
feng lv
fec4080d42
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-11 03:10:10 +00:00
a.palagashvili
124ef2f5fa
added and successfully passed tests for content encoding and file() function, formatted code
2020-11-11 04:50:56 +03:00
sundy-li
c56d1212a2
rocksdb-cmake && fix iteration bug && improve tests
2020-11-11 09:39:09 +08:00
Alexey Milovidov
630aa9b0c3
Rename Rocksdb to RocksDB
2020-11-11 09:08:53 +08:00
sundy-li
46c01eb7a2
improve unbundle build
2020-11-11 09:08:53 +08:00
sundy-li
fb7066d73d
* fix fasttest and cmake && pipline for all_scan
...
* unique the keys
* add inputstream && outputstream
2020-11-11 09:08:53 +08:00
sundy-li
f95a66b584
add supportsIndexForIn && supportsParallelInsert, support parallel reading
2020-11-11 09:08:52 +08:00
sundy-li
b9e663af25
add rocksdb perf tests
2020-11-11 09:08:52 +08:00
sundy-li
b092ebe40d
add primary key for StorageEmbeddedRocksdb
2020-11-11 09:08:52 +08:00
sundy-li
03ad32a3fa
disable WITH_GFLAGS
2020-11-11 09:08:52 +08:00
root
e9de5b6ad4
Add StorageEmbeddedRocksdb Engine
2020-11-11 09:08:52 +08:00
alexey-milovidov
3f086deb91
Update 01560_crash_in_agg_empty_arglist.sql
2020-11-11 02:42:16 +03:00
Azat Khuzhin
ab8f13b885
Add --stage option for clickhouse-client
...
It is sometimes useful to process queries not up to the Complete stage
but intermediate some (i.e. for Distributed queries debugging and
similar).
2020-11-11 00:54:51 +03:00
Pavel Kruglov
dd06ff4f94
Minor change
2020-11-11 00:02:11 +03:00
Pavel Kruglov
c648f62629
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize_final_optimization
2020-11-10 22:58:21 +03:00
myrrc
a0b6aa5d9f
fixing the test after UB fix
2020-11-10 21:14:40 +03:00
Danila Kutenin
c36e6fe378
Fix tests finally
2020-11-10 18:22:59 +03:00
Danila Kutenin
c0308a5d85
Fix tests, I cannot count number of zeros sometimes
2020-11-10 18:21:39 +03:00
Danila Kutenin
a489f65c02
Merge branch 'master' into master
2020-11-10 20:16:29 +03:00
Nikolai Kochetov
15d3fc1438
Merge pull request #14936 from ClickHouse/storage-read-query-plan
...
Storage read query plan (Continuation)
2020-11-10 19:57:01 +03:00
Danila Kutenin
847fa9ca3c
Merge
2020-11-10 18:15:26 +03:00
Danila Kutenin
8504efde77
Merge
2020-11-10 18:12:49 +03:00
Danila Kutenin
2057198779
Fix performance tests that became very fast
2020-11-10 17:58:05 +03:00
Nikolai Kochetov
b659efdb43
Fix test.
2020-11-10 16:18:36 +03:00
Nikolai Kochetov
195c941c4e
Merge branch 'master' into storage-read-query-plan
2020-11-10 15:02:22 +03:00
myrrc
e460248624
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-10 14:54:24 +03:00
Nikolai Kochetov
11511e0929
Merge pull request #16818 from ClickHouse/try-to-fix-checks
...
Try to fix ci
2020-11-10 14:52:51 +03:00
Pavel Kruglov
ca4088b400
Try to treat input values as enum id in tsv/scv
2020-11-10 14:36:53 +03:00
alesapin
9df414fa0c
One more test to skip
2020-11-10 13:54:56 +03:00
alesapin
fe4bd6a7d2
Merge branch 'master' into run_func_tests_in_parallel
2020-11-10 13:54:43 +03:00
alesapin
2e357516a6
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-10 13:53:08 +03:00
Vladimir Chebotarev
059357d51e
ALTER UPDATE/DELETE ... IN PARTITION
with partition pruning in ReplicatedMergeTree
(#13403 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-11-10 13:23:46 +03:00
Nikolai Kochetov
59c0a739c4
Add test to skiplist.
2020-11-10 12:18:51 +03:00
Amos Bird
aa8e6db786
reload auxiliary zookeepers configuration
2020-11-10 15:56:37 +08:00
feng lv
9194985d48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-10 06:09:39 +00:00
Alexander Kuzmenkov
5449c23cb8
Merge pull request #16040 from kitaisreal/datetime-comparison-with-date-string-literal
...
DateTime comparison with date string literal
2020-11-10 08:15:00 +03:00
Alexander Kuzmenkov
84fb76bad4
fixes
2020-11-10 07:19:43 +03:00
hexiaoting
694ad1f452
Modify except column transformer's error log
2020-11-10 11:14:41 +08:00
Amos Bird
9867387a5f
Fix crash in agg empty arglist
2020-11-10 10:16:46 +08:00
myrrc
5ef262b1a3
fixed test results after fixing UB
2020-11-10 02:06:11 +03:00
a.palagashvili
f999ea2a6f
renamed files, added new library, changed error codes, added tests for file() function
2020-11-10 01:52:22 +03:00
Denis Glazachev
0e704ec278
Merge branch 'master' into ldap-cache-login
2020-11-10 00:10:22 +04:00
Danila Kutenin
f7f7fde3a8
Fix fast test to see all others
2020-11-09 22:48:39 +03:00
Alexander Kuzmenkov
030419db90
Try 12 threads max in perf test.
...
This will allow us to use more machines, not only Gold 6320.
2020-11-09 19:14:05 +03:00
feng lv
b4c933e585
fix
...
fix test
2020-11-09 16:03:52 +00:00
alesapin
ea7fe94aa9
Merge pull request #15511 from nvartolomei/nv/drop-detached-part-quorum-possible-solution
...
ALTER TABLE ... DROP|DETACH PART
2020-11-09 18:00:30 +03:00
alexey-milovidov
e47ed55d32
Merge pull request #14977 from achimbab/indexOf_bloomfilter
...
Fix indexOf() to use BloomFilter
2020-11-09 17:58:42 +03:00
alexey-milovidov
2994499680
Update bloom_filter_select.xml
2020-11-09 17:58:27 +03:00
Nikolai Kochetov
6717c7a0af
Merge branch 'master' into actions-dag-f14
2020-11-09 14:57:48 +03:00
tavplubix
67099f28ac
Merge pull request #16591 from ClickHouse/aku/create-file
...
Support `SETTINGS` clause for File engine
2020-11-09 14:15:42 +03:00
alesapin
e2ece9ef0a
Merge branch 'master' into run_func_tests_in_parallel
2020-11-09 13:24:47 +03:00
alesapin
a056379ec1
Remove duplicate code
2020-11-09 12:25:50 +03:00
alesapin
cedaa938f3
Add simple integration test
2020-11-09 12:10:32 +03:00
Maksim Kita
02da9af32d
DateTime comparison with date string literal
2020-11-09 11:29:08 +03:00
alesapin
72046313d4
Merge branch 'master' into nvartolomei-drop-part
2020-11-09 10:02:02 +03:00
alesapin
4e846d2197
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-09 10:00:21 +03:00
zhang2014
1726fb0f4e
ISSUES-16574 try fix test failure
2020-11-09 12:40:28 +08:00
zhang2014
540288c419
Merge branch 'master' into fix/ISSUES-16574
2020-11-09 10:05:56 +08:00
alexey-milovidov
f39457bc77
Merge pull request #16788 from azat/fix-use_compact_format_in_distributed_parts_names
...
Apply use_compact_format_in_distributed_parts_names for each INSERT (with internal_replication)
2020-11-08 23:23:10 +03:00
Alexey Milovidov
ff906369ea
Adjust time for perf test
2020-11-08 23:22:50 +03:00
vdimir
81671ceb39
Add tests/performance/ip_trie.xml [wip]
2020-11-08 21:32:22 +03:00
Alexey Milovidov
f07988eec7
Remove perf test of sumbur hash, because we do not care
2020-11-08 21:17:30 +03:00
vdimir
a67f5b780f
Use sorted ip array instead of trie in TrieDictionary
2020-11-08 19:19:04 +03:00
alexey-milovidov
0e6ae4aff7
Merge pull request #16253 from amosbird/pf
...
Prune partition in verbatim way.
2020-11-08 18:58:02 +03:00
feng lv
dd2f31c0b4
cancel combinators native names constraint
2020-11-08 15:36:20 +00:00
Alexey Milovidov
7257a5c3d2
Fix perf tests
2020-11-08 16:55:36 +03:00
Alexey Milovidov
f4178dd91f
Fix perf tests
2020-11-08 16:55:26 +03:00
alexey-milovidov
c7aa0c851a
Update bloom_filter.xml
2020-11-08 16:51:45 +03:00
alexey-milovidov
d96914b044
Update bloom_filter.xml
2020-11-08 16:51:03 +03:00
FawnD2
b3d94fae5f
Disable input file with strange behaviour
2020-11-08 15:00:55 +03:00
Alexey Milovidov
cc012e2cc7
Merge branch 'master' into achimbab-indexOf_bloomfilter
2020-11-08 14:42:03 +03:00
Amos Bird
46507c8cff
Better test
2020-11-08 17:11:02 +08:00
Amos Bird
a333f9f6f4
Update tests/queries/0_stateless/01540_verbatim_partition_pruning.sql
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2020-11-08 14:21:58 +08:00
FawnD2
4526cae4b9
Add more comments in test launcher
2020-11-08 05:27:33 +03:00
FawnD2
a8dbbc6ccb
Update reference with release build
2020-11-08 05:26:38 +03:00
FawnD2
1d7614746a
Fix issue with locale. Move helper script out of tests folder
2020-11-08 04:32:27 +03:00
Azat Khuzhin
34d882b7d3
Get back 01555_system_distribution_queue_mask
...
This reverts commit bfb330452c
.
Since now use_compact_format_in_distributed_parts_names works on fly for
internal_replication=true.
2020-11-08 03:06:01 +03:00
Alexey Milovidov
5ea17f9896
Merge branch 'master' into better-diagnostic-on-create-syntax-error
2020-11-08 01:21:07 +03:00
FawnD2
6a89d965fd
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-07 22:34:55 +03:00
Alexey Milovidov
bfb330452c
Remove old test
2020-11-07 22:12:08 +03:00
FawnD2
42c9dba86e
Remove irrelevant comment
2020-11-07 21:01:30 +03:00
FawnD2
dd81be96db
Update reference. Update test data. Add more tests.
2020-11-07 16:26:00 +03:00
FawnD2
5978c130ac
Update main test script
2020-11-07 16:25:57 +03:00
FawnD2
ccbdecfb45
Rewrite and fix auxiliary script for parquet_load test
2020-11-07 16:25:53 +03:00
feng lv
1ca7dcb0a8
fix conflict
2020-11-07 11:44:29 +00:00
feng lv
125eb02726
nomalize ASTSelectWithUnionQuery
2020-11-07 11:38:20 +00:00
alexey-milovidov
59ea3e7db0
Merge pull request #16586 from kitaisreal/create-query-nested-type-column-formatting-intendation-fix
...
CreateQuery nested type column formatting fix
2020-11-07 13:42:20 +03:00
alexey-milovidov
7acfa7d407
Merge pull request #16728 from azat/enable-use_compact_format_in_distributed_parts_names-by-default
...
Enable use_compact_format_in_distributed_parts_names by default
2020-11-07 13:40:54 +03:00
alexey-milovidov
8dbd04a229
Merge pull request #16727 from azat/distribution_queue-masking
...
Mask password in data_path in the system.distribution_queue
2020-11-07 13:40:41 +03:00
alexey-milovidov
712a35bb7b
Merge pull request #16762 from filimonov/kafka-protobuf-issue12615
...
Test for the issue #12615
2020-11-07 13:40:19 +03:00
Alexander Kuzmenkov
79f759fb6c
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-07 11:54:11 +03:00
Alexander Kuzmenkov
3c60f6cec2
make a separate settings collection + some cleanup
2020-11-07 11:53:39 +03:00
feng lv
3342da1d77
fix #16123
2020-11-07 04:14:50 +00:00
MyroTk
d78d07f825
xfails for ALTER MOVE
2020-11-07 01:48:29 +01:00
MyroTk
381ed50bef
Enabling existing testflows tests.
2020-11-07 01:39:22 +01:00
nikitamikhaylov
dabb23b668
done
2020-11-06 21:55:13 +03:00
alexey-milovidov
4e85d6a4c3
Merge pull request #16273 from Avogar/collation-support
...
Support collate in LowCardinality, Nullable, Array and Tuple, where nested type is String
2020-11-06 21:52:52 +03:00
alexey-milovidov
d5b507bdfd
Merge pull request #16703 from ClickHouse/tavplubix-patch-2
...
Fix 01526_client_start_and_exit.sh
2020-11-06 21:48:29 +03:00
alexey-milovidov
4a872a5297
Merge pull request #16123 from ucasFL/agg-func-setting-null-for-empty
...
Add setting `aggregate_functions_null_for_empty`
2020-11-06 21:42:30 +03:00
Alexey Milovidov
57a0dd3074
Add a test
2020-11-06 21:23:30 +03:00
Azat Khuzhin
c057e86040
Fix path masking in system.distribution_queue for multiple nodes
2020-11-06 21:04:50 +03:00
Azat Khuzhin
ac8df08186
Set use_compact_format_in_distributed_parts_names=0 for some integration tests
...
To avoid depends from default.
2020-11-06 21:02:44 +03:00
Mikhail Filimonov
b072bc7d2b
Test for the issue #12615
2020-11-06 17:54:44 +01:00
Konstantin Malanchev
cbe5f3d667
Reduce range to test
2020-11-06 16:22:06 +01:00
alexey-milovidov
7fb53b205c
Merge pull request #16637 from azat/mt-read_in_order-spread-fix
...
Fix spreading for ReadInOrderOptimizer with expression in ORDER BY
2020-11-06 17:36:03 +03:00
Nikolai Kochetov
c10f733587
Merge branch 'master' into storage-read-query-plan
2020-11-06 15:43:46 +03:00
Nikolai Kochetov
9aeb757da4
Merge branch 'master' into actions-dag-f14
2020-11-06 15:04:20 +03:00
Nikita Mikhaylov
e5cb09cb5f
Merge pull request #16613 from nikitamikhaylov/with_totals_having_assert
...
Fix fuzzer found error (with totals)
2020-11-06 14:41:16 +03:00
alexey-milovidov
e1a01edf29
Merge pull request #16719 from MyroTk/master
...
RBAC Testflows - Server log intrumentation for debug and new ALTER tests
2020-11-06 12:40:31 +03:00
alexey-milovidov
dd83a35842
Merge pull request #16722 from CurtizJ/fix-transform-null-in
...
Fix transform_null_in with sets of tuples
2020-11-06 12:39:57 +03:00
hexiaoting
28e87da976
remove map literal and Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-06 15:07:41 +08:00
Amos Bird
aa436a3cb1
Transform single point
2020-11-06 14:59:55 +08:00
hexiaoting
8ffce5e974
Merge remote-tracking branch 'origin/master' into dev_replace
2020-11-06 12:02:45 +08:00
Amos Bird
30bf5e6d26
Prune partition in verbatim way.
2020-11-06 09:56:13 +08:00
Azat Khuzhin
b2e17916e4
Mask password in data_path in the system.distribution_queue
2020-11-06 00:10:25 +03:00
alexey-milovidov
7bda6dba3c
Merge pull request #16657 from ucasFL/reinterpret
...
Allow reinterpret between integers and floats of the same size
2020-11-05 23:21:59 +03:00
alexey-milovidov
6d5e852356
Merge pull request #16677 from ClickHouse/field-infinite-convert-to-int
...
Fix UBSan report when trying to convert infinite floating point number to integer
2020-11-05 23:20:25 +03:00
Alexey Milovidov
990f8a23ab
Translate comments to english
2020-11-05 21:51:36 +03:00
tavplubix
e53f604924
Update 01304_direct_io.sh
2020-11-05 21:43:18 +03:00
alexey-milovidov
ee3e289ec2
Merge pull request #15983 from ClickHouse/no_background_pool_no_more
...
Replace BackgroundProcessingPool with SchedulePool task and ThreadPool.
2020-11-05 21:38:22 +03:00
Anton Popov
8d42305184
fix transform_null_in with sets of tuples
2020-11-05 21:07:44 +03:00
MyroTk
02a071e88f
RBAC Testflows - Instrumenting server log for debug and new ALTER tests
2020-11-05 17:51:17 +01:00
nikitamikhaylov
aceb82ae6a
better
2020-11-05 19:00:05 +03:00
alexey-milovidov
fcb61251a4
Update 00087_math_functions.sql
2020-11-05 15:36:25 +03:00
Alexander Tokmakov
159cd5ef72
add --database arg to CLICKHOUSE_BENCHMARK
2020-11-05 15:32:03 +03:00
Anton Popov
bea0984d12
Merge pull request #16642 from kitaisreal/bloom-filter-index-added-big-int-and-uuid-support
...
BloomFilter index added big integers and UUID support
2020-11-05 15:26:08 +03:00
Alexander Kuzmenkov
2efbcbaa14
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-05 14:28:56 +03:00
Alexander Kuzmenkov
14f31f5117
add support of settings to URL, fix url and file table functions
2020-11-05 14:28:20 +03:00
alexey-milovidov
9cb0b76c16
Merge pull request #16631 from ildus/fix_16087
...
fix bug in minMap and maxMap with zero values
2020-11-05 14:14:19 +03:00
alexey-milovidov
5954b7ec8b
Merge pull request #16570 from JacobHayes/add-farmfingerprint64
...
Add farmFingerprint64 function
2020-11-05 13:36:59 +03:00
alexey-milovidov
d2fcd8548e
Update 00087_math_functions.sql
2020-11-05 13:01:41 +03:00
alexey-milovidov
1ee417b125
Update 00087_math_functions.sql
2020-11-05 12:20:51 +03:00
myrrc
ddd40fc4ce
fixed the perf test
2020-11-05 12:20:05 +03:00
alexey-milovidov
79abbc2f67
Merge pull request #16658 from ClickHouse/fix-test-max-memory-usage-for-user
...
Fix flaky tests after "max_memory_usage_for_user"
2020-11-05 12:18:21 +03:00
alexey-milovidov
5d8844b66e
Merge pull request #16675 from ClickHouse/max_parallel_replicas_without_sampling
...
Fix 'max_parallel_replicas' without sampling.
2020-11-05 12:16:23 +03:00
alexey-milovidov
56786cdb66
Merge pull request #16673 from ClickHouse/test-null-if
...
Add a test for #16231
2020-11-05 12:14:48 +03:00
Nikolai Kochetov
40a9648269
Merge pull request #16308 from nikitamikhaylov/totals-having
...
Incorrect behaviour of SELECT WITH TOTALS
2020-11-05 11:27:28 +03:00
myrrc
c09fcf846d
added proper test for avg()
2020-11-05 11:12:04 +03:00
Alexander Kuzmenkov
faf1f1e0cd
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-05 11:09:11 +03:00
myrrc
9788065786
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-05 08:44:37 +03:00
Kruglov Pavel
c494f6f5ff
Merge branch 'master' into collation-support
2020-11-05 01:28:30 +03:00
Maksim Kita
b1e75ec6f5
CreateQuery compound column type indendation fix
2020-11-04 23:43:11 +03:00
alexey-milovidov
cd19509b5c
Update 01541_max_memory_usage_for_user.sh
2020-11-04 23:42:17 +03:00
Maksim Kita
7dd749fc4c
BloomFilter index added big integers and UUID support
2020-11-04 23:41:10 +03:00
alexey-milovidov
ae9c8d08a6
Merge pull request #16668 from den-crane/tests/cte2
...
more tests for CTE #16575
2020-11-04 23:40:19 +03:00
alexey-milovidov
199c32b585
Merge pull request #16672 from ClickHouse/remote-ttests
...
Remove T-Tests
2020-11-04 23:38:12 +03:00
alexey-milovidov
dbdff0d779
Merge pull request #16661 from ClickHouse/optimize-or-fill
...
Optimize -OrNull and -OrDefault aggregate functions by providing specializations
2020-11-04 23:37:11 +03:00
Alexey Milovidov
22954cc123
Fix UBSan report when trying to convert infinite floating point number to integer
2020-11-04 19:48:36 +03:00
Jacob Hayes
1c961c281c
Add farmFingerprint64 test
2020-11-04 11:32:58 -05:00
Alexey Milovidov
a4cfc240e3
Add a test
2020-11-04 19:19:59 +03:00
Alexey Milovidov
c496aaddb2
Add a test for #16231
2020-11-04 18:29:43 +03:00
myrrc
591ebcef49
fixing test results
2020-11-04 18:23:29 +03:00
alexey-milovidov
ca0037d18b
Update group_by_sundy_li.xml
2020-11-04 18:07:18 +03:00
Alexey Milovidov
ffeee2b471
Remove T-Tests
2020-11-04 18:03:32 +03:00
Ildus Kurbangaliev
4ff1dacaa0
Fix the test case for maxMap function
2020-11-04 14:20:11 +00:00
Denis Zhuravlev
eedf4439bb
more tests for CTE #16575
2020-11-04 10:16:49 -04:00
myrrc
43b2d20314
updated the decimal template magic
2020-11-04 16:14:07 +03:00
feng lv
269e96f17e
fix
2020-11-04 12:15:31 +00:00
Konstantin Malanchev
382d67d10a
Add tests
2020-11-04 12:30:40 +01:00
myrrc
3d70ab7f3b
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-04 14:29:59 +03:00
Alexey Milovidov
e0d962a3cf
Add a test for #8772
2020-11-04 14:22:02 +03:00
Alexey Milovidov
3993636d8d
Add a test
2020-11-04 14:09:20 +03:00
Alexey Milovidov
938ef62532
Add a test
2020-11-04 14:00:43 +03:00
alexey-milovidov
6f004e4abd
Merge branch 'master' into agg-func-setting-null-for-empty
2020-11-04 13:24:39 +03:00
alexey-milovidov
4fede5b008
Merge pull request #16438 from azat/errorCode-v2
...
Add errorCodeToName() and system.errors
2020-11-04 12:40:47 +03:00
Alexey Milovidov
d7b4e036d2
Fix flaky tests after "max_memory_usage_for_user"
2020-11-04 12:27:34 +03:00
alexey-milovidov
7b468c0c3a
Merge pull request #16575 from amosbird/cte2
...
Allow WITH subqueries to take effect immediately
2020-11-04 12:14:27 +03:00
alexey-milovidov
6d62f2163d
Merge pull request #16589 from amosbird/applyp
...
Allow parameterized functions in APPLY
2020-11-04 12:06:41 +03:00
alexey-milovidov
654d127ce6
Merge pull request #16630 from sundy-li/patch-6
...
better change the config
2020-11-04 11:36:07 +03:00
alexey-milovidov
397d02f828
Merge pull request #16643 from ClickHouse/quantile-merge-perf
...
Improve performance of quantileMerge
2020-11-04 11:28:07 +03:00
alexey-milovidov
864feaee39
Merge pull request #16644 from ClickHouse/row-input-format-better-diagnostics
...
Provide row number when "Cannot read all data" during parsing input
2020-11-04 11:26:54 +03:00
feng lv
b127752102
add test
2020-11-04 07:58:26 +00:00
alesapin
20043e77bb
Merge branch 'master' into nvartolomei-drop-part
2020-11-04 10:22:23 +03:00
Azat Khuzhin
26b1024fea
Fix 01339_client_unrecognized_option after UNRECOGNIZED_ARGUMENTS value change
2020-11-04 07:12:29 +03:00
Azat Khuzhin
b161127fc1
Add a test for spreading parts between threads for ReadInOrderOptimizer
2020-11-04 07:07:25 +03:00
Ivan
64bd63ca49
Try to parse DataType arguments as another nested type ( #16262 )
...
* Try to parse DataType arguments as another nested one
* Allow mixed lists of arguments of data types
* Restore croaring back
* Fix tests
2020-11-04 03:08:55 +03:00
alexey-milovidov
973c1d7983
Merge pull request #16529 from azat/log_queries_min_time
...
Add log_queries_min_query_duration_ms
2020-11-04 01:47:18 +03:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2
2020-11-04 01:40:41 +03:00
alexey-milovidov
09805399d9
Merge pull request #16560 from azat/test_input_format_parallel_parsing_memory_tracking-flackiness
...
Fix test_input_format_parallel_parsing_memory_tracking flackiness
2020-11-04 01:37:25 +03:00
alexey-milovidov
225f7e2696
Merge pull request #16594 from amosbird/qpi
...
Query parameter type : Identifier
2020-11-04 01:35:23 +03:00
alexey-milovidov
df83291603
Merge pull request #16612 from ClickHouse/alter-name-collision
...
Fix possible name collision in calculation of DEFAULT expression.
2020-11-04 01:34:31 +03:00
alexey-milovidov
3e647062ef
Merge pull request #16614 from ClickHouse/dict-fixedstring
...
Add a test for #1148
2020-11-04 01:34:01 +03:00
Vitaliy Zakaznikov
e6d04b4780
Merge branch 'master' of https://github.com/traceon/ClickHouse into ldap-cache-login
2020-11-03 16:53:23 -05:00
Alexey Milovidov
213f290c09
Add a test
2020-11-03 23:35:03 +03:00