Commit Graph

1604 Commits

Author SHA1 Message Date
Anton Popov
685d14863b tests with distributed 2020-06-26 01:39:54 +03:00
alexey-milovidov
8f429f6027
Merge pull request #11935 from zlobober/allocated_bytes
Consider allocatedBytes() instead of bytes() in Storage{Buffer,Memory}.
2020-06-26 00:57:47 +03:00
alexey-milovidov
e4531301b6
Merge pull request #11946 from ClickHouse/fix-one-reason-of-test-flakiness
Fix one reason of test flakiness
2020-06-26 00:57:33 +03:00
alexey-milovidov
6a45f3e960
Merge pull request #11936 from ClickHouse/fix_11918
Fix query parameter visitor
2020-06-26 00:54:37 +03:00
Alexey Milovidov
5d08789602 Added a test 2020-06-25 22:48:12 +03:00
Alexey Milovidov
734be4f376 Minor modification 2020-06-25 22:46:02 +03:00
Andrew Onyshchuk
fc1ae85600 Avro UUID support 2020-06-25 14:25:45 -05:00
Alexey Milovidov
5608f15749 Revive mmap IO 2020-06-25 22:15:41 +03:00
Alexey Milovidov
a5c5eed866 Fix one reason of test flakiness 2020-06-25 19:46:28 +03:00
Nikita Mikhaylov
ea4192abc4 one more test 2020-06-25 19:09:34 +03:00
Nikita Mikhailov
15e09c8b2e add ssd to integration test 2020-06-25 18:35:33 +03:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
alexey-milovidov
9de5db9025
Merge pull request #11856 from zhang2014/feature/uuid_without_separator
Support parse UUID without separator
2020-06-25 16:26:55 +03:00
Maxim Akhmedov
1197804048 Update canonized values in 00753_system_columns_and_system_tables. 2020-06-25 16:22:07 +03:00
alexey-milovidov
bc585c7c33
Merge pull request #11901 from BohuTANG/mysql_global_variables
Change MySQL global variables query to globalVariable function
2020-06-25 16:15:41 +03:00
Anton Popov
14e09e5650 Merge remote-tracking branch 'upstream/master' into HEAD 2020-06-25 14:59:15 +03:00
tavplubix
0260358253
Merge pull request #11934 from ClickHouse/fix_some_logical_errors
Fix some logical errors
2020-06-25 14:20:58 +03:00
Nikita Mikhaylov
e16f942197 save 2020-06-25 14:17:46 +03:00
alesapin
78ddeff1bc
Merge pull request #11920 from vitlibar/access-check-fix-using-current-database
Fix using current database while checking access rights.
2020-06-25 11:56:15 +03:00
Ivan Blinkov
269fc138be rename test back to test.py 2020-06-25 11:11:29 +03:00
Alexander Kuzmenkov
5bf30b1c1f
Merge pull request #11931 from ClickHouse/aku/local-tmp
Put clickhouse-local data to /tmp by default
2020-06-25 10:06:38 +03:00
BohuTANG
53997f23e6 Merge remote-tracking branch 'ck/master' into mysql_global_variables 2020-06-25 14:04:10 +08:00
tavplubix
64aebb258e
Update 00945_bloom_filter_index.sql 2020-06-25 02:35:07 +03:00
Alexander Tokmakov
ae9aaa006d fix query parameter visitor 2020-06-25 00:36:18 +03:00
Alexander Tokmakov
a6b7010531 fix some logical errors 2020-06-24 23:51:17 +03:00
Alexander Kuzmenkov
c678708c0c Put clickhouse-local data to /tmp by default
This fixes https://github.com/ClickHouse/ClickHouse/issues/9848
Also fixes https://github.com/ClickHouse/ClickHouse/issues/11926
2020-06-24 22:03:28 +03:00
Artem Zuikov
2391ac22b7
Rewrite arithmetic in aggregate functions optimisation (#11899) 2020-06-24 21:49:55 +03:00
Vitaly Baranov
29a9d4187f Fix using current database while checking access rights. 2020-06-24 17:31:05 +03:00
Nikita Mikhaylov
e55577ba65 Merge branch 'nikvas0/ssd_dict' of git://github.com/nikvas0/ClickHouse into merging-ssh-cache 2020-06-24 16:45:18 +03:00
BohuTANG
2aa92a8563 Add SELECT @@Version fake value '5.7.30' #11089 2020-06-24 21:32:33 +08:00
Alexey Milovidov
c7d6d531f5 Added a test 2020-06-24 16:20:39 +03:00
Alexander Kuzmenkov
2da7b356ab
Merge pull request #11668 from bharatnc/bnc/config-max-num-threads
max_thread_pool_size setting for changing max Threads in Global Thread Pool
2020-06-24 16:11:21 +03:00
Ivan Blinkov
3206ed832a add __init__.py 2020-06-24 15:54:04 +03:00
Ivan Blinkov
ea2d1856f3 try to rename py files to less common names 2020-06-24 15:35:22 +03:00
BohuTANG
6f28d7b8b5 Fix @@session.variables AS 2020-06-24 20:09:32 +08:00
Nikolai Kochetov
f7f16fdbf7
Merge pull request #11895 from ClickHouse/fix-nullable-prewhere-type-3
Fix nullable prewhere type 3
2020-06-24 14:32:08 +03:00
Alexey Milovidov
f113140fc0 Remove already fixed bug 2020-06-24 13:36:46 +03:00
BohuTANG
71f1a3120e Fix JDBC @@session.variables 2020-06-24 18:28:14 +08:00
alexey-milovidov
18eb141ea1
Merge pull request #11715 from azat/dist-optimize_skip_unused_shards-fixes
Control nesting level for shards skipping and disallow non-deterministic functions
2020-06-24 12:54:58 +03:00
alexey-milovidov
c2fba5179b
Merge pull request #11875 from ClickHouse/fix-fpe-datetime64
Fix strange and wrong code around DateTime64
2020-06-24 12:54:04 +03:00
tavplubix
2401bc9143
Merge pull request #11896 from ClickHouse/merging_drop_replica
Merging #10679
2020-06-24 11:42:39 +03:00
BohuTANG
2eba81347b add column header to test 2020-06-24 15:05:50 +08:00
BohuTANG
4d96a25655 Change MySQL global variables query to globalVariable function 2020-06-24 13:40:18 +08:00
Ivan Blinkov
45d1ca2567 merge master 2020-06-24 00:18:16 +03:00
Artem Zuikov
92016e8bfb
Fix if function with NULLs (#11807) 2020-06-24 00:06:32 +03:00
Alexey Milovidov
25607be34b Added a test 2020-06-23 22:54:15 +03:00
Alexey Milovidov
cda2687195 Merge branch 'master' into fix-fpe-datetime64 2020-06-23 22:45:45 +03:00
alexey-milovidov
55eee9bfa1
Merge pull request #11745 from ClickHouse/atomic_metadata5
Atomic metadata.
2020-06-23 22:28:40 +03:00
Alexander Tokmakov
7b5de16da9 minor improvements 2020-06-23 22:15:01 +03:00
Nikolai Kochetov
658a2d0dc0 Fix anotehr one nullable prewhere column. 2020-06-23 21:52:32 +03:00
Alexander Kuzmenkov
1a63972a4b Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads 2020-06-23 20:25:07 +03:00
alexey-milovidov
be14b42fdb
Merge pull request #11878 from ucasFL/sha256
SHA256 add FixedString support
2020-06-23 20:15:31 +03:00
Alexander Kazakov
0510911559
Merge pull request #11071 (#11874)
* Add's hasSubstr  array function

* Add's example in the english doc of hasSubStr

* Updates conditions to avoid prematurely calling isEqual

* Remove feathericons

Authored-by: Ryad ZENINE <ryad.zenine@contentsquare.com>
2020-06-23 17:42:19 +03:00
feng lv
093698c607 add test
fix

fix

fix
2020-06-23 19:53:26 +08:00
alesapin
ca552d6394 Remove redundat sync replica 2020-06-23 12:28:46 +03:00
hexiaoting
9135cb1bf1
fix bug for query "select *, abc.*" should failed. (#11753) 2020-06-23 12:16:42 +03:00
alesapin
4185fe9975 Merge branch 'master' into atomic_metadata5 2020-06-23 11:13:05 +03:00
alesapin
e5411e52b2
Merge pull request #11863 from ClickHouse/more_stable_alter_settings_test
Better 00980_alter_settings test
2020-06-23 10:43:22 +03:00
alexey-milovidov
1c1e12f06b
Merge pull request #11826 from ClickHouse/send-logs-on-fatal-errors
Send logs to client on fatal errors if possible
2020-06-23 09:49:48 +03:00
alexey-milovidov
b4475086ab
Merge pull request #11840 from azat/fix-http-memory-accounting
Fix memory accounting via HTTP interface
2020-06-23 09:48:42 +03:00
Alexander Kuzmenkov
442b78db5b
Merge pull request #11865 from ClickHouse/aku/sum-with-overflow
Support sumWithOverflow as SimpleAggregateFunction
2020-06-23 09:12:39 +03:00
amudong
7723dc4935 add drop relica database and the whole replica
fix removeReplicaByZKPath

fix bug: add zkpath empty judge

fix: rewrite code

delete useless code.

fix:ast fromat

fix bug

add test_drop_replica

add drop_replica doc

add drop databse checkAccess

refactor dropReplica

update tests

add static method StorageReplicatedMergeTree::dropReplicaByZkPath

update doc and delete useless code

fix conflict

fix doc

fix doc

fix StorageReplicatedMergeTree::dropReplica

fix bug

delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e fix: can not drop local table and replace ALTER with SYSTEM
fix test_drop_replica

fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
0a4af8f0a7 add SYSTEM DROP REPLICA 2020-06-23 12:12:30 +08:00
sundy-li
15ad830290 only drop inactive replica
update doc

Increase timeout to release the zookeeper Ephemeral nodes

Fix code comment

use PartitionManager

make integrations test passed
2020-06-23 12:12:30 +08:00
sundy-li
34df59baf8 Add tests and docs
Fix integration-tests
2020-06-23 12:12:30 +08:00
alexey-milovidov
d147cd646a
Merge pull request #11860 from ClickHouse/supress_mysql_test_under_tsan
Disable MySQL dictionaries integration tests under tsan
2020-06-23 02:50:05 +03:00
alexey-milovidov
a7b224a578
Merge pull request #11869 from ClickHouse/fix-nullable-prewhere-type-2
Fix nullable prewhere type 2
2020-06-23 02:48:59 +03:00
alexey-milovidov
555189c5ca
Merge pull request #11872 from ClickHouse/fix-flaky-test-no-password-in-command-line
Fix flaky test "no password in command line"
2020-06-23 02:47:44 +03:00
Alexey Milovidov
2f79d30ade Update tests 2020-06-23 01:08:08 +03:00
Alexey Milovidov
112f6153a7 Fix strange code 2020-06-23 01:06:25 +03:00
Alexey Milovidov
0c063d29c0 Added a test 2020-06-23 00:54:02 +03:00
Alexey Milovidov
d5d3251d3f Stop tests on fatal errors 2020-06-22 22:32:33 +03:00
Alexander Kuzmenkov
e76941b52c
Merge pull request #11669 from azat/distributed_replica_error_ignore
Add number of errors to ignore while choosing replicas
2020-06-22 22:06:04 +03:00
Alexey Milovidov
d46932b3f4 Fix flaky test "no password in command line" 2020-06-22 21:24:17 +03:00
alexey-milovidov
3e71b6ae07
Merge pull request #11845 from ClickHouse/loose-odbc-connection-string-validation
Slightly relax the validation of ODBC connection string
2020-06-22 21:19:30 +03:00
alexey-milovidov
ac89571d71
Merge pull request #11858 from ClickHouse/unsigned_type_modifier
Addition to #11214
2020-06-22 20:53:48 +03:00
Azat Khuzhin
267a6c8639 Fix 01091_num_threads flaps (by adding unique identifier to the queries)
Actually there were two issues:
- missing \n, so it picked the wrong query anway
- no unique identifier, hence it may works incorrectly (and actually,
  event clickhouse-test script executes 'SELECT 1' query)
2020-06-22 20:41:49 +03:00
Artem Zuikov
1daabb2925 minor test fix 2020-06-22 19:56:35 +03:00
Artem Zuikov
171753e7eb minor test fix 2020-06-22 19:54:12 +03:00
alexey-milovidov
1c9ff5bd58
Merge pull request #11859 from exprmntr/patch-1
Skip some tests in Arcadia CI
2020-06-22 19:51:08 +03:00
alesapin
bd61b55a3f Merge branch 'master' into atomic_metadata5 2020-06-22 19:28:04 +03:00
Nikolai Kochetov
de06fd0051 Update tests. 2020-06-22 19:24:43 +03:00
zhang2014
29451cc8f2 try fix test failure 2020-06-23 00:23:26 +08:00
alesapin
ef89a6f728
Merge pull request #11786 from ClickHouse/fix_alter_with_materialized
Fix alter key when materialized column passed
2020-06-22 19:06:25 +03:00
Anton Popov
2f95daf4ed more optimal aggregate functions with both 'if' and 'distinct' combinators 2020-06-22 17:57:30 +03:00
Alexander Kuzmenkov
a257ce63a8 Support sumWithOverflow as SimpleAggregateFunction 2020-06-22 17:32:52 +03:00
alesapin
1fefb86f7b Merge branch 'master' into atomic_metadata5 2020-06-22 17:00:33 +03:00
alesapin
350c18e96f Better 00980_alter_settings test 2020-06-22 16:38:37 +03:00
Anton Popov
3f0f0ff5ad add perf test for distinct combinator 2020-06-22 16:31:37 +03:00
alesapin
b4d89bd124 Fix comment 2020-06-22 16:31:16 +03:00
zhang2014
b820cfb3b6 fix read extra bytes when with separator 2020-06-22 21:30:55 +08:00
alesapin
afcf63ad89 Add alias for postgesql container 2020-06-22 16:29:35 +03:00
alesapin
588568f39c Disable MySQL tests under tsan 2020-06-22 16:10:25 +03:00
Alexander Kuzmenkov
bd5ab9c686 Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads 2020-06-22 15:55:39 +03:00
Alexey Milovidov
d3deed991e Fix bad test for LIVE VIEW 2020-06-22 15:49:38 +03:00
Alexey Milovidov
b50b4b14de Merge branch 'master' into send-logs-on-fatal-errors 2020-06-22 15:48:46 +03:00
exprmntr
1f2bb90548
Update arcadia_skip_list.txt 2020-06-22 15:48:17 +03:00
Alexander Kuzmenkov
ffc5b21bad Merge remote-tracking branch 'origin/master' into HEAD 2020-06-22 15:28:03 +03:00
exprmntr
95cb00e246
Skip some tests in Arcadia CI 2020-06-22 15:22:28 +03:00