Commit Graph

677 Commits

Author SHA1 Message Date
Alexey Milovidov
bdea16e308 Merging S3: Moved S3 settings to <s3> in config to correspond to <merge_tree> and <kafka> 2019-09-23 01:44:10 +03:00
alexey-milovidov
2054f80623
Merge pull request #5596 from excitoon-favorites/table_function_s3
s3 table function and storage
2019-09-23 00:53:06 +03:00
Vladimir Chebotarev
4608da1344 Minor tests improvement. 2019-09-22 11:03:02 +00:00
Vladimir Chebotarev
64d49e4565 Minor review fixes. 2019-09-22 10:42:47 +00:00
Alexey Milovidov
42b739550b Renamed "storage_policy_name" to "storage_policy" 2019-09-20 23:35:50 +03:00
stavrolia
7309e813bc cleanup hdfs docs 2019-09-20 14:26:00 +03:00
Vladimir Chebotarev
bd1ce56797 Tests decomposition. 2019-09-19 09:34:33 +00:00
CurtizJ
651f5b0e9f merging with master 2019-09-18 13:21:10 +03:00
CurtizJ
79a08ef8ea Merge remote-tracking branch 'upstream/master' into merging_redis 2019-09-18 12:58:22 +03:00
CurtizJ
4df1f1bb9a better integration test for redis dictionary (but still bad) 2019-09-17 16:35:19 +03:00
Vladimir Chebotarev
d53872c300 Tests improvement. 2019-09-14 07:44:46 +00:00
Vladimir Chebotarev
4406ad1061 Tests fix. 2019-09-13 13:53:17 +00:00
Vladimir Chebotarev
2cddcebc31 Moved server to clickhouse instance in test. 2019-09-13 13:17:58 +00:00
alesapin
02cff38fef Merge with master 2019-09-13 13:58:23 +03:00
Vladimir Chebotarev
b324261285 Minor test fix. 2019-09-13 10:18:09 +00:00
Vladimir Chebotarev
a54b43cd01 Better test, minor fix. 2019-09-13 13:04:21 +03:00
alexey-milovidov
b31c5d15b6
Merge pull request #6929 from vitlibar/better-http-server-in-test_dictionaries_all_layouts_and_sources
Better simulation of HTTP server for integration test
2019-09-13 08:55:38 +03:00
Vitaly Baranov
df372ba7b3 Better simulation of HTTP server used in the integration test test_dictionaries_all_layouts_and_sources 2019-09-12 23:11:25 +03:00
alesapin
b0fce77c3d Fix path to data on disk 2019-09-11 20:17:10 +03:00
Ivan Lezhankin
622ab139ee Add test 2019-09-11 16:13:09 +03:00
alesapin
0b8aec469f Make absolute path on disks start from /clickhouse/data, fix freeze and rename, add tests 2019-09-11 13:57:32 +03:00
alesapin
193049293a More comments, more readable code 2019-09-10 14:21:59 +03:00
alesapin
9f88baebb9 More constants, better tests 2019-09-09 16:50:19 +03:00
alesapin
2288d25972 Add parser test 2019-09-09 15:41:46 +03:00
alesapin
ef08d6f10b More tests 2019-09-09 15:28:28 +03:00
alesapin
27419c965e Merge with master 2019-09-09 14:13:36 +03:00
CurtizJ
3b3657ff1e Merge branch 'add-ext-dict-redis' of https://github.com/comunodi/ClickHouse into merging_redis 2019-09-09 13:51:50 +03:00
alesapin
cfd753a1f3 Add test and found bugs 2019-09-06 18:09:20 +03:00
alesapin
0c9a9dee1c Merge with master 2019-09-06 11:53:32 +03:00
Olga Khvostikova
4129d8cf60
Merge pull request #6092 from yandex/globs-in-file-one-more-attempt
Globs in storage file and HDFS
2019-09-05 23:05:37 +03:00
alesapin
ab518d7787 Split code to parts 2019-09-05 18:53:23 +03:00
stavrolia
587a780ba2 Better 2019-09-05 17:42:17 +03:00
alesapin
f576cbb8a4 Simplify code 2019-09-05 16:12:29 +03:00
alesapin
b71faee8cd Merge branch 'master' into ObjatieGroba-feature_multiple_disks 2019-09-05 13:19:05 +03:00
Ivan
ab7df6b6dd
Fix kafka tests (#6805)
* Commit offsets more precisely
* Get rid of DelimitedReadBuffer since read buffers don't line up well
* Increase timeouts
2019-09-05 00:25:33 +03:00
alesapin
c003f443f9 Refactor 2019-09-04 20:26:53 +03:00
Vladimir Chebotarev
81f49d97bd Minor fix. 2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
e9300ffbb5 Tests finally works! 2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
8c4eb13be6 Fixed unavailable test servers issue in test_storage_s3. 2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
3e4af7b844 Attempt to make integration tests. 2019-09-04 13:39:54 +00:00
alesapin
8b6abab486 Merge branch 'master' into ObjatieGroba-feature_multiple_disks 2019-09-04 15:41:27 +03:00
alesapin
94fe4e6521 better test 2019-09-03 20:16:01 +03:00
alesapin
e6e6c11ba3 Better test and NOTHING_TO_DO 2019-09-03 20:06:36 +03:00
alesapin
52442cf549 Add system stop moves query 2019-09-03 17:50:49 +03:00
alesapin
48004e9b7b Style fixes 2019-09-03 15:25:58 +03:00
alexey-milovidov
ab75e8c26d
Merge pull request #6205 from zhang2014/fix/some_mutation
fix some mutation bug
2019-09-03 14:33:20 +03:00
alesapin
8d76febe02 Add moves to part log 2019-09-03 14:32:25 +03:00
alesapin
a7606d063b Better test 2019-09-03 12:16:35 +03:00
alesapin
e7308c1f21 Merge branch 'master' into ObjatieGroba-feature_multiple_disks 2019-09-03 11:02:32 +03:00
Alexey Milovidov
1903053aa1 Fixed error in test 2019-09-02 22:58:48 +03:00
Alexey Milovidov
89e86e1d41 Slightly better config management in integration tests 2019-09-02 22:57:09 +03:00
Alexey Milovidov
5dbafdefdb Merge branch 'master' into time-zone-configuration 2019-09-02 22:15:52 +03:00
alexey-milovidov
5042780423
Merge pull request #6776 from vitlibar/split-test-dictionaries
Split the integration test `test_dictionaries` into 4 separate tests.
2019-09-02 22:07:46 +03:00
Alexey Milovidov
402599a38c Merge branch 'master' into time-zone-configuration 2019-09-02 18:13:54 +03:00
Vitaly Baranov
d64d75eb6d Split the integration test test_dictionaries into 4 separate tests. 2019-09-02 17:50:57 +03:00
alesapin
e7ee9b7a67 Merge master 2019-09-02 11:46:00 +03:00
Ivan
4d21f97d6a
Increase test timeout 2019-09-01 16:03:38 +03:00
alexey-milovidov
d90518dadf
Merge pull request #6755 from vitlibar/add-test-reload-after-fail-in-cache-dictionary
Add integration test for handling errors by a cache dictionary.
2019-08-31 13:44:40 +03:00
Vitaly Baranov
fbd616b6a4 Add integration test for handling errors by a cache dictionary. 2019-08-31 03:39:38 +03:00
Ivan
cd5c0fc9ac
Fix build issues (#6744)
* libcxxabi uses exception handling library as public
* Don't set -stdlib for internal libc++ - it poisons the checks.
* Enable capnproto in unbundled build back
2019-08-30 20:40:27 +03:00
Alexey Milovidov
ace08fa344 Merge branch 'master' into time-zone-configuration 2019-08-30 19:27:08 +03:00
Alexey Milovidov
4cb640717b Fixed test 2019-08-30 16:28:27 +03:00
Alexey Milovidov
da5e7f31c4 Updated README 2019-08-30 16:25:34 +03:00
Alexey Milovidov
48bf4abdf0 Fixed function name 2019-08-30 16:14:47 +03:00
Alexey Milovidov
3fdcc4ab30 Fixed typo in README.md 2019-08-30 16:14:20 +03:00
alesapin
d7e54d3c14 Merge branch 'master' of github.com:yandex/ClickHouse into ObjatieGroba-feature_multiple_disks 2019-08-30 12:53:24 +03:00
alesapin
1813b96f82 Finally build, possible trash. 2019-08-29 19:17:47 +03:00
Ivan
5851316742
Don't interrupt copyData() used inside Kafka materialized views (#6597)
* Print better offsets on commit
* Stop consumption on the read buffer level
* Don't use cancellation in the middle of copyData()
* Add test
* Disable squashing stream for Kafka materialized views
* Commit last read message, since rdkafka auto-modifies offset
2019-08-29 18:36:07 +03:00
zhang2014
74c9eea657 fix test failure 2019-08-29 11:34:00 +08:00
zhang2014
3c7405bdb0 move test to integration & refer max_expanded_ast_elements 2019-08-29 11:31:22 +08:00
alexey-milovidov
33311a9bf1
Merge branch 'master' into atomic_zookeeper2 2019-08-28 21:34:42 +03:00
Alexey Milovidov
509717dea7 Added integration test 2019-08-28 20:18:19 +03:00
stavrolia
f4e0dceddb some changes 2019-08-27 18:20:31 +03:00
alexey-milovidov
7012a421c6
Merge branch 'master' into alter_table_drop_detached_part 2019-08-23 05:22:07 +03:00
alexey-milovidov
3a237b4375
Merge pull request #6617 from yandex/fix_too_many_parts_while_mutation_6502
Fix too many parts while mutation
2019-08-23 04:27:43 +03:00
Alexander Tokmakov
81022bb3e9 Merge branch 'master' into alter_table_drop_detached_part 2019-08-22 23:38:58 +03:00
Alexander Tokmakov
9c05441932 better test 2019-08-22 22:54:42 +03:00
Alexander Tokmakov
5cb8605f61 limit number of mutations in the queue 2019-08-21 16:10:33 +03:00
alesapin
323d741038 More concurrent tests 2019-08-21 16:06:01 +03:00
alesapin
d2fe947535 Add test for race condition, found it and fix it 2019-08-21 15:32:48 +03:00
alesapin
eb5e052855 merge and fixes 2019-08-21 13:09:29 +03:00
alesapin
469d07ac0f One more 2019-08-20 22:06:03 +03:00
alesapin
e44ab4f4cd Add tests for partitions alter 2019-08-20 22:04:58 +03:00
alesapin
8417eb9d95 Remove old tests 2019-08-20 21:35:35 +03:00
alesapin
120e27a385 Lock parts with dirty hack 2019-08-20 21:00:48 +03:00
Ivan
a502424c33
Implement support for insertion into Kafka tables (#6012)
* Add write-callback on each row for RowOutputStream
* Fix build of new rdkafka library
* Poll messages if Kafka outgoing queue is full
* Add test
* Add test producer-consumer
* Truncate delimiter from last row in message
2019-08-20 14:17:57 +03:00
stavrolia
b3fd5bc141 Add tests, comments and fix 2019-08-19 21:12:50 +03:00
stavrolia
2bfd398107 fix test 2019-08-19 21:12:50 +03:00
stavrolia
2f2bf953eb fix and add test for storage file version 2019-08-19 21:12:50 +03:00
stavrolia
7addd50c16 recursive version for StorageHDFS and some tests for it 2019-08-19 21:12:50 +03:00
stavrolia
a3b35d5569 WIP 2019-08-19 21:12:50 +03:00
Alexander Tokmakov
be5df60c7a Merge branch 'master' into fix_inconsistent_parts_after_clone_replica 2019-08-19 17:34:22 +03:00
Alexander Tokmakov
6991683a5f remove local parts which source replica doesnt have 2019-08-19 15:08:45 +03:00
alesapin
6d29ed99d9 Fix bug with enable_mixed_granularity_parts and mutations 2019-08-19 13:37:04 +03:00
alesapin
a85cdc91a6 Merge branch 'master' into ObjatieGroba-feature_multiple_disks 2019-08-19 11:34:02 +03:00
alexey-milovidov
29cc99ad58
Merge pull request #6194 from yurriy/mysql
Compatibility with more MySQL clients.
2019-08-18 16:28:13 +03:00
Alexander Tokmakov
8bbcecf3b1 add test 2019-08-16 19:15:36 +03:00
alexey-milovidov
3a43512d2f
Merge pull request #6507 from yandex/fix-external-dictionaries-test-for-non-root
Fix test_external_dictionaries for non root user.
2019-08-16 01:40:53 +03:00
alesapin
f988ff538b Less code 2019-08-15 20:02:04 +03:00
Yuriy
c5b6d1f9bf merged origin/master 2019-08-15 19:48:10 +03:00
Ivan Lezhankin
c52a34fd15 Add test for multiple mat. views 2019-08-15 17:19:12 +03:00
Nikolai Kochetov
24e5b95b98 Fix test_external_dictionaries for non root user. 2019-08-15 17:00:36 +03:00
alesapin
d81961c4ca Fix strange code 2019-08-15 12:43:31 +03:00
alesapin
a2ca18d287 Fix test 2019-08-14 13:30:36 +03:00
alesapin
949890ee90 Merged 2019-08-14 12:46:30 +03:00
Nikita Mikhaylov
9650da43ec wMerge branch 'master' of github.com:yandex/ClickHouse into atomic_zookeeper2 2019-08-13 11:03:42 +03:00
alexey-milovidov
f992df8cc2
Merge pull request #6447 from yandex/fix_complex_key_cached_string_dict
Fix bug with memory allocation for string fields in complex key cache dictionary
2019-08-12 22:30:39 +03:00
alesapin
34b96c19de Better test 2019-08-12 17:06:17 +03:00
alesapin
98d38e041f Fix recreation of replicated table with fixed granularity 2019-08-12 16:30:29 +03:00
alesapin
2ca6c0b1bf Fix bug with memory allocation for string fields in complex key cache dictionary 2019-08-12 12:37:48 +03:00
Nikita Mikhaylov
e3579f215f comment to test 2019-08-09 15:58:46 +03:00
Nikita Mikhaylov
4c85e9f481 atomic drop table 2019-08-09 14:17:33 +03:00
Alexander Tokmakov
ae6efb23b4 Merge branch 'master' into alter_table_drop_detached_part 2019-08-08 22:31:31 +03:00
Alexander Tokmakov
b5eee531a9 fix setting name 2019-08-08 19:08:43 +03:00
Alexander Tokmakov
2f36d80705 move tests with sudo to integration tests 2019-08-08 19:03:31 +03:00
Ivan Lezhankin
e90bf74ce8 Merge branch 'master' into issue-5286 2019-08-08 12:57:00 +03:00
Ivan
1bf6e034e8
Fix infinite loop when reading Kafka messages (#6354)
* Do not pause/resume consumer at all
* Fix kafka tests
* Try to ensure the subscription
* Set timeout for kafka tests and return 'while True'
* Update cluster.py
* When doing a raw select from kafka, ignore client errors.
  They may rise due to 'Local: Timed out' while subscribing.
2019-08-07 19:10:14 +03:00
Ivan Lezhankin
0bc6847111 Update references 2019-08-07 12:54:29 +03:00
Ivan Lezhankin
b55da1888a Add "_timestamp" virtual column 2019-08-06 17:18:37 +03:00
Ivan Lezhankin
4bc2b32c3e Merge branch 'master' into issue-5286 2019-08-06 16:25:51 +03:00
alesapin
7c37450c3d Better code and tests 2019-08-01 20:43:10 +03:00
alesapin
5b4b875497 Fix bool settings parsing in config 2019-08-01 20:03:34 +03:00
Igr Mineev
0f1e8404dc Merge branch 'master' of github.com:yandex/ClickHouse into feature_multiple_disks 2019-08-01 13:42:59 +03:00
Igr Mineev
fc79ed86ef Ready for review 2019-08-01 13:29:14 +03:00
alesapin
e6052ec117 Fix bug in prewhere + distributed 2019-07-31 13:22:56 +03:00
Igr Mineev
7f7b47fc0a Add check of RW access to paths on start. Add multiple disks tests. 2019-07-30 19:15:57 +03:00
Igr Mineev
31c36efa25 Merge branch 'master' of github.com:yandex/ClickHouse into feature_multiple_disks 2019-07-30 19:13:58 +03:00
Yuriy
dd2e3ab7f7 removed wrong comment 2019-07-28 17:24:52 +03:00
Yuriy
b1d5f4ca20 disabled mysql_native_password when password is specified as a plain text as it allows to connect to ClickHouse knowing only SHA1 instead of a password 2019-07-28 17:17:33 +03:00
Yuriy
21ce5331d1 implemented mysql_native_password auth plugin for compatibility with mysqljs 2019-07-28 16:12:26 +03:00
Yuriy
383fa25c51 resolved conflict 2019-07-28 02:00:15 +03:00
alesapin
363fca3895 More integration fixes and disable kafka test test_kafka_settings_new_syntax 2019-07-26 17:37:37 +03:00
alesapin
fdac4f2962 More fixes in integration tests configs 2019-07-25 23:24:58 +03:00
alesapin
21ef261702 Fix some integration tests and make kafka tests endless 2019-07-25 23:11:26 +03:00
Igr Mineev
7a31feeec0 Add tests for multiple disks. Fix Alter query. 2019-07-25 21:21:01 +03:00
alesapin
c3f82f0b8c Fix indent and add init file 2019-07-25 16:41:39 +03:00
alexey-milovidov
56131a7fe7
Merge pull request #6080 from abyss7/issue-6071
Check background_task_handle before use
2019-07-25 04:16:47 +03:00
alexey-milovidov
6c782b91d5
Merge pull request #6113 from yurriy/mysqlnd-workaround
A workaround for PHP mysqlnd extension bugs
2019-07-25 04:12:00 +03:00
alexey-milovidov
d4f3bdb946
Merge pull request #6114 from vitlibar/add-test-for-reload-dictionary-after-fail-by-timer
Add test for reloading a dictionary after fail by timer.
2019-07-25 04:10:34 +03:00
Vitaly Baranov
96df26a4d2 Add test for reloading a dictionary after fail by timer. 2019-07-24 14:46:50 +03:00
Ivan Lezhankin
b14356ba11 Try to debug failing kafka test. 2019-07-24 12:53:51 +03:00
Dmitry Rubashkin
4bee54cd93 integration test added 2019-07-23 16:53:25 +03:00
Igr
3e017ec69c
Merge branch 'master' into feature_multiple_disks 2019-07-23 16:38:20 +03:00
Yuriy
a1152f99ae switching to sha256_password after handshake in order to use PHP client without SSL 2019-07-23 10:57:58 +03:00
Ivan Lezhankin
969cb2f826 Append _partition virtual column 2019-07-22 14:32:11 +03:00
alexey-milovidov
ea9b36e531
Merge pull request #6091 from yurriy/php-client-test
MySQL Native Driver test
2019-07-21 23:29:24 +03:00
Yuriy
28a0481f1a php mysql client test 2019-07-21 15:19:14 +03:00
Yuriy
475179cec7 added size limit for packets which are read without memory tracker (all packets except for COM_QUERY) 2019-07-19 20:55:07 +03:00
alexey-milovidov
ea28254711
Merge pull request #5964 from nikitamikhaylov/logs_bugfix
"send_logs_level" bugfix
2019-07-17 17:42:54 +03:00
Nikita Mikhaylov
56c9bf5acc pep8 2019-07-17 14:57:05 +03:00