Commit Graph

2612 Commits

Author SHA1 Message Date
Artem Zuikov
911e6efe3e rewrite duplicate distinct optimization 2020-08-20 20:04:42 +03:00
Alexander Tokmakov
f38bf04f62 fix test 2020-08-20 00:32:39 +03:00
Nikolai Kochetov
322cb241b9
Merge pull request #13887 from ClickHouse/fix-fixed-string-partial-sort
Fix fixed string partial sort
2020-08-19 21:41:25 +03:00
alexey-milovidov
b0a171211f
Merge pull request #13881 from ClickHouse/check-ya-make-files
Check that ya.make files are auto-generated
2020-08-19 21:24:20 +03:00
Alexander Tokmakov
30e0cd438e fix test 2020-08-19 18:56:26 +03:00
tavplubix
de3a6d78fc
Merge pull request #13822 from zhang2014/fix/materialize_integration_test
ISSUES-4006 try fix materialize mysql database integration test
2020-08-19 17:32:38 +03:00
Nikolai Kochetov
25dd0fa4d6
Update 01453_fixsed_string_sort.sql 2020-08-19 15:43:08 +03:00
Nikolai Kochetov
ab37eee653 Added test. 2020-08-19 15:26:48 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals (#13097) 2020-08-19 14:52:17 +03:00
tavplubix
3b8ac01ed0
Merge pull request #13756 from ClickHouse/test-drop-database-race
Fix race condition in DROP DATABASE
2020-08-19 13:27:50 +03:00
Alexander Tokmakov
be6af3881a remove retries 2020-08-19 13:05:40 +03:00
Alexey Milovidov
425297e9c9 Check that ya.make files are auto-generated 2020-08-19 12:40:28 +03:00
alexey-milovidov
1c40e3ca4e
Merge pull request #13867 from azat/00956_sensitive_data_masking-fix
Fix 00956_sensitive_data_masking flackiness
2020-08-19 12:33:48 +03:00
alexey-milovidov
6d72777b6e
Merge pull request #13868 from ClickHouse/stratify-array-compact-nan
Stratify nans comparison in arrayCompact function
2020-08-19 11:53:58 +03:00
alexey-milovidov
23ccb0b6be
Merge pull request #13677 from hagen1778/merge-tree-fail-fast-on-rows-limit
[mergeTree]: fail fast if max_rows_to_read limit exceeded on parts scan
2020-08-18 22:24:39 +03:00
Alexey Milovidov
acf312467e Stratify nans comparison in arrayCompact function 2020-08-18 22:16:53 +03:00
Azat Khuzhin
3ba9e9f6ce Fix 00956_sensitive_data_masking flackiness
00956_sensitive_data_masking is still flacky even after #13748 [1].

    [1]: https://clickhouse-test-reports.s3.yandex.net/10373/348ef1256ea8fb8f61109c33bbdd28daf46bdc8e/functional_stateless_tests_(debug).html#fail1

The problem is that it uses the following pattern:

    clickhouse-client -q ... & # run some query in background
    clickhouse-client -q 'show processlist' > log
    grep background-query log

But there is no guarantee that the query in background will be executed before `show processlist`:

    2020.08.18 02:52:47.916386 [ 26788 ] {98c36d38-f710-4dfb-af8f-61906abc163c} <Debug> executeQuery: (from [::1]:51650) SHOW PROCESSLIST
    ...
    2020.08.18 02:52:47.926854 [ 26756 ] {086c64fa-713b-4f8c-b702-23bfea10a49c} <Debug> executeQuery: (from [::1]:51652) select count() from system.numbers where ignore('find_me_[hidden]')=0 and ignore('fwerkh_that_magic_string_make_me_unique') = 0 FORMAT Null

Fix the test by waiting until the query in backgroud will start, and use
limited numbers + sleepEachRow over system.numbers to reduce CPU usage.
2020-08-18 21:57:53 +03:00
Alexander Tokmakov
e686616756 add exclusive DDLGuard for database 2020-08-18 18:15:27 +03:00
Alexander Kazakov
874fd4d068
A test to challenge a data race in StorageMemory (#13858) 2020-08-18 17:16:59 +03:00
roman
ac72148c3e [tests]: adjust staeless/01064 test max_rows_to_read limits
With default index_granularity=8096 CH always reads at least that number
of rows per selected part, but limit is checked afterwards. The optimization
that interrupts execution of queries based on approx number of rows to read
breaks the test. This means that test case is potetntially contains incorrect
limits.
2020-08-18 13:22:54 +01:00
alexey-milovidov
c26caf8339
Merge pull request #13840 from ClickHouse/normalize-query-uuid-aliases
Support UUID aliases in normalizeQuery
2020-08-18 12:35:55 +03:00
zhang2014
cba1e3d568 ISSUES-4006 Add more times test 2020-08-18 10:51:05 +08:00
Alexander Tokmakov
790c420dcf run multiple times, print stacktraces 2020-08-17 22:55:27 +03:00
Alexander Tokmakov
51bb0412b1 enable the test 2020-08-17 21:48:55 +03:00
Alexander Tokmakov
f5c14a0766 Merge branch 'master' into fix/materialize_integration_test 2020-08-17 21:47:53 +03:00
Alexander Tokmakov
1eb36d6067 partially disable test with MaterializeMySQL 2020-08-17 21:17:29 +03:00
Alexey Milovidov
ba4c42abfe Support UUID aliases in normalizeQuery 2020-08-17 21:17:20 +03:00
alexey-milovidov
abf3cb8746
Merge pull request #13816 from ClickHouse/normalize-query
Add function "normalizeQuery"
2020-08-17 16:23:24 +03:00
Vitaly Baranov
695c2aafba
Merge pull request #13425 from vitlibar/user-directories
user_directories in the main config
2020-08-17 15:49:24 +03:00
zhang2014
b11f4b45a0 ISSUES-4006 fix race condition in integeration test 2020-08-17 13:13:56 +08:00
Azat Khuzhin
dfa6caa4da Fix 01356_initialize_aggregation in unbundled build (change topKWeighted order) 2020-08-17 00:36:57 +03:00
Alexey Milovidov
9cd2ddb646 Add normalizedQueryHash function with tests 2020-08-16 22:38:56 +03:00
Azat Khuzhin
0eac96972c Fix topK/topKWeighted merge (wtih non-default parameters) 2020-08-16 22:32:56 +03:00
Alexey Milovidov
6a55ec0390 Add test 2020-08-16 22:23:03 +03:00
Vitaly Baranov
e6c6f904bb Add test for user directories. 2020-08-16 19:33:50 +03:00
Vitaly Baranov
ad03ff3887 Rename storages users.xml=>users_xml, disk=>local_directory. 2020-08-16 16:42:57 +03:00
Alexey Milovidov
bbb10bacf9 Suppress Shellcheck 2020-08-16 15:23:41 +03:00
alexey-milovidov
f3755fecb7
Merge pull request #13793 from amosbird/fnc
Fix set index with const column pred
2020-08-16 15:18:31 +03:00
Amos Bird
ae2c50e9e8
Fix set index with const column pred 2020-08-16 15:16:37 +08:00
alexey-milovidov
1f413805a7
Merge pull request #13759 from excitoon-favorites/fixflappytest_start_stop_moves
Fixed flappy `test_multiple_disks::test_start_stop_moves`
2020-08-16 10:14:08 +03:00
alexey-milovidov
0d8fecc37d
Merge pull request #13760 from ClickHouse/fix-flaky-test-4
Make a test slightly more reliable
2020-08-16 10:13:51 +03:00
alexey-milovidov
ec882e3424
Merge pull request #13770 from ClickHouse/fix-flaky-test-5
Fix flaky mutations test
2020-08-16 10:13:31 +03:00
alexey-milovidov
3db28c0b3e
Merge pull request #13777 from ClickHouse/fix-flaky-test-6
Fix error in test 01079_parallel_alter_detach_table_zookeeper
2020-08-16 10:13:10 +03:00
alexey-milovidov
4acfa00b1b
Merge pull request #13785 from ClickHouse/fix-flaky-test-8
Fix topK test
2020-08-16 09:51:59 +03:00
alexey-milovidov
b851eccc90
Merge pull request #13790 from azat/range-overflow
Fix step overflow in range()
2020-08-16 09:45:56 +03:00
alexey-milovidov
d4e04db924
Merge pull request #13780 from vzakaznikov/testflows_fix_ldap_unhealthy_container
Testflows LDAP module: adding missing certificates and dhparam.pem for openldap4
2020-08-16 09:44:50 +03:00
Vitaliy Zakaznikov
dfb7cb999e Updating healthcheck parameters. 2020-08-15 19:52:27 -04:00
Azat Khuzhin
e9d373b5b7 Fix step overflow in range() 2020-08-16 00:26:47 +03:00
Vitaliy Zakaznikov
6a517be3b2 * Moving to standard healthcheck parameters.
* Adding docker-compose pull and docker-compose down before executing docker-compose up.
* Adding docker-compose ps if any of the containers are unhealthy.
2020-08-15 14:24:33 -04:00
alexey-milovidov
79bde24da6
Merge pull request #13778 from ClickHouse/fix-flaky-test-7
Keep "metadata_loading" test only for release build
2020-08-15 21:01:23 +03:00