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
Nikita Mikhaylov
e5360413a6
integration test added
2019-07-17 14:55:18 +03:00
Vitaly Baranov
38c3889564
Add an integration test for the invalidate_query parameter.
2019-07-17 11:40:35 +03:00
alexey-milovidov
14dc9ad801
Merge pull request #6024 from yandex/check_table_old_behaviour
...
Add settings for check query backward compatibility
2019-07-16 15:19:55 +03:00
Igr Mineev
d6b1035301
Merge branch 'feature_multiple_disks' of https://github.com/filimonov/ClickHouse into filimonov-feature_multiple_disks
2019-07-16 14:23:33 +03:00
alesapin
0df345c2d9
Fix integration test
2019-07-16 13:49:16 +03:00
alesapin
25ed737798
Fix bug client version which is able to read additional progress fields from server
2019-07-15 21:05:49 +03:00
Mikhail Filimonov
bd83064828
integration draft no 2
2019-07-15 11:36:02 +02:00
alesapin
8faf0b0dc7
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-09 19:43:03 +03:00
alesapin
81ee9a3683
Log to stderr for external_dictionaries tests
2019-07-09 19:42:37 +03:00
alesapin
9a17a461ea
Review fixes and better tests
2019-07-09 12:02:52 +03:00
alesapin
6a3b543e10
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-09 11:21:44 +03:00
alexey-milovidov
2469ec1af3
Merge pull request #5857 from CurtizJ/dns-cache
...
Implement dns cache with asynchronous update.
2019-07-05 15:56:26 +03:00
alesapin
9d767ae935
Add test for client-server interaction with different versions
2019-07-04 13:59:42 +03:00
alesapin
efc1136ffb
Add for interaction between old and new versions of clickhouse
2019-07-04 13:38:04 +03:00
alesapin
65437d2289
Fix final mark and tests
2019-07-04 13:21:14 +03:00
alesapin
a0496da05f
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-04 12:46:54 +03:00
CurtizJ
8eda3b5de4
fix deadlock in getHostName
2019-07-04 02:05:59 +03:00
alesapin
477a7450fb
Add test for data corruption
2019-07-03 23:51:13 +03:00
CurtizJ
80e96995ae
Merge branch 'master' of https://github.com/yandex/ClickHouse into dns-cache
2019-07-03 21:27:43 +03:00
CurtizJ
56ca9908f2
add tests for dns cache update
2019-07-03 19:37:37 +03:00
alexey-milovidov
50c22ef71a
Merge pull request #5628 from yandex/index_granularity_by_default
...
Enable adaptive index granularity by default
2019-07-03 02:15:33 +03:00
alexey-milovidov
c43dfce041
Merge pull request #5382 from abyss7/issue-5286
...
Add virtual columns to Kafka Engine tables
2019-07-01 21:30:09 +03:00
Ivan Lezhankin
fa5431a524
Don't re-new docker volumes in all tests
2019-07-01 16:49:00 +03:00
alexey-milovidov
fe542e26f8
Merge pull request #5685 from CurtizJ/upstream/systemlog-flushing
...
Fix race condition in flushing system log in another way.
2019-06-29 15:46:22 +03:00
Vladimir Chebotarev
1ed6a6a1ce
Improved integration tests guide.
2019-06-29 14:34:26 +03:00
Ivan Lezhankin
1a7cb519fe
Final test fix
2019-06-28 23:09:15 +03:00
proller
aeb7eb42d1
clickhouse-copier: Fix use-after free on shutdown ( #5752 )
...
* release script: convert .deb to .rpm and .tgz
* clickhouse-copier: Fix use-after free on shutdown
* Revert "Disable cluster copier tests"
This reverts commit 71872fc3c3
.
2019-06-27 15:29:49 +03:00
alesapin
b7f173ad2c
Execute some distributed DDL queries on leader
2019-06-26 17:52:20 +03:00
alesapin
71872fc3c3
Disable cluster copier tests
2019-06-25 22:26:26 +03:00
alesapin
d3a5759c73
Disable tests and add global timeout
2019-06-25 16:20:04 +03:00
Ivan Lezhankin
0917573493
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-24 14:42:58 +03:00
Ivan Lezhankin
088401b35f
Add helpful option to docker-compose invocation
2019-06-24 13:53:06 +03:00
Ivan Lezhankin
d6d10120c8
Refactor tests
2019-06-23 17:48:58 +03:00
Ivan Lezhankin
f34e4b53ce
Fix tests again
2019-06-21 21:34:24 +03:00
Ivan Lezhankin
892a82e5ff
Add test on virtual columns and materialized view
2019-06-21 20:43:39 +03:00
Ivan Lezhankin
b989d45818
Fix tests
2019-06-21 20:02:48 +03:00
alesapin
798d18fd47
Better waits in integration test
2019-06-21 11:03:13 +03:00
zhang2014
1786407621
ISSUES-5697 fix insert and select query with mysql style identifier
2019-06-21 13:51:27 +08:00
alexey-milovidov
606b074a4b
Merge pull request #5659 from yandex/ignore-mutation-limits
...
Ignore query execution limits and limits for max parts size for merge while executing mutations.
2019-06-21 02:14:41 +03:00
alesapin
80f27968ac
Add test for interaction of tables with different granularity and different versions
2019-06-20 19:25:32 +03:00
CurtizJ
bb95d9a860
fix race condition in flushing system log
2019-06-19 15:28:34 +03:00
Ivan Lezhankin
9fd048cdbd
Allow to select virtual columns in materialized view
2019-06-18 19:32:37 +03:00
Ivan Lezhankin
436052c67b
Merge branch 'master' into issue-5286
2019-06-18 16:03:29 +03:00
Mikhail Filimonov
886cf03954
commiting some notes
2019-06-18 09:20:14 +02:00
CurtizJ
e6dd92f9e1
ignore max part size for merge setting while executing mutations
2019-06-17 22:41:48 +03:00
alesapin
fd3abbe93d
Merge pull request #4935 from zhang2014/feature/support_system_replicas
...
Support system replicas queries for distributed
2019-06-17 15:30:30 +03:00
alesapin
e45d727e9d
Merge pull request #4558 from podshumok/distributred-timeout
...
Distributed and remote timeouts
2019-06-17 13:58:17 +03:00
alesapin
2b242f2a64
Update test.py
2019-06-17 11:25:06 +03:00
Yuriy
2e29ea7b2e
support of sessions and default_database in MySQL wire protocol
2019-06-16 18:12:37 +03:00
alexey-milovidov
829bcabcef
Merge pull request #5644 from yurriy/mysql
...
Made MySQL wire protocol tests independent from each other
2019-06-16 12:09:32 +03:00
Yuriy
369a8fbe92
made mysql tests independent from each other
2019-06-16 10:55:14 +03:00
alexey-milovidov
39c6fbc324
Merge pull request #5567 from vitlibar/really-lazy-dictionary-load
...
Non-blocking loading of external dictionaries
2019-06-15 22:15:53 +03:00
alexey-milovidov
807bfa913e
Merge pull request #5599 from zhang2014/fix_createtable_bug
...
Add database engine of MySQL type
2019-06-15 14:52:57 +03:00
Vitaly Baranov
ddecf09a99
Add more integration tests for external dictionaries
2019-06-14 22:21:37 +03:00
zhang2014
6ccef4d802
Add database engine of MySQL type
...
Co-authored-by: zhang2014 <coswde@gmail.com>
Co-authored-by: TCeason <tai_chong@foxmail.com>
2019-06-13 11:58:58 +08:00
Vitaly Baranov
fd5fbcab25
Fix grammatical error in client.py
2019-06-10 18:11:51 +03:00
Ivan Lezhankin
97558c1b41
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-10 14:15:14 +03:00
alesapin
a0e7d183f7
Merge pull request #5534 from yandex/debug_dns_cache
...
Fix bug in pooled sessions and host ip change
2019-06-05 22:37:17 +03:00
alesapin
07ee60b546
Fix bug with pooled HTTP sessions and host ip change
2019-06-05 12:23:41 +03:00
alesapin
aa39e5a745
Add case for host ip change
2019-06-04 23:59:31 +03:00
proller
64924f5ef3
Docker: add comments with current tags
2019-06-04 16:01:16 +03:00
alesapin
dfe214b37c
Fix inconsistent parts remove from local FS without dropping them from ZK
2019-06-03 17:58:19 +03:00
Ivan Lezhankin
b311984879
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-03 17:19:09 +03:00
Konstantin Podshumok
6dbf2870ec
distributed timeouts integration test
2019-06-02 20:54:44 +03:00
comunodi
aed927b6df
Remove unused param
2019-06-02 04:37:35 +03:00
comunodi
12af7869cc
Add tests for complex dict with two keys
2019-06-02 04:30:06 +03:00
comunodi
2f74c0db70
Delete useless import
2019-05-30 23:40:29 +03:00
comunodi
4947a0cfa9
Disable redundant tests
2019-05-30 23:24:23 +03:00
comunodi
61a9e6c448
Fix test for hashed dict
2019-05-30 22:44:40 +03:00
alesapin
252c27434a
Fix zookeeper image version
2019-05-30 00:47:57 +03:00
zhang2014
80788cd7a8
Rename system sync distributed to system flush distributed
2019-05-29 10:43:52 +08:00
zhang2014
1a33840964
fix review
2019-05-29 10:43:52 +08:00
zhang2014
c44f608868
support replicas system queries for distributed
2019-05-29 10:43:52 +08:00
comunodi
559628575a
Merge branch 'master' into add-ext-dict-redis
...
# Conflicts:
# dbms/tests/integration/image/Dockerfile
2019-05-28 23:20:41 +03:00
comunodi
67059d8ed1
Add tests only for kv storages
2019-05-28 23:17:30 +03:00
Loud_Scream
05bb22cab6
Change docker file for integration test ( #5449 )
...
* Change docker file for integration test
* Delete useless libraries
* need ssl
2019-05-28 21:53:22 +03:00
comunodi
5ea9bb228c
Merge branch 'master' into add-ext-dict-redis
2019-05-26 15:49:35 +03:00
Alexey Milovidov
b94f2be154
Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into yurriy-mysql
2019-05-25 17:14:57 +03:00
Ivan Lezhankin
1985caed8d
Add test on virtual columns
2019-05-23 17:32:06 +03:00
Mikhail Filimonov
8831d75858
integration tests adjustments for multiple disks
2019-05-22 18:40:30 +02:00
Mikhail Filimonov
4b6252aac9
more dockerfile fixes
2019-05-22 18:23:36 +02:00
Mikhail Filimonov
0ea0dc56a5
Fixing "the input device is not a TTY" for test runner
2019-05-22 18:23:27 +02:00
Mikhail Filimonov
828cf831b0
Sereval improvements in integration tests runner
2019-05-22 18:22:36 +02:00
alesapin
36cf6fa8f9
Merge pull request #5360 from filimonov/integration_tests_runner_improvements
...
more fixes for integration tests dockerfiles
2019-05-22 11:58:02 +03:00
Oleg Favstov
fe74521710
Use pytest's raises instead of try/except clause
2019-05-21 11:30:39 +03:00
alesapin
09ad1732b3
Update test.py
2019-05-21 11:15:47 +03:00
Mikhail Filimonov
8a1d773ced
more dockerfile fixes
2019-05-21 08:17:46 +02:00
Oleg Favstov
896e995fe8
Fix test that doesn't assert anything
2019-05-20 23:59:07 +03:00
Mikhail Filimonov
8fe7633b62
Fixing "the input device is not a TTY" for test runner
2019-05-20 11:48:36 +02:00
Mikhail Filimonov
464cff4665
Sereval improvements in integration tests runner
2019-05-20 10:11:53 +02:00
Yuriy
a51c293ec6
merged 'origin/master' into mysql
2019-05-16 14:19:05 +03:00
Yuriy
ff4937859e
added MySQL wire protocol presentational format
2019-05-16 06:34:04 +03:00
Yuriy
d21cf9d85f
ssl support
2019-04-29 09:05:30 +03:00
Vitaly Baranov
7e3c8d6022
Implement new constraints: "min" and "readonly".
2019-04-27 01:09:16 +03:00
Vitaly Baranov
d2bfac7949
Add a test for the 'max' constraint
2019-04-26 19:11:05 +03:00
Yuriy
a4bf3621e3
merged with master
2019-04-23 21:58:29 +03:00
alexey-milovidov
b1cf026b5b
Merge pull request #5080 from abyss7/issue-4736
...
Do not drop Kafka Consumer buffers after deletion of stream
2019-04-22 19:18:33 +03:00
Ivan Lezhankin
d479836362
Add test on lost messages
2019-04-22 14:53:42 +03:00
Yuriy
9fff48e01f
removed accidentally committed debug lines
2019-04-22 14:05:47 +03:00
Yuriy
e4766a4ef9
caching_sha2_password authentication plugin
2019-04-22 13:57:50 +03:00
comunodi
f5806e4fb2
Disable unsupported sources in tests
2019-04-17 14:35:02 +03:00
comunodi
1265646dbf
Cast types to expected in tests
2019-04-17 13:11:38 +03:00
Ivan Lezhankin
dffe0eba40
Merge branch 'master' into fix-kafka-again
2019-04-16 14:00:48 +03:00
Vitaly Baranov
db56576511
Add test checking CH can handle dictionary dependency
2019-04-15 20:40:45 +03:00
alesapin
8cd18c0723
Merge pull request #4991 from yandex/fix_ddl_on_relicated_table
...
Do not send queries received from DDLWorker to leader replica
2019-04-15 13:07:55 +03:00
Anton Popov
7f93f9ad2f
TTL for columns and tables ( #4212 )
...
Add TTL for columns and tables.
2019-04-15 12:30:45 +03:00
comunodi
9778f7c2f3
More logs
2019-04-15 04:34:10 +03:00
comunodi
562f48ea96
Optional select db before usage. Use only one column in tests
2019-04-14 20:05:50 +03:00
alesapin
f47e3292e1
Do not send queries to leader replica received from DDLWorker
2019-04-12 14:06:05 +03:00
proller
c78176603c
clickhouse-test - prepare for use other than 'test' database ( #4961 )
2019-04-11 20:20:36 +03:00
Yuriy
e6f9616abb
more stable golang client test
2019-04-08 11:49:21 +03:00
Yuriy
5b6754a2be
gofmt
2019-04-07 13:32:52 +03:00
Yuriy
b792568bdc
added golang mysql client test
2019-04-07 13:29:30 +03:00
comunodi
dd121eff06
Merge branch 'master' into add-ext-dict-redis
...
# Conflicts:
# dbms/tests/integration/image/Dockerfile
2019-04-06 18:48:45 +03:00
alesapin
31daaa2095
Add redis to runner image
2019-04-06 18:43:16 +03:00
proller
236f2a4354
clickhouse-copier - fix another segfault ( #4900 )
2019-04-04 12:22:54 +03:00
Ivan Lezhankin
a4dfa0d58d
Fix new test
2019-04-03 20:46:54 +03:00
Yuriy
0f3ec94ebd
added mysql protocol test
2019-04-03 01:45:06 +03:00
Ivan Lezhankin
a03f3d9f41
Use python bindings in Kafka tests.
2019-04-02 20:34:04 +03:00
proller
edaec2353c
CLICKHOUSE-4421 Fix segfault in copier ( #4835 )
...
* Fix segfault in copier
* add test
* better runner
2019-04-01 17:58:04 +03:00
alexey-milovidov
e3cee18b62
Merge pull request #4864 from vitlibar/test-format-schema-on-server
...
Add test checking using format schema via HTTP interface.
2019-04-01 11:01:08 +03:00
comunodi
411fcb19db
Missed python package
2019-03-31 02:07:40 +03:00
Vitaly Baranov
48a590551b
Add test checking using format schema via HTTP interface.
2019-03-30 21:42:01 +03:00
Vitaly Baranov
37b904b8f5
Merge pull request #4808 from vitlibar/kafka-with-protobuf-format
...
Kafka with protobuf format
2019-03-30 19:00:57 +03:00
alesapin
09a130372e
Missed yml file
2019-03-30 16:54:00 +03:00
FawnD2
dfed1579ac
Merge branch 'master' into add-ext-dict-redis
...
# Conflicts:
# ci/jobs/quick-build/run.sh
2019-03-30 16:42:42 +03:00
alesapin
162b26fe07
Add integration test for redis
2019-03-30 16:40:07 +03:00
Vitaly Baranov
ba58fbbbec
Add a kafka test using protobuf format.
2019-03-29 22:36:19 +03:00
alesapin
2764401d0f
Fix exception 'No message received'
2019-03-29 21:10:03 +03:00
alexey-milovidov
b1279c1323
Merge pull request #4743 from azat-archive/clickhouse-client-tty
...
clickhouse-client: fix --help without tty
2019-03-23 05:54:05 +03:00
Azat Khuzhin
6d8706e692
clickhouse-client: fix --help without tty
...
stdin_is_not_tty is detected too late when the --help message is
printed, so fix this and do not call ioctl if stdin is not tty.
Before this patch:
$ clickhouse-client --help < /dev/null
debug build:
$ dbms/programs/clickhouse-client --help < /dev/null
Main options:
--help
clickhouse-client: ../contrib/boost/libs/program_options/src/options_description.cpp:542:
void boost::program_options::{anonymous}::format_description(std::ostream&, const string&, unsigned int, unsigned int): Assertion `line_length > first_column_width' failed.
Aborted (core dumped)
release build:
$ dbms/programs/clickhouse-client --help < /dev/null
.... print lots of empty lines and so forth ...
v2: add a test and bsdutils into image for tests
v3: adjust minimal cols to the length of one of the longest arguments,
since with line_length=3 boost will bail anyway (under script(1)
ioctl(TIOCGWINSZ) returnes ws_col=0)
2019-03-23 02:01:32 +03:00
proller
9f1c89729a
Debian: Asking password for default user on package install ( #4725 )
2019-03-20 22:57:50 +03:00
Alexey Milovidov
2f7ce49a9c
Merge branch 'master' of github.com:yandex/ClickHouse
2019-03-20 00:35:26 +03:00
Alexey Milovidov
b09b41e330
Fixed strange formatting
2019-03-20 00:35:18 +03:00
proller
7e113f2287
Fix doc in tests/integration
2019-03-18 20:33:13 +03:00
alesapin
9121822e3f
Make restart_clickhouse common methond
2019-03-14 16:39:47 +03:00
alesapin
4f43893a35
Add ability to start table without metadata in zookeeper
2019-03-14 14:49:44 +03:00
Mikhail f. Shiryaev
90466728c6
Add tests for system.graphite_retentions
2019-03-07 13:47:02 +01:00
alexey-milovidov
1df9c1720e
Merge pull request #4426 from Felixoid/graphite-rollup
...
Graphite rollup: combined rules
2019-03-06 03:10:45 +03:00
Mikhail f. Shiryaev
4cfe93a4d0
Add necessary integration tests
2019-02-27 13:59:12 +01:00
Mikhail f. Shiryaev
a1ed5d8eae
Apply pep8 to test_graphite_merge_tree
2019-02-27 13:59:12 +01:00
alesapin
7ffd74ca74
Fix UB in IsIn function of cache dictionary and typo in integration test.
2019-02-26 17:52:55 +03:00
alesapin
350d5a78dd
Better config
2019-02-25 13:47:29 +03:00
alesapin
9d91dbb7c5
Finally add mongo source
2019-02-25 13:45:22 +03:00
alesapin
3515d9bb8c
Better intendation
2019-02-24 20:57:03 +03:00
alesapin
40cbe4c253
Add hierarchical tests
2019-02-24 20:45:10 +03:00
alesapin
da33310f1b
Add multiple rows to test, fix bug
2019-02-24 13:58:52 +03:00
alesapin
22a54bbd77
Add python into integration tests image
2019-02-24 13:28:47 +03:00
alesapin
e22a6cd6ec
Remove mongo
2019-02-22 16:43:31 +03:00
alesapin
5a73a98619
Remove pymongo
2019-02-22 15:13:55 +03:00
alesapin
2bb54b0b38
Add http tests and different queries
2019-02-22 13:55:12 +03:00
alesapin
0d2e562b02
tryin to add http server
2019-02-21 20:34:19 +03:00
alesapin
7c0af3c914
Adding http
2019-02-21 20:02:33 +03:00
alesapin
70fdbca747
More tests
2019-02-21 19:43:21 +03:00
alesapin
010a7e00ee
Add mysql dictionaries tests
2019-02-21 15:04:08 +03:00
Ivan Lezhankin
15ad409875
Tests are now passing locally
2019-02-11 14:54:30 +03:00
Ivan Lezhankin
2bd14117f4
Merge remote-tracking branch 'upstream/master' into issue-2675
2019-02-11 13:57:40 +03:00
Alexey Milovidov
06a105838b
Removed experimental setting from integration tests
2019-02-10 17:17:21 +03:00
Ivan Lezhankin
c67ec3ddde
Fix running integration tests locally on Fedora (with selinux)
...
Finally!
2019-02-08 17:20:25 +03:00
Ivan Lezhankin
c9bc09ab7f
Rewrite tests one more time
2019-02-07 19:40:16 +03:00
Ivan Lezhankin
018df69d3d
Merge remote-tracking branch 'upstream/master' into issue-2675
2019-02-07 15:45:21 +03:00
alesapin
edf0344d0e
Increase timeout
2019-02-05 13:15:14 +03:00
Ivan Lezhankin
c5eff12015
Another attempt to fix test
2019-01-31 14:19:06 +03:00
alexey-milovidov
1fa8553cc6
Merge pull request #4170 from yandex/split-odbc-bridge
...
Build odbc-bridge as a separate binary. Do not export symbols from it.
2019-01-31 02:22:28 +03:00
alesapin
3ca9c06f79
Remove -rdynamic from odbc-bridge linkage and fix mysql test. Also log config
2019-01-30 21:48:20 +03:00
alesapin
6496bd423f
Add curl to docker image
2019-01-30 12:43:00 +03:00
alesapin
3d53b5f8c6
Add bridge binary to runner script
2019-01-30 11:24:16 +03:00
alesapin
4f97c291e6
Always run clickhouse-odbc-bridge; Integration tests now able to run odbc-bridge from separate binary; add symlink to clickhouse-odbc-bridge in dbms/programs folder;
2019-01-29 20:17:31 +03:00
alesapin
cb0e77dce6
Fix non initialized codec and wrong size in CacheCompressedReadBuffer
2019-01-29 17:55:57 +03:00
Ivan Lezhankin
20b94a635c
Select the materialized view only once
2019-01-24 14:58:25 +03:00
Ivan Lezhankin
c50583126e
Fix tests
2019-01-24 14:58:25 +03:00
Ivan Lezhankin
425d483cfb
Add integration tests
2019-01-24 14:58:25 +03:00
alesapin
21f1c4d1ce
Better code and tests for bad cases
2019-01-19 23:17:19 +03:00
alesapin
07e11577d3
Add write logic and remove strange multifile read logic
2019-01-17 17:10:30 +03:00
alesapin
f00b7ba08a
Simplify test
2019-01-09 15:23:41 +03:00
alesapin
b8efafd400
Fix bug with wrong user restrictions in remote table func
2019-01-09 15:21:04 +03:00
alesapin
a1cdb0049d
Add test for user exception check
2019-01-09 13:47:22 +03:00
alesapin
43da59d0fc
Improve test
2018-12-28 20:11:52 +03:00
alesapin
ab32a06c85
Fix code remove redundat files
2018-12-28 19:28:24 +03:00
alesapin
8bc00f4632
CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node
2018-12-28 19:21:32 +03:00
alesapin
f42f511e89
Merge pr
2018-12-28 19:21:07 +03:00
alexey-milovidov
d16447c3f4
Merge pull request #3899 from yandex/custom_compression_codecs
...
Custom compression codecs
2018-12-28 08:29:09 +03:00
alesapin
c3c053e7b6
Add cap SYS_PTRACE for LeakSanitizer
2018-12-27 22:42:25 +03:00
alesapin
3d0c26f573
Fix ipv4 mask restrictions for users and add integration tests
2018-12-27 18:55:51 +03:00
alesapin
f7e06cf9ac
Remove random changes
2018-12-24 19:03:22 +03:00
alesapin
36fb2d16cd
Add test with non default config
2018-12-24 18:50:02 +03:00
Sergey V. Galtsev
fb5dbb7959
Do not require the server to fail to start in the test.
2018-12-20 01:50:05 +03:00
Sergey V. Galtsev
a2042d60bf
Resolve conflict with upstream.
2018-12-20 00:16:44 +03:00
Sergey V. Galtsev
81eeaec7fe
Cleanup test.
2018-12-20 00:12:06 +03:00
Sergey V. Galtsev
acb8cf1849
Fix test.
2018-12-19 23:29:52 +03:00
alesapin
bb1760c468
Remove idiotic if
2018-12-17 23:11:19 +03:00
alesapin
0612910277
Remove redundant container
2018-12-10 19:07:31 +03:00
alesapin
0901694b15
Update integration tests image
2018-12-10 12:40:57 +03:00
Sergey V. Galtsev
52d18ee7c6
Merge branch 'master' of https://github.com/yandex/clickhouse into match-process-euid-against-data-owner
2018-12-09 22:46:24 +03:00
Sergey V. Galtsev
51b6dd67b0
Match the process' effective user id against the data owner at the server startup.
2018-12-07 17:56:59 +03:00
alesapin
21f8a86635
Merge branch 'chenxing-xc-master'
2018-12-07 17:13:11 +03:00
alesapin
dbefb66691
Add kill docker by Ctrl+C, abs path and improve readme
2018-12-07 17:08:25 +03:00
alesapin
80b49e4c0a
Add integration test, put dependent libs to contrib, slightly refine
...
code.
2018-12-07 14:41:24 +03:00
alexey-milovidov
68b5f02b10
Merge pull request #3683 from nicelulu/update_23
...
Compatible with LowCardinality type data write
2018-12-07 07:17:07 +03:00
root
6da945b2a7
fix integration test_insert_into_distributed allow_experimental_low_cardinality_type
2018-12-04 15:11:39 +08:00
alesapin
170f90ffe7
Update README.md
2018-12-03 19:08:26 +03:00
root
02125f29c0
fix test_inserts_low_cardinality
2018-12-03 21:22:29 +08:00
root
8c9e9649fb
Add test and code comment.
2018-12-03 21:11:26 +08:00
alexey-milovidov
6f007f45a1
Merge pull request #3673 from yandex/fix-insert-distributed-sync
...
Fix insert_distributed_sync
2018-11-28 17:48:06 +03:00
Alexey Zatelepin
499ad5eb62
fix test (MATERIALIZED columns in both Distributed and local tables don't work) [#CLICKHOUSE-4161]
2018-11-27 15:42:11 +03:00
Alexey Zatelepin
f38a320909
fix insert batching test (the INSERT queries are rewritten differently now) [#CLICKHOUSE-4161]
2018-11-26 17:57:33 +03:00
Alexey Zatelepin
f09cb566b1
add tests [#CLICKHOUSE-4161]
2018-11-26 17:57:33 +03:00
alesapin
565100c716
Add option to disable host net
2018-11-26 13:23:03 +03:00
Alexey Milovidov
2bd5e2b1eb
https://stackoverflow.com/questions/44067609/getting-error-importmismatcherror-while-running-py-test
2018-11-23 20:56:50 +03:00
alexey-milovidov
221388c01d
Merge pull request #3650 from yandex/script_for_integration_tests_in_docker
...
Add script and image for running integration tests in docker
2018-11-23 20:40:06 +03:00
alesapin
3cfe5283e3
Fix readme and add net=host
2018-11-23 18:51:36 +03:00
alesapin
fc7007b78e
Add script and image for running integration tests in docker
2018-11-23 18:10:07 +03:00
alesapin
d31d30c8e1
Fix comments, naming, log about kill inability and better test
2018-11-23 11:08:35 +03:00
小路
8d7e327c16
Merge pull request #4 from nicelulu/update_22
...
Update 22
2018-11-23 15:38:40 +08:00
root
0ed4cdc24e
Add test
2018-11-23 15:33:19 +08:00
root
f18e278e57
Add test
2018-11-23 14:23:06 +08:00
root
35419cb6c1
Add test
2018-11-23 14:14:07 +08:00
alesapin
1e879850bb
Kill odbc-bridge with clickhouse-server
2018-11-22 18:59:00 +03:00
alesapin
ff5629263b
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-21 12:06:40 +03:00
alesapin
7d20d499a1
Switch integration tests to 18.10
2018-11-21 12:05:13 +03:00
alesapin
01e2137364
CLICKHOUSE-4112: Add keepalive for http connections
2018-11-20 16:15:44 +03:00
alesapin
d4ce674b93
Add http connection pool between replicas
2018-11-16 16:15:17 +03:00
Artem Zuikov
e9dc302cdc
Merge pull request #3465 from 4ertus2/bugs
...
hotfix for distributed DDLs over secure port [CLICKHOUSE-4089]
2018-11-06 21:39:10 +03:00
chertus
458e20c31f
fix tests/integration over ssl by alesapin@
2018-11-06 17:42:30 +03:00
Nikolai Kochetov
d7992b11d8
Fix block structure mismatch in MergingSorted stream.
2018-11-06 13:11:37 +03:00
alesapin
5367b1b8d0
Better answer
2018-11-02 19:10:08 +03:00
alesapin
ef985ce7ad
Test to reproduce problem
2018-11-02 18:54:36 +03:00
alesapin
32f6745ae8
Config file
2018-10-26 12:23:29 +03:00
alesapin
20b20d04f9
Include from env
2018-10-26 12:22:33 +03:00
chertus
480bee07db
hotfix for distributed DDLs over secure port [CLICKHOUSE-4089]
2018-10-25 14:35:19 +03:00
Nikolai Kochetov
75338fbfa9
Added test.
2018-10-23 20:48:58 +03:00
alesapin
c2ca99980f
More stable test
2018-10-16 13:27:21 +03:00
alesapin
e37a163c3b
CLICKHOUSE-4067: var usage
2018-10-16 12:14:54 +03:00
alesapin
051390cd7f
trying to debug
2018-10-15 23:56:01 +03:00
alesapin
f9a6116324
Add missed file
2018-10-15 21:38:52 +03:00
alesapin
c951ec7bad
CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receives bridge path from global config (as it was before). Quotation performed on table and schema independently. Add tests with postgres interaction. Update documentation
2018-10-15 17:49:23 +03:00
alesapin
e6c414c936
Remove abs path from testing framework
2018-10-14 12:51:16 +03:00
alexey-milovidov
b7766333ab
Merge pull request #3330 from CurtizJ/CLICKHOUSE-4005
...
Interpret empty null_value in external dictionaries as type default value [ClLICKHOUSE-4005]
2018-10-09 23:44:18 +03:00
alexey-milovidov
33b4a502d6
Update test.py
2018-10-09 23:43:52 +03:00
CurtizJ
de1e9caefb
add test
2018-10-09 22:00:09 +03:00
alesapin
32c6d0c699
Merge pull request #3182 from VadimPE/CLICKHOUSE-3947
...
CLICKHOUSE-3947 add LIKE and IN () for ODBC and MySQL
2018-10-09 20:12:32 +03:00
VadimPE
79b6b8476a
CLICKHOUSE-3947 add tests
2018-10-08 18:05:23 +03:00
alexey-milovidov
7c6b08c21c
Merge pull request #3251 from CurtizJ/table-db-macros
...
Support {database} and {table} macros in ReplicatedMergeTree [CLICKHOUSE-3897]
2018-10-01 21:45:52 +03:00
CurtizJ
ed77e40dfe
fix implicit macros
2018-10-01 12:01:50 +03:00
CurtizJ
d4de76346c
fix test
2018-09-29 16:12:53 +03:00
CurtizJ
99b4536b2a
add test
2018-09-28 22:07:29 +03:00
alexey-milovidov
c409c186b3
Merge pull request #3249 from CurtizJ/fix-thread-group
...
Add test for #3247
2018-09-28 19:48:13 +03:00
CurtizJ
a4fac09073
update test
2018-09-28 19:43:41 +03:00
CurtizJ
c2bec8b2c8
update test
2018-09-28 19:11:56 +03:00
CurtizJ
d0b2e58d61
add test
2018-09-28 19:05:58 +03:00
proller
ec11bef633
Build fixes ( #3181 )
2018-09-28 17:53:20 +03:00
alesapin
2aee8a5814
Fix odbc table function
2018-09-22 17:58:03 +03:00
proller
0047987333
CLICKHOUSE-3885: add partition_key alias ( #3166 )
...
* Allow run integration tests from ctest: cmake .. -DENABLE_TEST_INTEGRATION=1 && ninja && ctest -V -R integration
* CLICKHOUSE-3885: add partition_key alias
* fix
* Update ClusterCopier.cpp
* Better test
* fixing..
2018-09-21 13:46:58 +03:00
alesapin
ae718cf536
Fix integration test
2018-09-13 14:38:20 +03:00
alesapin
c088574dca
Add test for odbc dictionary
2018-09-13 13:12:11 +03:00
alesapin
e8438572ad
CLICKHOUSE-3894: Fixes in tests
2018-09-07 14:51:51 +03:00
alesapin
7f5b5ddb53
CLICKHOUSE-3894: Force recreate containers and increase timeouts
2018-09-06 16:03:42 +03:00
alesapin
7596a75143
CLICKHOUSE-3894: Remove redundant code
2018-09-03 18:29:25 +03:00
alesapin
3551c01612
CLICKHOUSE-3894: Save localhost record
2018-09-03 18:26:11 +03:00
alesapin
ee8a8d82af
CLICKHOUSE-3894: Remove retry and add sleep
2018-09-03 18:02:24 +03:00
alesapin
3719558bf7
CLICKHOUSE-3894: Some improvements in flapping tests. Bug fix of ATTACH TABLE xxx ON CLUSTER (previously doesn't work).
2018-09-03 17:06:00 +03:00
proller
81960a2690
CLICKHOUSE-3940 Fix crash on join
2018-08-30 18:44:30 +03:00
alexey-milovidov
ba3a20073c
Merge pull request #2988 from VadimPE/test_recovery_replica
...
add integration test for recovery replica
2018-08-30 14:20:10 +03:00
proller
0f16160cb7
stderr.log fixes
2018-08-29 22:52:04 +03:00
VadimPE
5c370143c4
CLICKHOUSE-3847 fix time for cleanupthread and sleep()
2018-08-29 17:13:20 +03:00
VadimPE
a90a9af818
CLICKHOUSE-3847 fix time for cleanup_delay_period
2018-08-29 17:03:39 +03:00
VadimPE
8c10c11804
CLICLKHOUSE-3847 add test
2018-08-29 16:47:48 +03:00
VadimPE
a569d88e6a
CLICKHOUSE-3847 add test
2018-08-29 13:04:41 +03:00
alesapin
1f0f1ecad3
CLICKHOUSE-3894: Fix Kafka test
2018-08-27 19:15:39 +03:00
alesapin
716c8016d7
CLICKHOUSE-3894: Print stack trace
2018-08-27 17:45:37 +03:00
alesapin
06d091580d
CLICKHOUSE-3894: Increase MySQL timeout and add logging
2018-08-27 17:43:59 +03:00
alesapin
570343fdb3
CLICKHOUSE-3894: Wait zookeeper before clickhouse start
2018-08-27 16:42:39 +03:00
alesapin
d5dd32f4fe
CLICKHOUSE-3894: Fix test_config_substs test
2018-08-27 14:40:01 +03:00
alesapin
ec594ad8e8
Remove strange parameter and add version from env to all calls
2018-08-24 14:19:06 +03:00
alesapin
5849f4b9cb
CLICKHOUSE-3894: Custom api version
2018-08-24 13:31:19 +03:00
alesapin
aae6967304
CLICKHOUSE-3894: Remove default from get
2018-08-23 18:38:25 +03:00
alesapin
762ffa1454
CLICKHOUSE-3894: Small impovements in integration tests framework
2018-08-23 18:31:20 +03:00
alesapin
a6ca534a37
CLICKHOUSE-3878: Remove empty lines
2018-08-22 19:16:12 +03:00
alesapin
8163fd2b21
CLICKHOUSE-3878: Slightly improve test
2018-08-22 19:14:51 +03:00
alesapin
4d919759bf
CLICKHOUSE-3878: Remove local path
2018-08-22 18:56:04 +03:00
alesapin
e2f18da1a9
CLICKHOUSE-3878: Add ODBC test
2018-08-22 18:42:27 +03:00
zhang2014
e51264c3a5
Add check access database for system tables
2018-08-14 11:28:32 +08:00
Alexey Milovidov
29e40f0087
Fixed potential error #2832
2018-08-10 04:31:55 +03:00
Anton Popov
c019d732c5
ClickHouse 3419 Add setting prefer_localhost_replica ( #2832 )
...
* add setting prefer_localhost_replica
* add prefer_localhost_replica setting
* fix bugs
* update setting comment
* Add test for prefer_localhost_replica
* fix bug
2018-08-10 04:27:54 +03:00
alesapin
134da31177
CLICKHOUSE-3880: Fix comment
2018-08-06 16:18:52 +03:00
alesapin
425918afe1
CLICKHOUSE-3880: Fix replace partition logic inside replicated merge tree
2018-08-06 15:59:51 +03:00
alesapin
b321963b35
CLICKHOUSE-3880: Test for REPLACE PARTITION with failover cases
2018-08-06 13:01:08 +03:00
Alexander Marshalov
154d7e3228
Added SETTINGS clause for Kafka storage engine
2018-08-03 21:51:28 +03:00
alesapin
2db2d208e1
CLICKHOUSE-3863: Add HTTPS support for interserver replication
2018-08-01 00:29:47 +03:00
alesapin
79607b9118
CLICKHOUSE-3852: Add tests for config parser
2018-07-29 04:58:05 +03:00
chertus
845edbe242
CLICKHOUSE-2: support negative tests
2018-07-27 20:41:05 +03:00
alesapin
a28cf1ed98
Remove wrong option
2018-07-27 20:25:51 +03:00
alexey-milovidov
1140a07b58
Merge pull request #2729 from amosbird/master
...
Use docker exec to operate on kafka.
2018-07-26 21:34:04 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
...
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
Amos Bird
54a08ed018
Use docker exec to operate on kafka.
2018-07-27 01:24:35 +08:00
Alexey Zatelepin
02946d2bc1
Revert "Set up dns server for kafka integration tests."
...
This reverts commit 1c75c19106
.
2018-07-26 18:52:50 +03:00
alesapin
6abbfbce87
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 18:10:57 +03:00
Alexey Milovidov
ec202a7fd0
Allow to start cluster with Kafka without pytest #2725
2018-07-26 17:40:33 +03:00
Amos Bird
1c75c19106
Set up dns server for kafka integration tests.
2018-07-26 12:53:48 +08:00
Amos Bird
c9a8759e08
Update README.md
...
kafka integration test uses this package https://github.com/dpkp/kafka-python
2018-07-26 00:34:40 +08:00
Alexey Milovidov
9079bdad4e
Updated README #2701
2018-07-25 19:27:38 +03:00
Alexey Milovidov
b4556cc598
~/work/ClickHouse/dbms/tests/integration$ find . -name '*.py' | xargs sed -i -r -e 's/macroses/macros/g' # [#CLICKHOUSE-2]
2018-07-25 19:00:51 +03:00
Amos Bird
0965f991b3
Add row_delimiter argument to StorageKafka.
...
There are common cases where a message doesn't end with a row delimiter.
This patch allows specifying a row_delimiter char to compensate that.
https://github.com/yandex/ClickHouse/issues/2298
2018-07-25 18:54:01 +03:00
Amos Bird
15cc1cf91b
Fix integration test.
...
without specifying errorlog, I got
```
E Logging trace to /var/log/clickhouse-server/clickhouse-server.log
E Logging errors to clickhouse-server.err.log
E Poco::Exception. Code: 1000, e.code() = 13, e.displayText() = Access to file denied: /clickhouse-server.err.log, e.what() = Access to file denied
```
2018-07-25 12:29:16 +03:00
zhang2014
7e87fa8e18
ISSUES-2688 support on cluster for kill & optimize query
2018-07-24 22:07:13 +03:00
Alexey Milovidov
52b284a67f
Updated README for integration tests [#CLICKHOUSE-2]
2018-07-16 07:22:16 +03:00
Alexey Milovidov
e3b3c9f81b
Added test for chroot in ZK [#MDBSUPPORT-204]
2018-07-10 19:14:27 +03:00
Alexey Zatelepin
88951cac62
clearer error message in test
2018-07-05 16:29:22 +03:00
Alexey Zatelepin
3cbced0d2a
add integration test for mutations of Replicated tables [#CLICKHOUSE-3747]
2018-06-29 16:46:28 +03:00
Alexey Zatelepin
7ce4ebf1e1
fix test (disable random component in CleanupThread sleep period)
2018-06-22 18:53:59 +03:00
proller
c1904d3c55
Build and test fixes ( #2470 )
2018-06-05 20:43:10 +03:00
Alexey Zatelepin
af06ca5d3c
Merge branch 'master' into replicated-mergetree-mutations
2018-06-01 16:21:14 +03:00
Alexey Zatelepin
8da32835d1
add needed file
2018-05-31 21:41:39 +03:00
Alexey Zatelepin
c9bb986330
Merge branch 'master' into replicated-mergetree-mutations
...
Conflicts:
dbms/src/Storages/MergeTree/AbandonableLockInZooKeeper.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-05-31 18:52:42 +03:00
Babacar Diassé
3d518e48b9
NULL check to allow insertion in distributed tables with Materialized views
2018-05-31 17:21:35 +03:00
Alexey Zatelepin
f6c72f8e56
Merge branch 'master' into replicated-mergetree-mutations
...
Conflicts:
dbms/src/Common/ActionBlocker.h
dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
dbms/src/Storages/MergeTree/ActiveDataPartSet.h
dbms/src/Storages/MergeTree/MergeTreeData.h
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
dbms/src/Storages/StorageMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.h
2018-05-28 18:37:30 +03:00
Alexey Zatelepin
2ab50c1f13
add test with inserts into Replicated tables from multiple threads [#CLICKHOUSE-3732]
2018-05-25 23:04:04 +03:00
proller
68ba523b23
Compile and doc fixes ( #2410 )
...
* Try fix travis
* fix
* Fix clickhouse-local shared-split link
* fix
* fix
* fix
* Build fixes
* Fix tinfo
* fix
* tinfo -> termcap
* termcap fix
* Better llvm version detect
* fix
* Debian postinst fix
Tests: use /usr/local if exists
* Compile and doc fixes
* fix
* fix
* fix
* macos fixes
* fix
* wip
* Update demangle.h
* Update demangle.cpp
2018-05-25 21:13:48 +03:00
Vitaliy Lyudvichenko
412c154045
Better configs for an integration test. [#CLICKHOUSE-2]
2018-05-15 21:25:54 +03:00
sundy-li
04c734d785
delete unused space
2018-05-15 03:02:59 +03:00
sundy-li
8a5990fc74
add integration test_storage_mysql
2018-05-15 03:02:59 +03:00
Vitaliy Lyudvichenko
e8b94b89e9
Removed dbg output, fixed test. [#CLICKHOUSE-2]
2018-05-14 17:14:58 +03:00
Vitaliy Lyudvichenko
d25338582d
Speedup partition check, add more preformance output. [#CLICKHOUSE-2]
...
Faster partition check.
Added more debug info.
2018-05-14 17:14:58 +03:00
Vitaliy Lyudvichenko
704583968f
Do not save resolved addresses in Connections. [#CLICKHOSUE-2]
...
Add disable_internal_dns_cache main config option.
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
8fd72a6777
Add automatic DROP DNS CACHE, update of SYSTEM queries. [#CLICKHOUSE-3645]
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
400ad55754
Support allow_databases in distributed DDL. [#CLICKHOUSE-3]
...
Resolves #2189
2018-04-17 22:33:58 +03:00
Alexey Milovidov
e845d34569
Miscellaneous [#CLICKHOUSE-2]
2018-03-16 04:15:50 +03:00
Vitaliy Lyudvichenko
1f1870abd4
Add more priority to local ClusterCopier workers. [#CLICKHOUSE-2]
2018-03-14 23:49:18 +03:00
alexey-milovidov
04cc8a52f7
Merge pull request #2032 from yandex/system-table-macro
...
System table macro
2018-03-14 02:10:30 +03:00
Nikolai Kochetov
8b802ad774
added test for SYSTEM RELOAD CONFIG and system.macros [#CLICKHOUSE-3591]
2018-03-13 14:47:32 +03:00
alexey-milovidov
56deedfe9f
Merge pull request #2027 from yandex/CLICKHOUSE-3346
...
Sync insert and сluster copier enhancements
2018-03-12 20:58:53 +03:00
Vitaliy Lyudvichenko
30b69c84ae
Fixed Illegal PREWHERE error for Merge tables over Distributed. [#CLICKHOUSE-3637]
2018-03-12 18:14:26 +03:00
Vitaliy Lyudvichenko
32b617e1d6
Fixed extra squashing leaded to too big timeouts. [#CLICKHOUSE-3346]
2018-03-11 21:36:09 +03:00
Alexey Zatelepin
ee91edaf70
fix test to conform to the new GROUP BY behaviour on empty tables
2018-03-07 18:09:26 +00:00
Vitaliy Lyudvichenko
17f39ab33f
Add deferred initialization of shards if enabled_partitions are specified. [#CLICKHOUSE-3346]
2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
270b6c968e
Speed up initialization, fixed settings passing. [#CLICKHOUSE-3346]
2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
d6635c3bf5
Fixed several integration tests. [#CLICKHOUSE-2]
2018-03-07 16:52:09 +03:00
Nikolai Kochetov
68357f3534
added macro.xml
2018-03-07 15:46:30 +03:00
Alexey Zatelepin
b0a4e1294d
remove obsolete setting from test
2018-03-06 20:36:19 +00:00
Vitaliy Lyudvichenko
f89d9dbfb9
Fixed segfault in an integration test. [#CLICKHOUSE-2]
2018-02-27 21:46:16 +03:00
Vitaliy Lyudvichenko
4e27c268a1
Add clickhouse-copier description to the docs. [#CLICKHOUSE-3606]
2018-02-26 18:27:36 +03:00
Vitaliy Lyudvichenko
120530e44c
Add requested changes. [#CLICKHOUSE-3606]
2018-02-26 15:14:20 +03:00
Vitaliy Lyudvichenko
11b4cf3163
Updated test. [#CLICKHOUSE-3606]
2018-02-24 01:47:35 +03:00
alexey-milovidov
b6f3f06ef3
Merge branch 'master' into CLICKHOUSE-3606
2018-02-22 02:13:38 +03:00
Vitaliy Lyudvichenko
fbe4066c15
Add support of any partition key. [#CLICKHOUSE-3606]
2018-02-21 20:18:31 +03:00
Vitaliy Lyudvichenko
47becc0b92
Try to reduce false positive of sanity check. More detail dignostics. [#CLICKHOUSE-3571]
2018-02-21 20:06:29 +03:00
Vitaliy Lyudvichenko
369f88f65d
Rewritten and improved sync distributed insert. [#CLICKHOUSE-3346]
2018-02-19 20:26:47 +03:00
Vitaliy Lyudvichenko
ef98bff6e1
ClusterCopier improvements ( #1869 )
...
* Fixed race condition in StorageDistributed. [#CLICKHOUSE-2]
* ClusterCopier improvements. [#CLICKHOUSE-3346]
* Add performance metrics. [#CLICKHOUSE-3346]
2018-02-07 16:02:47 +03:00
Vitaliy Lyudvichenko
94f38d744e
Merge pull request #1750 from yandex/CLICKHOUSE-3346
...
Fault-tolerant cluster copier util
2018-01-31 13:21:51 +03:00
alexey-milovidov
bea49ca136
Merge pull request #1741 from yandex/array-functions-hasAll-hasAny-intersect
...
Array functions hasAll hasAny arrayIntersect arrayResize
2018-01-26 12:06:48 +03:00
Vitaliy Lyudvichenko
e2fb6d8c80
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
d0f42c8f2f
Add kazoo lib into integration test, enhanced some tests. [#CLICKHOUSE-3346]
2018-01-25 21:14:37 +03:00
alexey-milovidov
24ac18201c
Update getFQDNOrHostName.cpp
...
Update isLocalAddress.cpp
Update IBlockOutputStream.h
Update users.xml
2018-01-24 17:14:21 +03:00
Nikolai Kochetov
49101fb0a6
added test for macro for cluster name in Distributerd table and DDL [#CLICKHOUSE-3409]
2018-01-22 21:49:21 +03:00
Vitaliy Lyudvichenko
1000328571
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-22 20:31:08 +03:00
Vitaliy Lyudvichenko
0b8d2a2024
Fixed nondeterministic merge in GraphiteMergeTree. [#CLICKHOUSE-2860]
2018-01-18 23:30:03 +03:00
Nikolai Kochetov
de274b317a
added ArraySourceVisitor and ArraySinkVisitor [#CLICKHOUSE-2998]
2018-01-18 18:50:35 +03:00
Vitaliy Lyudvichenko
3f9f1f7f4c
Add forgoten file. [#CLICKHOUSE-2]
2018-01-16 15:12:21 +03:00
Vitaliy Lyudvichenko
f20f3f21c4
Update clusters in SYSTEM DROP DNS query. [#CLICKHOUSE-3478]
2018-01-15 17:57:47 +03:00
Alexey Milovidov
7a865af32a
Integration tests: added clarification [#CLICKHOUSE-2].
2018-01-12 21:14:54 +03:00
Vitaliy Lyudvichenko
388d47bbbc
Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346
2018-01-11 23:51:30 +03:00
Vitaliy Lyudvichenko
47616c31be
Added enabled_partitions option. [#CLICKHOUSE-3346]
2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
43ae5a6932
Fixed test. [#CLICKHOUSE-3346]
2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
bdf96eed91
Add integration test and more options. [#CLICKHOUSE-3346]
2018-01-11 21:55:46 +03:00
Nikolai Kochetov
64fd3fe35a
added test for Dictionary(range_hashed) [#CLICKHOUSE-3521]
2017-12-25 23:55:45 +03:00
Vitaliy Lyudvichenko
b738d1baed
Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
...
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 14:25:11 +03:00
Vitaliy Lyudvichenko
2cf6e20fef
Fixed a vague error message in integration tests. [#CLICKHOUSE-2]
2017-11-20 23:15:30 +03:00
Vitaliy Lyudvichenko
a4636f8656
Fixed incorrect INSERT into Distributed table in async mode with local replicas in a shard. #1404 [#CLICKHOUSE-2]
...
Resolves #1404
2017-11-03 00:32:59 +03:00
proller
8aafa3b042
Cmake: fix warnings ( #1437 )
...
* Cmake: fix warnings
* Tests: replace 127.0.0.1 -> localhost
2017-11-02 17:14:16 +03:00
Alexey Zatelepin
514a4d4fba
use stale local replica if all remote replicas are unavailable [#CLICKHOUSE-3377]
2017-10-27 23:46:19 +03:00
Vitaliy Lyudvichenko
397b8bcf92
Smarter parts deletion. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
a5e29f2166
Add integration test. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
db3a67a421
Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Nikolai Kochetov
adae8205a7
increased timeout for test_insertion_sync_fails_with_timeout
2017-10-23 16:56:42 +03:00
Vitaliy Lyudvichenko
723f36ec6d
Fixed integration tests after introduction of 'clickhouse server' commands. [#CLICKHOUSE-2]
2017-10-04 18:15:40 +03:00
Vitaliy Lyudvichenko
c32bf4f597
Use only one cache in DNSCache. Add requested changes. [#CLICKHOUSE-2931]
2017-09-01 20:05:24 +03:00
alexey-milovidov
aa2d29f5f9
Update ReadWriteBufferFromHTTP.cpp, Context.cpp, etc
...
Update ASTSystemQuery.cpp
Update ASTSystemQuery.h
Update dictionary_clickhouse_cache.xml
Update dictionary_clickhouse_flat.xml
2017-08-31 13:26:02 +03:00
alexey-milovidov
5d14855989
Merge branch 'master' into CLICKHOUSE-2931
2017-08-31 00:23:39 +03:00
Nikolai Kochetov
d4bf2bf102
replaced tabs to spaces in config files [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
ee90da3014
added tests [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Vitaliy Lyudvichenko
4b0c7ecf21
Add integration tests for SYSTEM queries. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
b818258af9
Add ability to run an integration test env without test runs. [#CLICKHOUSE-2]
2017-08-25 16:51:12 +03:00
Nikolai Kochetov
7fa337c297
added tests [#CLICKHOUSE-3245]
2017-08-23 15:44:18 +03:00
Vitaliy Lyudvichenko
05d3f338ca
Add useful .gitignore. [#CLICKHOUSE-2]
2017-08-14 15:03:43 +03:00
Vitaliy Lyudvichenko
33a50b4d65
Fix false IOError messages in integration tests log. [#CLICKHOUSE-2]
2017-08-14 14:49:30 +03:00
Alexey Milovidov
96d8ba9e3f
Fixed typo [#CLICKHOUSE-2].
2017-08-14 04:29:19 +03:00
Vitaliy Lyudvichenko
d9ce96f8f5
Fixed test and misspellings. [#CLICKHOUSE-3207]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
a34ab8201a
Add FORMAT section for DDL queries CREATE, ALTER, RENAME, DROP. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
183c55676e
Fixed ON CLUSTER DDL for Views. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
e4785aeb4d
Simplified clean queue logic. Added more tests. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2e84d6df7
Fixed several errors in case of connection loss. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cb02a1b3b5
Add random ZK packets drops into test. Fixed a couple bugs. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2cf3f81be
Fix test after rebase. [#CLICKHOUSE-312]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
628de0a3ea
Fixed logging of DDL queries. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
736feab79f
Add port field. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Alexey Zatelepin
c99f3d7ee0
add test [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Nikolai Kochetov
b7f8ac1f2d
rewrote rewriting of SELECT query in StorageMerge with WITH statement
2017-08-12 00:01:28 +03:00
Nikolai Kochetov
c88e8a79cc
merged with master
2017-07-27 18:43:46 +03:00
Vitaliy Lyudvichenko
da9cdfc2f2
Fix integration tests. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
bf1949fc11
Add test. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
cd5bb4d921
Add replicated_deduplication_window_seconds merge_tree parameter. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Nikolai Kochetov
19d3c36871
added tests for synchronous insert into distributed table [#CLICKHOUSE-3033]
2017-07-26 17:41:21 +03:00
Alexey Zatelepin
2aaa847e10
add forgotten files [#CLICKHOUSE-3126]
2017-07-25 19:36:14 +00:00
Alexey Zatelepin
6567465d41
add failing test [#CLICKHOUSE-3163]
2017-07-21 20:55:38 +03:00
Nikolai Kochetov
5924b13f4c
fixed unnecessary columns removing for merge table on distibuted
2017-07-12 21:51:51 +03:00
Alexey Zatelepin
5f1b2e9cb1
add test [#CLICKHOUSE-3126]
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
7178fcbb53
attempt to fix integration tests
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
18bff11da6
cosmetics [#CLICKHOUSE-1979]
2017-06-16 21:35:49 +03:00
Alexey Zatelepin
c90ea346ce
add cross-replication test [#CLICKHOUSE-1979]
2017-06-16 21:24:18 +03:00
Vitaliy Lyudvichenko
aef0bf7e2e
Fix trying to load database.sql from incorrect path. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Vitaliy Lyudvichenko
67fdd0f544
Load the system database first. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Alexey Zatelepin
deca700689
add failing test [#CLICKHOUSE-2911]
2017-06-15 18:45:45 +03:00
Alexey Zatelepin
ad379271ed
add failing test [#CLICKHOUSE-3068]
2017-06-14 22:16:19 +03:00
Alexey Zatelepin
d95e5d40a3
fix integration tests
2017-06-14 16:23:23 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Nikolai Kochetov
bff77d1bae
merged with master
2017-06-08 15:00:11 +03:00
Nikolai Kochetov
b931ca4edb
removed cache dictionaries from test_select_all
2017-06-07 19:50:56 +03:00
Nikolai Kochetov
af661f9be1
integration tests for StorageDictionary
2017-06-07 19:43:07 +03:00
Vitaliy Lyudvichenko
73e2aab9ec
Updated integration tests. Add integration test for DDL. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Alex Zatelepin
0b2e2ec20d
Update README.md [#CLICKHOUSE-2821]
2017-05-29 22:05:36 +03:00
Alexey Zatelepin
df5fb65b28
specify db path in accordance with container volume mountpoint [#CLICKHOUSE-2821]
2017-05-23 23:52:48 +03:00
Alexey Zatelepin
2ffc01b25a
build helper container with network=host to avoid problems with ipv6 [#CLICKHOUSE-2821]
2017-05-23 23:38:17 +03:00
Alexey Zatelepin
6200ccb39c
improve waiting for instance startup in integration tests [#CLICKHOUSE-2821]
2017-05-23 20:13:36 +03:00
Alex Zatelepin
1bcee80587
Fixed README.md [#CLICKHOUSE-2821]
2017-05-23 17:27:18 +03:00
Alexey Milovidov
38281226bd
Fixed error in integration tests [#CLICKHOUSE-2821].
2017-05-23 17:24:04 +03:00
Alexey Milovidov
95059092d4
Fixed README.md [#CLICKHOUSE-2821]
2017-05-23 16:57:38 +03:00
Alexey Zatelepin
65227021e7
ClickHouse integration tests. [#CLICKHOUSE-2821]
2017-05-22 17:56:41 +04:00