Commit Graph

1702 Commits

Author SHA1 Message Date
myrrc
d298409660 Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations 2020-08-20 12:07:02 +03:00
Alexander Tokmakov
f38bf04f62 fix test 2020-08-20 00:32:39 +03:00
myrrc
4f96291c35 rewrote the LC spec as a dispatcher 2020-08-19 21:59: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
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
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
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
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
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
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
Azat Khuzhin
e9d373b5b7 Fix step overflow in range() 2020-08-16 00:26:47 +03: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
Alexey Milovidov
0217de37b9 Fix topK test 2020-08-15 20:55:49 +03:00
alexey-milovidov
521ab806aa
Merge pull request #13754 from ClickHouse/fix-flaky-test-2
Fix flaky test 00988_constraints_replication_zookeeper
2020-08-15 19:30:01 +03:00
alexey-milovidov
82a6c0a4b6
Merge pull request #13752 from ClickHouse/h3kRing-fix
Range check for h3KRing
2020-08-15 19:28:52 +03:00
Alexey Milovidov
3a213eb785 Keep "metadata_loading" test only for release build 2020-08-15 18:16:27 +03:00
Alexey Milovidov
1f1685d696 Fix error in test 2020-08-15 17:55:08 +03:00
Alexey Milovidov
eb548c08b7 Fix flaky mutations test 2020-08-15 17:35:31 +03:00
Alexey Milovidov
5b3fa69d69 Make a test slightly more reliable 2020-08-15 16:26:56 +03:00
alexey-milovidov
7ccfae5da9
Merge pull request #13748 from ClickHouse/fix-bad-test-sensitive-data-masking
Fix bad test sensitive_data_masking
2020-08-15 15:56:38 +03:00
alexey-milovidov
0e3b9d0da6
Merge pull request #13747 from ClickHouse/fix-race-condition-in-test
Fix race condition in test
2020-08-15 15:55:47 +03:00
alexey-milovidov
8c34cc3df6
Merge pull request #13746 from ClickHouse/fix-race-condition-detach-merge
Fix race condition in DETACH and background merge
2020-08-15 15:53:26 +03:00
alexey-milovidov
faa0d50d67
Merge pull request #13737 from azat/query_log-Settings-logging-fix
Fix logging Settings.Names/Values when log_queries_min_type > QUERY_START
2020-08-15 15:51:19 +03:00
Alexey Milovidov
d4af19b3e7 Update test 2020-08-15 14:22:01 +03:00
Alexey Milovidov
eee3cb6887 Add a test reproducing race condition in DROP DATABASE 2020-08-15 14:16:43 +03:00
Alexey Milovidov
aaddb6a086 Fix flaky test 2020-08-15 12:37:05 +03:00