Commit Graph

1969 Commits

Author SHA1 Message Date
Alexey Milovidov
d34b1a8791 Merge branch 'master' into improve-performance-of-client-interactive-mode 2020-06-02 04:24:17 +03:00
alexey-milovidov
92ac608447
Merge pull request #11330 from ClickHouse/fix-10241
More parallel MV processing.
2020-06-02 04:06:39 +03:00
alexey-milovidov
c44807071e
Merge pull request #11343 from ClickHouse/fix_some_integration_tests
Fix sync_async test (remove timeout)
2020-06-02 03:57:34 +03:00
Alexey Milovidov
877a3725eb Added a test 2020-06-02 03:33:53 +03:00
alexey-milovidov
8e5d672563
Merge pull request #11340 from 4ertus2/bugs
Fix crash in select from StorageJoin
2020-06-02 02:46:08 +03:00
Alexey Milovidov
36c23e240d Update some tests 2020-06-02 02:41:41 +03:00
Alexey Milovidov
2a0da608fd Update tests 2020-06-02 02:31:50 +03:00
alexey-milovidov
68e2f88635
Merge pull request #11337 from ClickHouse/fix-quantile-arguments
Fix quantile arguments
2020-06-02 02:14:13 +03:00
alesapin
ad6447398f Fix indices calculation during merge 2020-06-01 22:58:30 +03:00
alesapin
5d54e18541 Fix sync_async test (remove timeout) 2020-06-01 22:35:56 +03:00
Ivan Blinkov
6bd4282727 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 21:49:56 +03:00
kssenii
d3b069e37b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-06-01 18:25:36 +00:00
Anton Popov
e1970f6d28 in-memory parts: fix reading of nested 2020-06-01 20:53:18 +03:00
Artem Zuikov
bfa59adbfe fix select from StorageJoin 2020-06-01 20:27:22 +03:00
kssenii
5939422b85 Add tests for insert part 2020-06-01 17:02:14 +00:00
Nikolai Kochetov
86d072aff4 Added test. 2020-06-01 19:37:26 +03:00
alexey-milovidov
19c6e0e5ae
Merge pull request #11307 from ClickHouse/remove-system-tables-lazy-load
Remove "system_tables_lazy_load" option
2020-06-01 16:26:23 +03:00
Albert Kidrachev
3c6a785937 Merge branch 'master' of https://github.com/Provet/ClickHouse 2020-06-01 15:12:37 +03:00
Albert Kidrachev
02611de051 merge 2020-06-01 15:11:36 +03:00
Alexander Tokmakov
62761eddcc Merge branch 'master' into merging_external_source_cassandra 2020-06-01 14:44:46 +03:00
Ivan Blinkov
89212fb174 Merge branch 'sentry' of github.com:blinkov/ClickHouse; branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 14:14:44 +03:00
alesapin
3847ea892d Merge branch 'master' into consistent_metadata3 2020-06-01 13:17:59 +03:00
Artem Zuikov
9028a25f3c
more types in ASOF JOIN (#11301) 2020-06-01 12:38:46 +03:00
alesapin
c4d520d831 Fix part_log test 2020-06-01 12:12:52 +03:00
Nikolai Kochetov
c6c1cd1009 Update test. 2020-06-01 12:12:03 +03:00
alesapin
c22e8f6b9b
Merge pull request #11283 from filimonov/kafka_virtual_column_headers
Virtual columns for Kafka headers
2020-06-01 12:06:00 +03:00
alesapin
364ebe9246
Merge pull request #11260 from filimonov/kafka_virtual_column_timestamp_ms
Add _timestamp_ms virtual columns to Kafka engine
2020-06-01 12:04:17 +03:00
Nikolai Kochetov
f1796b73ff Add perftest. 2020-06-01 11:52:35 +03:00
alesapin
0591eed432
Merge pull request #11266 from ClickHouse/addition-to-11184
Addition to #11184
2020-06-01 11:37:00 +03:00
Ivan Blinkov
fcc7ff0ef9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 08:42:03 +03:00
Andrei Nekrashevich
1cd888f505 fix 2020-06-01 02:40:38 +03:00
Alexey Milovidov
a76bd99e84 Added setting "output_format_pretty_max_value_width" 2020-06-01 01:12:13 +03:00
alexey-milovidov
92c56afed1
Merge pull request #11320 from ClickHouse/revert-revert-disable-flacky-tests
Disable flacky test #8840
2020-06-01 00:10:53 +03:00
alexey-milovidov
59c9e030b4
Merge pull request #11321 from ClickHouse/better-hung-check
Better check for hung queries in clickhouse-test
2020-05-31 22:19:12 +03:00
alexey-milovidov
8accde79b5
Merge pull request #11162 from azat/data-skip-index-merging-params-fix
[RFC] Fix data skipping indexes for columns with additional actions during merge
2020-05-31 19:10:53 +03:00
alexey-milovidov
a8f5b10f15
Merge pull request #10621 from azat/enable_optimize_predicate_expression-order
Fix predicates optimization for distributed queries with HAVING
2020-05-31 18:55:35 +03:00
alexey-milovidov
9a362eb02e
Merge pull request #11252 from filimonov/kafka-clientid
Kafka clientid (finishing #11073)
2020-05-31 18:37:30 +03:00
alexey-milovidov
fb1a2fa26b
Merge pull request #11256 from filimonov/librdkafka_1_4_2
Update librdkafka to version 1.4.2
2020-05-31 18:34:55 +03:00
Alexey Milovidov
5192ebdc23 Fix test with obsolete assumption 2020-05-31 18:10:52 +03:00
Alexey Milovidov
87cf123ef8 Merge branch 'master' into remove-system-tables-lazy-load 2020-05-31 18:06:08 +03:00
Alexey Milovidov
293241cc22 Better check for hung queries in clickhouse-test 2020-05-31 17:57:29 +03:00
alexey-milovidov
5b2b3739b9
Merge pull request #11318 from devwout/master
Fix visitParamExtractRaw for strings with unbalanced { or [.
2020-05-31 17:52:00 +03:00
alexey-milovidov
1a8c19741e
Merge pull request #11311 from ClickHouse/fix-uninitialized-memory-in-cast
Fix uninitialized memory in conversion
2020-05-31 17:33:06 +03:00
alexey-milovidov
ece21b353c
Merge pull request #11312 from ClickHouse/debug-bad-test
Debug bad test "mysql_federated"
2020-05-31 17:32:56 +03:00
alexey-milovidov
5010cd724e
Merge pull request #11315 from ClickHouse/add-test-for-distributed_low_cardinality_memory_efficient
Added a test for Distributed table with String looking at tables with LowCardinality(String) in presense of memory efficient aggregation setting
2020-05-31 17:30:58 +03:00
alexey-milovidov
bebc6f82fc
Merge pull request #10678 from livace/add_geo_types
Add geo data types Point and Polygon
2020-05-31 17:25:15 +03:00
Alexey Milovidov
2529df016a Disable flacky test #8840 2020-05-31 17:08:09 +03:00
alexey-milovidov
97d9f218af
Merge pull request #11296 from ClickHouse/fix-false-too-slow
Fix bug with Throttler and query speed estimation
2020-05-31 14:18:29 +03:00
kssenii
e80b405359 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-05-31 10:30:53 +00:00
Dmitry
8ba17ee272 better test 2020-05-31 03:00:16 +03:00
Ewout
70eaae38f2 Fix visitParamExtractRaw for strings with unbalanced { or [.
Closes #11254 .
2020-05-31 00:58:30 +02:00
Dmitry
4b0d32f026 Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization 2020-05-31 00:21:02 +03:00
Alexey Milovidov
3574dfe1db Added test for Distributed table with Seting looking at tables with LowCardinality(String) in presense of memory efficient aggregation setting #6638 2020-05-30 22:07:46 +03:00
Alexey Milovidov
ff54b4c82b Retain some parts of the modification 2020-05-30 21:43:14 +03:00
Alexey Milovidov
9b4d6ac818 Revert test 2020-05-30 21:42:19 +03:00
alexey-milovidov
3eea042d16
Merge pull request #11243 from ClickHouse/remove-experimental-use-processors-flag-4
Remove some code.
2020-05-30 21:05:14 +03:00
MovElb
b4b5c90343 squash 2020-05-30 20:05:05 +03:00
Alexey Milovidov
6604b6aa18 Debug bad test "mysql_federated" 2020-05-30 20:03:28 +03:00
Alexey Milovidov
387843411d Make is more easy 2020-05-30 19:46:58 +03:00
Alexey Milovidov
c24084a46d Fix test 2020-05-30 19:41:45 +03:00
Alexey Milovidov
421a62e978 Merge branch 'master' into fix-false-too-slow 2020-05-30 19:36:55 +03:00
Alexey Milovidov
1b825baf21 Added a test 2020-05-30 19:31:36 +03:00
Alexey Ilyukhov
b84c8fcbd8 Add allow_experimental_geo_types; add test 2020-05-30 18:26:19 +03:00
Alexey Milovidov
496fed5ed3 Remove "system_tables_lazy_load" option 2020-05-30 17:24:09 +03:00
Nikolai Kochetov
f9009809f2
Delete order_by_with_limit.xml
Delete new test to run old ones.
2020-05-30 12:22:05 +03:00
Nikolai Kochetov
c43976b6c5 Update test. 2020-05-30 11:31:07 +03:00
Andrei Nekrashevich
f3447ee63b fix 2020-05-30 08:47:05 +03:00
Alexey Milovidov
8c8821475c Fix issue #11286; add a test 2020-05-30 00:32:35 +03:00
Alexey Milovidov
61d3d061dc Merge branch 'master' into addition-to-11184 2020-05-30 00:04:27 +03:00
alexey-milovidov
94887f0c74
Merge pull request #11285 from ClickHouse/fix_fixed_database_tests
Add retries in clickhouse-test before server start
2020-05-29 23:54:36 +03:00
alexey-milovidov
88d6633d90
Merge pull request #11290 from ClickHouse/attempt-to-fix-flacky-test
Attempt to fix flacky test 01108_restart_replicas_rename_deadlock.sh
2020-05-29 23:53:50 +03:00
Alexey Milovidov
2ba268c80a Added a test for #6228 2020-05-29 23:45:47 +03:00
Alexey Milovidov
fe9bd0e918 Added a test for #5732 2020-05-29 23:37:14 +03:00
Alexey Milovidov
cf91793d90 Added a test from @den-crane 2020-05-29 23:05:41 +03:00
Ivan Blinkov
95ee742ee7 merge master 2020-05-29 22:56:10 +03:00
Ivan Blinkov
4ef322274d Add integration test 2020-05-29 22:53:16 +03:00
Alexey Milovidov
1732888d98 Added a test for network throttler 2020-05-29 22:44:24 +03:00
Alexey Milovidov
6ec9287925 Added a test 2020-05-29 22:37:23 +03:00
alexey-milovidov
1abaca5174
Merge pull request #11276 from ClickHouse/fix-constraints-and-insert-performance
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks.
2020-05-29 20:04:59 +03:00
Anton Popov
fa05641b06 in-memory parts: partition commands 2020-05-29 19:58:08 +03:00
Alexander Tokmakov
8921041706 Merge branch 'master' into merging_external_source_cassandra 2020-05-29 18:20:39 +03:00
Anton Popov
c919840722 in-memory parts: partition commands 2020-05-29 18:02:12 +03:00
Albert Kidrachev
43c0499e87 merging 2020-05-29 17:53:33 +03:00
alexey-milovidov
58c1d96582
Merge pull request #11208 from ClickHouse/escape-sequences-php-mysql-style
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-29 17:19:00 +03:00
Alexey Milovidov
e940229e71 Attempt to fix flacky test 2020-05-29 17:09:28 +03:00
Alexey Milovidov
080b2ec891 Attempt to fix flacky test 2020-05-29 17:04:16 +03:00
alexey-milovidov
9c21d9674a
Merge pull request #11270 from ClickHouse/fix-flacky-test-optimize
Fix potentially flacky test
2020-05-29 16:37:10 +03:00
alexey-milovidov
e11eeb0ce6
Merge pull request #11265 from ClickHouse/add-a-test-from-donmikel
Add a test from @donmikel
2020-05-29 16:32:07 +03:00
Alexey Milovidov
07205519b5 Addition to #11184 2020-05-29 16:31:27 +03:00
alexey-milovidov
3d74122ab4
Merge pull request #11268 from ClickHouse/repeat-test-on-curl-timeout
Repeat test on curl timeout
2020-05-29 16:27:54 +03:00
alexey-milovidov
304c6a1ee3
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 16:24:42 +03:00
Nikita Mikhaylov
9233997b24
Merge pull request #11233 from nikitamikhaylov/cache-getstring-bugfix
Cache-dictionary getString() bugfix
2020-05-29 16:32:35 +04:00
Andrei Nekrashevich
2a63522522 fix 2020-05-29 14:38:20 +03:00
alesapin
0f1c81ea52 Fix test because we don't want to modify AST in memory, just change filter params 2020-05-29 14:30:02 +03:00
alesapin
bd03d1acb9 Remove hardcoded database from some tests and add retries to clickhouse-test 2020-05-29 13:08:11 +03:00
Mikhail Filimonov
b885337454 Virtual columns for accessing kafka message headers 2020-05-29 10:44:10 +02:00
Nikolai Kochetov
0e27f47632 Try update test. 2020-05-29 11:42:55 +03:00
Vitaly Baranov
2d12b4d3ac Fix crash when SET DEFAULT ROLE is called with wrong arguments. 2020-05-29 09:54:27 +03:00
Dmitrii Kovalkov
0f730b2ace multitarget great circle 2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
4c16f7a70f cosmetics 2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
cdb353856d remove vectorization from binary arithmetic 2020-05-29 07:35:04 +02:00
Dmitrii Kovalkov
71fabcedc4 Fix test 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
ef030349ff Add hashes to multitarget code, a lot of cosmetics 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
4a9891c601 use vectorized rand in generateUUIDv4, add multitarget build in intHash32/64 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
8483dfa272 Delete needless rand implementations 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
2609b1c370 Save test 2020-05-29 07:34:10 +02:00
Dmitrii Kovalkov
808bb14c5c Add xorshift-rand from lemire for comparing performance 2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
acbd3b3a70 Compile rand function with AVX 2020-05-29 07:31:59 +02:00
Alexey Milovidov
b7b6380141 Add performance test 2020-05-29 05:30:49 +03:00
Alexey Milovidov
23d7947549 Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks 2020-05-29 05:08:48 +03:00
Andrei Nekrashevich
af469c0da5 fix issues 2020-05-29 05:06:21 +03:00
Albert Kidrachev
c91ca6fd4b fix optimization, add comments and performance test 2020-05-29 04:50:02 +03:00
Alexey Milovidov
025c1a8830 Added another check #11170 2020-05-29 03:46:42 +03:00
Alexey Milovidov
263bc6e097 Added missing file 2020-05-29 03:26:56 +03:00
Anton Popov
4769ce7271 in-memory parts: several fixes 2020-05-29 02:59:13 +03:00
Alexey Milovidov
7df5280060 Fix potentially flacky test 2020-05-29 02:09:11 +03:00
Alexey Milovidov
5548c9d1ad Repeat test on curl timeout 2020-05-29 01:53:15 +03:00
Alexey Milovidov
86959ca97f Addition to #11184 2020-05-29 01:23:29 +03:00
Alexey Milovidov
2b4d9a6349 Add a test from @donmikel 2020-05-29 01:00:01 +03:00
Mikhail Filimonov
03430b1763 Change the test, accept new librdkafka behaviour 2020-05-28 23:11:29 +02:00
alexey-milovidov
fb4d272f5b
Merge pull request #11258 from vitlibar/protobuf-fix-handling-bad-data
Fix handling bad data while reading in Protobuf format.
2020-05-28 23:26:20 +03:00
Mikhail Filimonov
e39c4cdf71 Add _timestamp_ms virtual columns to Kafka engine 2020-05-28 19:41:57 +02:00
Dmitry
871539e4cc test and ya.make 2020-05-28 20:30:21 +03:00
Vitaly Baranov
d7cc703233
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
Show authentication type in system.users table
2020-05-28 20:20:41 +03:00
Vitaly Baranov
99626a5bd3 Add test for handling malformed protobuf data. 2020-05-28 20:07:54 +03:00
Alexey Milovidov
7853722519 Update tests 2020-05-28 17:18:58 +03:00
Alexey Milovidov
71b7bb9c3a Merge branch 'master' into escape-sequences-php-mysql-style 2020-05-28 16:58:23 +03:00
Mikhail Filimonov
6b694d54b4 Better kafka client.id 2020-05-28 15:39:55 +02:00
tavplubix
801c1c1240
Merge pull request #11205 from ClickHouse/fix-view-totals
Fix totals and extremes header for view.
2020-05-28 15:05:34 +03:00
Alexander Kuzmenkov
ca5d7cf5bb fix some broken performance tests 2020-05-28 10:45:03 +03:00
Alexander Kuzmenkov
a697560738
Merge pull request #11224 from ClickHouse/aku/merge-arrow-stream
Merge ArrowStream format #11088
2020-05-28 09:37:40 +03:00
Vitaly Baranov
98172deffc Show authentication type in table system.users and while executing SHOW CREATE USER query. 2020-05-28 08:34:10 +03:00
Andrei Nekrashevich
94c5d87ebc fix 2020-05-28 06:16:48 +03:00
Andrei Nekrashevich
3c68ecacfe Added function fuzzBits 2020-05-28 05:51:37 +03:00
alexey-milovidov
cbac07f5eb
Merge pull request #11163 from azat/bump-jemalloc
[WIP] Bump jemalloc to 5.2.1
2020-05-28 01:17:26 +03:00
alexey-milovidov
b430af82e5
Merge pull request #11232 from vitlibar/add-test-row_policy-affects-only-user-assigned
Add a test for row policy
2020-05-28 01:16:48 +03:00
Alexander Tokmakov
905bce4aeb fix 2020-05-27 23:53:35 +03:00
Anton Popov
d8342e5b12 in-memory parts: better restore and clear stale wal files 2020-05-27 23:05:55 +03:00
Nikita Mikhaylov
ec479839d9 fixed 2020-05-27 22:44:22 +03:00
alexey-milovidov
dffeec8637
Merge pull request #10537 from expl0si0nn/ttl_expr_data_rollup
Support of WHERE and GROUP BY in TTL expressions
2020-05-27 21:35:55 +03:00
Alexander Kuzmenkov
640df68e05
Merge pull request #11184 from ClickHouse/enable-log-queries
Enable log_queries by default
2020-05-27 20:55:31 +03:00
Vitaly Baranov
bb0045a242 Add test for row policy that policy defined in users.xml affects only the user it assigned to. 2020-05-27 20:37:43 +03:00
Artem Zuikov
4fa3628097
test for probably fixed issue (#11221) 2020-05-27 17:25:11 +03:00
Alexander Tokmakov
f099ce19a7 fix 2020-05-27 16:54:39 +03:00
Alexander Kuzmenkov
ac263f921e Merge remote-tracking branch 'origin/master' into HEAD 2020-05-27 15:51:03 +03:00
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
Add port() function
2020-05-27 15:27:06 +03:00
alexey-milovidov
2da6a39d5b
Merge pull request #11119 from azat/flacky-test-group_by_limit_memory_tracking
Fix 01281_group_by_limit_memory_tracking flackiness
2020-05-27 14:09:22 +03:00
alexey-milovidov
8bfe21f101
Update 01281_group_by_limit_memory_tracking.sh 2020-05-27 14:09:12 +03:00
alexey-milovidov
35b1fd43fa
Merge pull request #11212 from ClickHouse/fix-perf-test
Fix error in performance test
2020-05-27 13:33:19 +03:00
alexey-milovidov
992f0dfec5
Merge pull request #11149 from filimonov/kafka_reschedule
Fixed reschedule issue in Kafka
2020-05-27 13:26:55 +03:00
Nikolai Sorokin
141ed88751 Allow functions in group by keys; Add default aggregate function; Add more tests 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
ed09f68b8d Better tests 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
c6541b1dad Up test id; Fix clang build 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
9269db072a Better tests 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
a991dcf9f4 Add tests 2020-05-27 12:53:15 +03:00
alesapin
3399e573d1
Merge pull request #11199 from ClickHouse/fix_primary_key_method_call
Fix primary key check
2020-05-27 11:55:12 +03:00
Ivan Blinkov
d941c483b2
Update test.py 2020-05-27 11:25:36 +03:00
Alexander Kuzmenkov
0db71f52a3
Merge pull request #10947 from ClickHouse/aku/inline-memory
Assert that allocator & container are consistent wrt. inline memory
2020-05-27 10:58:59 +03:00
Alexander Kuzmenkov
cd008f9b7f
Update functions_with_hash_tables.xml 2020-05-27 10:58:29 +03:00
filimonov
c73b8372e7
Update test.py 2020-05-27 07:44:13 +02:00
Mikhail Filimonov
efc0b97707 Fix Kafka performance issue related to reschedules based on limits, which were always applied. 2020-05-27 07:39:06 +02:00
Azat Khuzhin
ec894e7cb3 Check for POPCNT instruction 2020-05-27 03:01:16 +03:00
bobrovskij artemij
8d69223aaf show_privileges test fix, one more build fix 2020-05-27 01:20:25 +03:00
alexey-milovidov
2aeb6017c1
Merge pull request #11211 from ClickHouse/fix-flacky-test-dist-on-dist
Fix flacky test #11190
2020-05-27 00:49:45 +03:00
Alexander Tokmakov
940132adc4 Merge branch 'master' into merging_external_source_cassandra 2020-05-27 00:13:57 +03:00
Ivan Blinkov
4a92ad11ec
Update test.py 2020-05-26 23:27:31 +03:00
Alexander Tokmakov
310d522528 minimal implementation 2020-05-26 22:21:18 +03:00
Alexey Milovidov
90f49c0c17 Fix error in performance test 2020-05-26 21:37:20 +03:00
Nikolai Kochetov
361b92f083
Merge pull request #11200 from ClickHouse/fix-strict-resize-finishing
Fix StrictResize
2020-05-26 21:31:44 +03:00
Alexey Milovidov
009f57fc2f Fix flacky test #11190 2020-05-26 21:26:17 +03:00
kssenii
ad1c0de8db Merge 2020-05-26 17:45:39 +00:00
kssenii
14c67c6ae6 Fixes 2020-05-26 17:34:57 +00:00
Alexander Kuzmenkov
83aaea7b0f Merge remote-tracking branch 'origin/master' into HEAD 2020-05-26 18:29:42 +03:00
Alexey Milovidov
b2057159c1 Experiment on parsing backslash escapes in a more convenient way #10922 2020-05-26 17:24:20 +03:00
Vasily Nemkov
28a2cc0a82 Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
* Family of functions to convert DateTime64 to Int64 and back, usefull for
   imporintg/exporting raw timestamp values of certain precision.
 * Docs
 * Tests
 * Fixed ya.make
2020-05-26 16:42:22 +03:00
Nikolai Kochetov
8074e2027f Added test. 2020-05-26 16:32:44 +03:00
Vitaly Baranov
2c8a355f19
Merge pull request #11081 from vitlibar/fix-no-password-mode
Fix settings NO_PASSWORD authentication mode in users.xml.
2020-05-26 14:20:34 +03:00
Nikolai Kochetov
b16936ba9d Added test. 2020-05-26 13:37:10 +03:00
alesapin
5780240e88 Fix primry key check 2020-05-26 12:46:04 +03:00
Ilya Yatsishin
2b155ac989
Merge pull request #11185 from ClickHouse/fix-lambda-lc-args
Fix lambda lc args
2020-05-26 10:27:35 +03:00
Alexander Kuzmenkov
9d25ae22b5 Merge remote-tracking branch 'origin/master' into HEAD 2020-05-26 09:07:01 +03:00
Alexander Kuzmenkov
27df8d5aca fixup 2020-05-26 09:06:46 +03:00
Alexander Kuzmenkov
7142e68d7a fixup 2020-05-26 08:54:04 +03:00
alexey-milovidov
d4acd1af3a
Merge pull request #11179 from excitoon-favorites/s3globfix
Fixed S3 globbing which could fail in case of more than 1000 keys and some backends
2020-05-26 02:45:42 +03:00
filimonov
73a0ef6c0e
Fix for the hang during deletion of engine=Kafka (one more time) (#11145)
* Added flag for safer rdkafka destruction, but more testing detected another hang case, which has no straigt solutions and can be workarounded currenly only by draining the consumer queue, so destructor is back

* After review fixes

* After review fixes2

* After review fixes3
2020-05-26 00:13:10 +03:00
alexey-milovidov
7201018079
Update test.py 2020-05-26 00:05:15 +03:00
Nikolai Kochetov
53a514093a Added test. 2020-05-25 22:22:03 +03:00
potya
2974d81b2e Fix erros and add test 2020-05-25 21:58:30 +03:00
potya
aea97ba9e4 Fix types and add complex test 2020-05-25 20:10:44 +03:00
alesapin
51ffcff75b
Merge pull request #11180 from ClickHouse/revert_flush_logs_in_test
Revert #11023
2020-05-25 17:38:19 +03:00
Sofia Antipushina
f206d74b63 fix align of data && add test 2020-05-25 17:02:55 +03:00
Vladimir Chebotarev
e013edce4b Added test for multi-page S3 globbing. 2020-05-25 15:57:27 +03:00
potya
fb08a96582 Add simple test 2020-05-25 14:11:51 +03:00
Nikolai Kochetov
c83014bc76
Merge pull request #11114 from azat/max_threads-simple-query-optimization-fix
Do not reserve extra threads after max threads optimization for simple queries
2020-05-25 14:05:46 +03:00
alesapin
3d9ba9ff8a Revert #11023 2020-05-25 13:06:27 +03:00
Vitaly Baranov
eeb4cbc433 Fix settings NO_PASSWORD authentication mode in users.xml. 2020-05-25 11:35:26 +03:00
alesapin
73458c1574
Merge pull request #8840 from excitoon-favorites/returnttltests
Revert "Disable some flappy tests"
2020-05-25 11:29:07 +03:00
Alexander Kuzmenkov
8d5bbed2de Merge remote-tracking branch 'origin/master' into HEAD 2020-05-25 06:44:11 +03:00
hcz
f2e3bcdd15 Improve code style in src and test files of Arrow formats 2020-05-25 10:50:55 +08:00
alexey-milovidov
a55a8ba69f
Merge pull request #11158 from ClickHouse/normalize-performance-tests-2
Normalize performance tests 2
2020-05-25 03:49:58 +03:00
Alexey Milovidov
75dbfd4652 Fix flacky test 2020-05-25 01:36:00 +03:00
Alexey Milovidov
8fa637cf73 Fix long tests, part 2 2020-05-24 23:35:49 +03:00
Alexey Milovidov
02500e4b11 Fix long tests 2020-05-24 23:33:13 +03:00
Nikita Vasilev
5801a33b83 Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict 2020-05-24 19:08:07 +03:00
Azat Khuzhin
24271ec50f Test for data skip index over column under aggregation
Affected versions: 19.17.9.60+
2020-05-24 16:12:08 +03:00
Alexey Milovidov
a70b819ca2 Adapted test time 2020-05-24 02:33:47 +03:00
alexey-milovidov
17df54785e
Update merge_table_streams.xml 2020-05-23 23:45:28 +03:00
Azat Khuzhin
9de1a231c9 Add optional default_port argument for the port() function 2020-05-23 23:36:01 +03:00
Azat Khuzhin
aa5247f1fe Get back 01281_group_by_limit_memory_tracking (without flackiness) 2020-05-23 22:57:29 +03:00
Azat Khuzhin
409cff11df Add port() function
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +03:00
alexey-milovidov
08c7277d2b
Merge pull request #11144 from ClickHouse/dont-validate-polygons-in-non-constant-case
Fix performance issue with pointInPolygon
2020-05-23 18:54:50 +03:00
tavplubix
6ece9649f1
Merge pull request #11151 from naorlov/CLICKHOUSE-7224
Add `FailedQuery`, `FailedSelectQuery` and `FailedInsertQuery`
2020-05-23 18:47:44 +03:00
Alexey Milovidov
3b29ea09c1 Fix another strange test 2020-05-23 17:56:35 +03:00
Alexey Milovidov
2c76899f53 Edited strange test 2020-05-23 17:53:54 +03:00
Alexey Milovidov
9d1d7c61d6 Replace hits_1000m to hits_100m 2020-05-23 17:52:32 +03:00
Alexey Milovidov
d019474641 Replace hits_1000m to hits_100m 2020-05-23 17:51:18 +03:00
Alexey Milovidov
1dc284d9f1 Add performance test #10981 2020-05-23 17:41:13 +03:00
Azat Khuzhin
8c69245283 Add a test for max_threads optimization for simple queries 2020-05-23 17:07:43 +03:00
Alexey Milovidov
d5ed38cfe0 Adapted test: do not use points on the edges 2020-05-23 14:27:02 +03:00
Nikita Orlov
d06e7bab7e
issue-7224 Fix failing tests 2020-05-23 13:45:27 +03:00
Nikita Vasilev
d4cc01446c Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict 2020-05-23 13:06:47 +03:00
Nikita Orlov
2545efcf2e
issue-7224 Added tests 2020-05-23 02:03:02 +03:00
Azat Khuzhin
88d08f9f39 Move tests from 00740_optimize_predicate_expression to 01056_predicate_optimizer_bugs 2020-05-23 00:36:30 +03:00
Azat Khuzhin
765ed4f89b Fix 01056_predicate_optimizer_bugs 2020-05-23 00:36:30 +03:00
Azat Khuzhin
f19c619dfe Add test from #10613 for enable_optimize_predicate_expression 2020-05-23 00:36:30 +03:00
Azat Khuzhin
6d40c1ea2c Preserve order of expressions during predicates optimization (enable_optimize_predicate_expression)
Before this patch enable_optimize_predicate_expression changes the
order *every* time, so:
  foo AND bar -> bar AND foo

And this causes troubles for distributed queries, since query on shard
will have different order of expressions with the initiating server.
2020-05-23 00:36:30 +03:00
Alexey Milovidov
c79ded1653 Added performance test for point in const polygon 2020-05-22 22:03:30 +03:00
alesapin
1536be0a13
Merge pull request #11142 from Jokser/register-s3-disk-without-bucket
Create root S3 bucket before any CH instance is started
2020-05-22 20:52:25 +03:00
Alexander Tokmakov
ac54d470da Merge branch 'master' into merging_external_source_cassandra 2020-05-22 17:27:40 +03:00
Alexey Milovidov
490a94105e Two more zeros in performance test 2020-05-22 16:51:04 +03:00
alexey-milovidov
27f365dc10
Merge pull request #11141 from ClickHouse/add-performance-test-non-constant-polygons
Add performance test for non-constant polygons
2020-05-22 16:49:23 +03:00
Pavel Kovalenko
1165c44acf Enable test_replicated_mergee_tree_s3 2020-05-22 14:55:30 +03:00
Pavel Kovalenko
89b9fb6d41 Create 'root' S3 bucket before CH is started. 2020-05-22 14:48:08 +03:00
Alexey Milovidov
e60fee3f3d Add performance test for non-constant polygons 2020-05-22 14:46:54 +03:00
Vitaly Baranov
5a0f356cd6
Merge pull request #11038 from Enmk/parseDateTime64BestEffort_fix
Fixed parseDateTime64BestEffort implementation
2020-05-22 14:40:39 +03:00
Alexey Milovidov
1a5fa0e6fa Remove totally wrong performance test #10623 2020-05-22 14:39:21 +03:00
alexey-milovidov
e5808c6f2f
Merge pull request #11122 from ClickHouse/aku/addr2line
Remove extra copying from addressToLine
2020-05-22 14:16:46 +03:00
alexey-milovidov
b82c633716
Merge pull request #11048 from filimonov/kafka_missed_data_during_drop
Fixes the potential missed data during termination of Kafka engine table
2020-05-22 14:11:10 +03:00
alesapin
138e4562f3 Skip flacky test 2020-05-22 13:38:56 +03:00
Alexey Milovidov
a2fabd7ff0 Remove unreliable test #11119 2020-05-22 12:36:26 +03:00
alesapin
b9dfa61774
Merge pull request #11042 from CurtizJ/modify-ttl
Apply TTL for old data, after ALTER MODIFY TTL query
2020-05-22 11:12:14 +03:00
Alexander Kuzmenkov
322d731d28 Remove extra copying from addressToLine
The line is already serialized to the same arena, so there is no need to
copy it. Also add this function to query profiler test, so that it has
some coverage.
2020-05-22 03:01:35 +03:00
Alexander Kuzmenkov
fecd84d3c0
Merge pull request #10915 from ClickHouse/aku/mongodb-uri
Support MongoDB URI
2020-05-21 23:02:12 +03:00
alexey-milovidov
2d9433242e
Merge pull request #11097 from ClickHouse/azat-memory-tracking-2
Merging #11022
2020-05-21 20:19:59 +03:00
alexey-milovidov
41a3817efa
Merge pull request #11096 from ClickHouse/test-for-ttl-in-system-parts
Test for TTL info in system.parts
2020-05-21 20:19:41 +03:00
Alexander Tokmakov
f40fadc3d6 fix segfault 2020-05-21 18:29:18 +03:00
Vasily Nemkov
403aae9126 Fixed parseDateTime64BestEffort implementation
Fixed argument resolution issues.
Added tests and made sure -orNull and -orZero variants alwo work correctly.
2020-05-21 17:21:39 +03:00
alexey-milovidov
b480f137f3
Merge pull request #10623 from livace/master
Add point in polygon for non-const polygons
2020-05-21 15:18:24 +03:00
alexey-milovidov
569f20e4c6
Merge pull request #11023 from azat/tests-system-log-cleanup
[RFC] Truncate system.*_log tables before each test
2020-05-21 15:14:25 +03:00
Alexey Milovidov
6669607e17 Merge branch 'master' into vectorize-sum 2020-05-21 15:02:51 +03:00
Alexey Milovidov
80c7e85f38 Disable potentially unreliable check 2020-05-21 13:58:05 +03:00
Alexey Milovidov
886266fdad Attempt to fix an error 2020-05-21 13:57:24 +03:00
Alexey Milovidov
1fca0294fe Fix logical error in test 2020-05-21 13:48:48 +03:00
Alexey Milovidov
c816916fba Fix typo 2020-05-21 13:46:36 +03:00
Alexey Milovidov
38f36f6b58 Merge branch 'memory-tracking' of https://github.com/azat/ClickHouse into azat-memory-tracking-2 2020-05-21 13:00:04 +03:00
Alexey Milovidov
7e4cd8f8d4 Test for TTL info in system.parts 2020-05-21 12:55:39 +03:00
Nikolai Kochetov
986dfe79a5
Merge pull request #10858 from azat/min_mv_insert_block_size
[RFC] Introduce min_insert_block_size_{rows,bytes}_for_materialized_views (for MVs)
2020-05-21 12:52:58 +03:00
alexey-milovidov
4a237faede
Merge pull request #11074 from Jokser/memory-leak-in-register-disk-s3
Fix memory leak in registerDiskS3
2020-05-21 12:42:46 +03:00
alexey-milovidov
8c2b7c31a5
Fix too long perf test. 2020-05-21 09:49:15 +03:00
hcz
4effdeaa0e Add tests 2020-05-21 12:13:49 +08:00
Azat Khuzhin
77bdb5f462 Add a test for GROUP BY memory accounting
- GROUP BY
- GROUP BY LIMIT
- GROUP BY MEMORY_LIMIT_EXCEEDED
2020-05-21 02:06:55 +03:00
Alexander Tokmakov
31b6f5f0d2 Merge branch 'master' into merging_external_source_cassandra 2020-05-20 23:44:53 +03:00
Alexander Tokmakov
4b30b3168c try fix build 2020-05-20 23:26:39 +03:00
Alexander Kuzmenkov
09ea7253cd performance test for some functions that use hash tables 2020-05-20 22:37:14 +03:00
kssenii
4dc659b763 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-05-20 18:17:41 +00:00
alexey-milovidov
07924f0ae1
Merge pull request #11029 from azat/system_tables_lazy_load
Disable system_tables_lazy_load by default
2020-05-20 21:15:09 +03:00
Pavel Kovalenko
d98c1589ed Better error handling in Proxy Resolver. 2020-05-20 19:01:05 +03:00
Anton Popov
d62fe980ef Merge remote-tracking branch 'upstream/master' into modify-ttl 2020-05-20 16:52:30 +03:00
Vitaly Baranov
06d18a4378
Merge pull request #11050 from vitlibar/amosbird_betterdictget
dictGet with table name
2020-05-20 14:18:24 +03:00
Vladimir Chebotarev
c0947ab609 Minor fixes in test_ttl_move. 2020-05-20 12:59:06 +03:00
Vladimir Chebotarev
a9a7da8e68 Fixed test_ttl_move::test_alter_multiple_ttls. 2020-05-20 12:59:06 +03:00
Vladimir Chebotarev
b9f35aad02 Revert "Disable some flappy tests"
This reverts commit e6958c0e49.
2020-05-20 12:59:06 +03:00
kssenii
1760f01f74 Add tests for RabbitMQ read-only part 2020-05-20 09:42:56 +00:00
Artem Zuikov
9b38324028
fix JOIN with PREWHERE with second analyze() (#11051) 2020-05-20 12:29:23 +03:00
alesapin
2673c985bd
Merge pull request #11002 from ClickHouse/zookeeper_in_tmpfs_intergration_tests
Add ability to run zookeeper in integration tests with tmpfs
2020-05-20 11:30:13 +03:00
alesapin
dc330ca7cb
Merge pull request #11037 from ClickHouse/alter_rename_and_modify
Fix alter rename with different types of alter
2020-05-20 11:28:13 +03:00
kssenii
41b99edc04 Add base for RabbitMQ integration tests 2020-05-20 09:22:12 +03:00
Anton Popov
bd3e7307d0 fix integration test 2020-05-20 01:43:16 +03:00
Alexander Kuzmenkov
bc34e0ff94 fixup 2020-05-19 23:12:10 +03:00
Vitaly Baranov
57bd7afc03 Fix passing dictionary's name to dictGet() with alias. 2020-05-19 21:17:29 +03:00
Amos Bird
ce3c53a00a dictGet* with table name 2020-05-19 20:33:45 +03:00
Mikhail Filimonov
b50480cbde Fixes the potential missed data during termination of Kafka engine table 2020-05-19 18:55:37 +02:00
Alexander Kuzmenkov
c3d9bb829b performance comparison 2020-05-19 18:28:03 +03:00
alesapin
a17f034271 Bump compose version to 2.3, and make tmpfs for zookeeper optional 2020-05-19 18:27:10 +03:00
Nikolai Kochetov
c147badf4f Merge remote-tracking branch 'upstream/master' into min_mv_insert_block_size 2020-05-19 18:24:21 +03:00
Anton Popov
35b916433a fix TTL with defaults after modify 2020-05-19 16:06:35 +03:00
alesapin
70e5553204 At least something works 2020-05-19 12:54:56 +03:00
Azat Khuzhin
f57ac3d3f0 Update test_part_log_table
- system_tables_lazy_load
- SYSTEM FLUSH LOGS
2020-05-19 10:47:47 +03:00
Azat Khuzhin
249a1eb7f9 Fix test_server_initialization, but looking into default database only 2020-05-19 10:43:37 +03:00
Alexander Tokmakov
175b7aedf3 Merge branch 'master' into merging_external_source_cassandra 2020-05-19 05:21:27 +03:00
Anton Popov
58ed04dc24 materialize TTL after its modifying 2020-05-19 04:53:01 +03:00
Azat Khuzhin
04aa6dd7e3 Update test_system_tables_lazy_load to cover both cases and make it run 2020-05-19 03:03:45 +03:00
Azat Khuzhin
e9dc2cbcf7 Add missing SYSTEM FLUSH LOGS before TRUNCATE TABLE in clickhouse-test
Suggested-by: @filimonov
2020-05-19 01:12:51 +03:00
Azat Khuzhin
bd86f15680 Use QueryFinish over magic const in tests
Find all usages with:
  $ git grep 'type[ ]*=[ ]*2' tests/queries/0_stateless/

Sure this is not all...
2020-05-18 21:18:37 +03:00
Azat Khuzhin
32071ba080 Do not add event_date/event_time condition for system.*_log
Also some of them can be even more simplified, since the system.*_log
are empty most of the time there should not be any conditions at all
(i.e. `query` LIKE and so on).
2020-05-18 21:18:37 +03:00
Azat Khuzhin
bdbfa08e02 Truncate system.*_log by default in tests
Enable it by default due to:
- it is a sane default
- avoids modifying docker images
2020-05-18 21:18:37 +03:00
Vitaliy Zakaznikov
59a1c230cd Fixing tests/queries/0_stateless/00979_live_view_watch_continuous_aggregates.py. 2020-05-18 20:17:29 +02:00
Sofia Antipushina
d2aa881345 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2020-05-18 13:41:03 +03:00
alesapin
b4652625c7 Try to enable skipped tests 2020-05-18 13:02:52 +03:00
alesapin
1ccd4fb978 Add missed drop in test 2020-05-18 12:24:48 +03:00
alesapin
0395f59b73 Just wait slightly more in test 2020-05-18 12:03:51 +03:00
Alexey Milovidov
738842b846 Moved test #4277 to bugs 2020-05-18 09:20:17 +03:00
Alexey Milovidov
daeaa07c90 Merge branch 'pull-4277' 2020-05-18 09:19:23 +03:00
Alexey Milovidov
65e387f1a3 Added a test 2020-05-18 08:03:58 +03:00
Alexey Milovidov
db422434ff Add performance test 2020-05-18 07:55:06 +03:00
alexey-milovidov
893d05c1a0
Merge pull request #10989 from ClickHouse/fix-test-right-join
Fix non-deterministic test
2020-05-18 07:43:12 +03:00
alexey-milovidov
7efd2a825f
Merge pull request #10463 from ClickHouse/parallel-final
Parallel final
2020-05-18 05:20:18 +03:00
Alexey Milovidov
ed6c8054f0 Fix bad test 2020-05-18 03:48:46 +03:00
Andrei Nekrashevich
eba043aaf8 Merge branch 'master' into random_string_utf8_function 2020-05-17 22:53:42 +03:00
alexey-milovidov
f7b1263d41
Merge pull request #10268 from ClickHouse/max-rows-to-sort
Added failing tests about "max_rows_to_sort" setting.
2020-05-17 22:21:30 +03:00
alexey-milovidov
8d3c37992a
Merge pull request #10533 from ClickHouse/alter-key-column-better-exception-message
Better exception message and error code for ALTER of key column #9078
2020-05-17 22:21:14 +03:00
alexey-milovidov
92686fea27
Merge pull request #10974 from ClickHouse/xolm-random_fixed_string_function
Merging  #10866
2020-05-17 22:20:53 +03:00
alexey-milovidov
76dfc37bbf
Merge pull request #10975 from ClickHouse/Potya-master
Merging #10856
2020-05-17 22:20:36 +03:00
Andrei Nekrashevich
9d2801e0d8 fix 2020-05-17 16:07:37 +03:00
alexey-milovidov
7cf3538840
Merge pull request #10270 from ClickHouse/quota-key-in-client
Support quota_key for Native client
2020-05-17 14:09:40 +03:00
Azat Khuzhin
c35c89f61a Add a test for min_insert_block_size_rows_for_materialized_views 2020-05-17 12:19:44 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct 2020-05-17 11:55:01 +03:00
Alexey Milovidov
59b0435547 Fix tests 2020-05-17 11:25:29 +03:00
Alexey Milovidov
c701ccbec0 Merge branch 'master' of https://github.com/Potya/ClickHouse into Potya-master 2020-05-17 11:19:37 +03:00
alexey-milovidov
1bceb48e65
Merge pull request #10920 from ClickHouse/fix-notNullIn-with-null
Fix not null in with null
2020-05-17 11:16:43 +03:00
alexey-milovidov
7ee35f102d
Merge pull request #10867 from azat/dist-INSERT-load-balancing
Respect prefer_localhost_replica/load_balancing on INSERT into Distributed
2020-05-17 11:11:35 +03:00
Alexey Milovidov
157d0b612c Merge branch 'random_fixed_string_function' of https://github.com/xolm/ClickHouse into xolm-random_fixed_string_function 2020-05-17 10:54:48 +03:00
alexey-milovidov
2ec9d1e9ab
Merge pull request #10512 from ClickHouse/fix-ubsan-decimal-parse
Fix UBSan report in Decimal parse
2020-05-17 10:46:03 +03:00
Alexey Milovidov
de8120d69a Improvement; added a test 2020-05-17 10:17:54 +03:00
Alexey Milovidov
20c9c2d3ec Better test 2020-05-17 09:52:33 +03:00
Alexey Milovidov
1ebd71a230 Updated test reference because new result is correct 2020-05-17 09:48:49 +03:00
Alexey Milovidov
df1e1f4638 Merge branch 'master' of github.com:yandex/ClickHouse into max-rows-to-sort 2020-05-17 09:28:23 +03:00
alexey-milovidov
5297d1e86a
Merge pull request #10928 from vitlibar/check-access-once-for-dictget
dictGet() checks access once
2020-05-17 09:27:59 +03:00
Alexey Milovidov
f7087c721e Merge branch 'master' into max-rows-to-sort 2020-05-17 09:08:46 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
Static mutate
2020-05-17 09:05:35 +03:00
alexey-milovidov
261410ff58
Merge pull request #10829 from ClickHouse/variance-nonnegative
Ensure that variance is nonnegative
2020-05-17 09:04:27 +03:00
Alexey Milovidov
47504dc213 Merge branch 'max-rows-to-sort' of github.com:yandex/ClickHouse into max-rows-to-sort 2020-05-17 08:57:42 +03:00
Alexey Milovidov
3742462119 Merge branch 'master' into max-rows-to-sort 2020-05-17 08:56:42 +03:00
Alexey Milovidov
f4ac1eec04 Merge branch 'master' into quota-key-in-client 2020-05-17 08:15:13 +03:00
Alexey Milovidov
7396790bd9 Update tests 2020-05-17 07:47:32 +03:00
Andrei Nekrashevich
675509ed23 Added function randomStringUTF8 2020-05-17 07:43:53 +03:00
alexey-milovidov
0fd0711b51
Merge pull request #10910 from filimonov/kafka_drop_hang_fix
Fix for the hang during deletion of engine=Kafka
2020-05-17 07:13:54 +03:00
Alexey Milovidov
f8a6fa8728 Update test 2020-05-17 06:18:06 +03:00
Alexey Milovidov
7e24492fb9 Added performance test 2020-05-17 06:16:34 +03:00
Alexey Milovidov
b156ac3cc1 Merge branch 'master' into fix-ubsan-decimal-parse 2020-05-17 05:42:24 +03:00
Alexey Milovidov
7df4748753 Merge branch 'master' into variance-nonnegative 2020-05-17 05:00:59 +03:00
Alexander Tokmakov
f89bf6155b fix bad test 2020-05-17 04:16:56 +03:00
Alexey Milovidov
a9f64b4c1c Ensure that the variance is nonnegative 2020-05-16 22:55:38 +03:00
alesapin
d0b56a4c7d
Merge pull request #10887 from ClickHouse/vzakaznikov-add_alter_rename_column_to_distributed
Vzakaznikov add alter rename column to distributed
2020-05-16 12:54:32 +03:00
alesapin
be4037abb5
Merge pull request #10895 from ClickHouse/fix_multiple_renames
Fix error in multiple rename commands in a single query.
2020-05-16 12:54:04 +03:00
Nikolai Kochetov
c957154fef
Merge pull request #10952 from ClickHouse/fix-distributed-queries-incompatibility-19.16-20.1
Fix incompatibility of two-level aggregation between 19.16 and 20.1
2020-05-16 10:17:15 +03:00
Sofia Antipushina
fa38cf780c Add tests for -Distinct combinator 2020-05-16 03:02:55 +03:00
tavplubix
cc4ddfd89e
Merge pull request #10901 from ClickHouse/merging_10554
Merging #10554
2020-05-15 23:23:02 +03:00
Mikhail Filimonov
791f3a6c90 Merge branch 'kafka_drop_hang_fix' of github.com:filimonov/ClickHouse into kafka_drop_hang_fix 2020-05-15 22:20:45 +02:00
Mikhail Filimonov
405cce2c53 Another variant of fix. It looks like we do not need destructor at all 2020-05-15 22:19:21 +02:00
Nikolai Kochetov
fb38c2a30b
Remove experimental_use_processors setting, part 1. (#10924)
Remove experimental_use_processors setting, part 1.
2020-05-15 22:28:10 +03:00
Nikolai Kochetov
7d6ac4a87b Added test. 2020-05-15 22:21:30 +03:00
Nikolai Kochetov
c4a07812f7 Try fix build. 2020-05-15 18:48:19 +03:00
alesapin
6fb9a19a40 Ignore some tests 2020-05-15 17:33:50 +03:00
Anton Popov
c61f1dbac8 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-05-15 16:19:39 +03:00
Anton Popov
11b4bc7189
Merge pull request #10889 from CurtizJ/tuple-literal
Fix backward compatibility with tuples and distributed.
2020-05-15 15:39:03 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10 2020-05-15 14:12:43 +03:00
alesapin
ef1c7da4af
Merge pull request #10757 from ClickHouse/fix-parallel-mv
Fix parallel MV
2020-05-15 14:03:09 +03:00
alesapin
26606dd640 Fix polymorphic parts 2020-05-15 13:36:35 +03:00
Артем Стрельцов
be731ad62e Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct 2020-05-15 12:01:09 +03:00
alexey-milovidov
689b5094f8
Merge pull request #10926 from ClickHouse/test-empty-external-data
Added a test for empty external data
2020-05-15 10:35:20 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
alexey-milovidov
f4d1f7cb2b
Merge pull request #10918 from ClickHouse/fix_01019_alter_materialized_view_consistent
Fix test 01019_alter_materialized_view_consistent
2020-05-15 10:20:00 +03:00
Anton Popov
e8262ccaf6 in-memory parts: add perf test 2020-05-15 03:56:44 +03:00
Anton Popov
14e1a46a8c Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-05-15 03:48:27 +03:00
Anton Popov
4c03f48703 in-memory parts: better restoring 2020-05-15 03:39:15 +03:00
Vitaly Baranov
201c88f64f Get dictionary and check access rights only once per each call of any function reading external dictionaries. 2020-05-15 03:14:14 +03:00
Artem Zuikov
8e8a2a17d6 build fixes 2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) (#10232) 2020-05-15 03:01:14 +03:00
Alexander Tokmakov
6a496ce9dc better test 2020-05-15 00:51:21 +03:00
Anton Popov
4c0cbc78a9 trigger CI 2020-05-14 23:44:52 +03:00
Alexey Milovidov
273267ca8b Added a test for empty external data 2020-05-14 20:36:59 +03:00
alesapin
8eb27f6f13 Fix rename with compact parts 2020-05-14 19:56:13 +03:00
Nikolai Kochetov
b81d96b84e Add test. 2020-05-14 17:27:05 +03:00
potya
dc4af074b2 Remove REAl and INT8, add some tests 2020-05-14 17:11:59 +03:00
alesapin
e5c8c8ca02 Fix test 2020-05-14 15:45:42 +03:00
Alexander Kuzmenkov
99d50063f3 Support MongoDB URI 2020-05-14 14:36:49 +03:00
Vitaly Baranov
c30587196a Add system tables for users, roles and grants. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
b1f362b2dc Add system table for access types. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723 Add system tables for settings profiles. 2020-05-14 14:12:15 +03:00
filimonov
f97c14f7be
bit better comment 2020-05-14 12:18:17 +02:00
Mikhail Filimonov
6499d702f9 After review fixes 2020-05-14 12:15:38 +02:00
Nikolai Kochetov
4d22374f24 Merged with master. 2020-05-14 12:06:15 +03:00
Mikhail Filimonov
a1013f1e71 Fix for the hang during deletion of engine=Kafka 2020-05-14 10:38:02 +02:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues (#10890)
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues

* Try fix build.

* Try fix build.

* Fix build.

* Make convertToValues static.

* fix build.

* Remove const casts.

* Added comment.

* Fix build.

* Fix build.

* Add test.

* Fix test.
2020-05-14 10:59:14 +03:00
Azat Khuzhin
dac0b7d1f5 Create table with the same load_balancing policy in test_insert_distributed_load_balancing 2020-05-14 03:29:03 +03:00
alexey-milovidov
f8195a577c
Merge pull request #10744 from Jokser/s3-proxy-resolver
S3 with proxy resolver
2020-05-14 02:19:10 +03:00
alexey-milovidov
4175167455
Merge pull request #10902 from ClickHouse/recreate-databases-in-tests
clickhouse-test: recreate database for every test
2020-05-14 02:13:06 +03:00
Azat Khuzhin
de1d529e86 Cover nearest_hostname in test_insert_distributed_load_balancing 2020-05-14 01:50:56 +03:00
alexey-milovidov
b3d8c09bfb
Merge pull request #10852 from dgrr/format/multiple-queries
Added multiple query formatting on clickhouse-format
2020-05-14 01:06:44 +03:00
Alexey Milovidov
09c3bb2613 Added a test 2020-05-14 00:37:20 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
Alexey Milovidov
0faf7bc39b clickhouse-test: create unique database for every test (part 2) 2020-05-13 23:17:12 +03:00
Nikolai Kochetov
496d90b613
Merge pull request #10860 from CurtizJ/pk-function
Fix sample with final (addition to #10715)
2020-05-13 23:04:25 +03:00
Alexey Milovidov
6c671eb6a6 clickhouse-test: recreate database for every test (part 1) 2020-05-13 23:03:10 +03:00
Alexander Tokmakov
b1ed51df6e add simple test 2020-05-13 22:47:35 +03:00
alesapin
ab760846c2 Fix some rename cases 2020-05-13 20:43:30 +03:00
Vitaly Baranov
5b84121d81 Improve system tables for quotas. Remove function currentQuota(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6 Improve system table for row policies. Remove function currentRowPolicies(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
9a89a04c1f Improve TSV class in test tools: now it can get a table as a list of lists. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f Refactoring of getting information about access rights. 2020-05-13 19:40:33 +03:00
dgrr
bd77908c93 Added multiline test 2020-05-13 18:31:23 +02:00
potya
1ceabf1e10 at start 2020-05-13 18:49:17 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
alexey-milovidov
0433d9c6fc
Merge pull request #10870 from azat/fix-SIGSEGV-in-hash-table-for-string
Fix SIGSEGV in StringHashTable (if such key does not exist)
2020-05-13 18:40:28 +03:00
alesapin
774f9fccc5
Update test.py 2020-05-13 18:25:55 +03:00
Anton Popov
d13a11b421 fix backward compatibility with tuples and distributed 2020-05-13 17:14:05 +03:00
alesapin
22c7a843a6 Remove already added tests 2020-05-13 16:03:33 +03:00
alesapin
1c4564d9ed Simplify rename tests 2020-05-13 15:56:32 +03:00
alesapin
352c402cf2 Merge branch 'add_alter_rename_column_to_distributed' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-add_alter_rename_column_to_distributed 2020-05-13 14:14:23 +03:00
alesapin
377ef6535d
Merge pull request #10847 from ClickHouse/fix_alter_rename_and_constraints
Fix constraints after column rename
2020-05-13 11:09:55 +03:00
Alexander Tokmakov
032197b015 fix alter and optimize hangs when replica becomes inactive 2020-05-13 10:06:57 +03:00
hcz
4a4914361c Support large tuples in function tupleElement 2020-05-13 11:53:40 +08:00
Alexey Milovidov
3927647fbb Fix test 2020-05-13 06:50:25 +03:00
Alexey Milovidov
32ad64ae01 Fix LIVE VIEW tests 2020-05-13 06:50:14 +03:00
Alexey Milovidov
d52f9d9785 Fix bad test 2020-05-13 06:50:14 +03:00
alexey-milovidov
7fa7afd24d
Merge pull request #10868 from ClickHouse/improve-move-partition-tests
Improve tests for ALTER MOVE
2020-05-13 06:48:37 +03:00
Andrei Nekrashevich
322e5bc4f5 fix issues 2020-05-13 04:22:57 +03:00
Azat Khuzhin
6e11c8a1a2 Add test for missing items in string hashtables via GROUP BY 2020-05-13 03:40:05 +03:00
Andrei Nekrashevich
767a790fce fix issues 2020-05-13 03:20:41 +03:00
Alexey Milovidov
2800df4450 Improve tests for ALTER MOVE 2020-05-13 03:02:53 +03:00
Alexey Milovidov
1b42a6ccdc Fix bad tests 2020-05-13 02:55:16 +03:00
Azat Khuzhin
0ea3411137 Add integration test for load balancing for Distributed INSERT 2020-05-13 02:51:17 +03:00
Alexey Milovidov
c57210736b Merge branch 'master' into fix-infinite-loop-in-test 2020-05-13 02:32:14 +03:00
Andrei Nekrashevich
1d52c1b9d0 Added function randomFixedString 2020-05-13 01:48:55 +03:00
Anton Popov
67213b8ad4 fix sample with final 2020-05-12 21:23:40 +03:00
alesapin
35a9a203f1
Update test.py 2020-05-12 18:01:43 +03:00
Артем Стрельцов
10f6817fdd added new layout to integration test 2020-05-12 18:00:08 +03:00
Nikolai Kochetov
f093c8f206 Fix test. 2020-05-12 17:38:45 +03:00
alesapin
979779e06f Fix constraints after column rename 2020-05-12 14:26:44 +03:00
Alexey Milovidov
c811e1f0d0 Fix double whitespace 2020-05-12 06:41:45 +03:00
alexey-milovidov
75607db571
Merge pull request #10826 from azat/block-sort-fix
Fix columns order after Block::sortColumns()
2020-05-12 06:39:18 +03:00
alexey-milovidov
82668cee6e
Merge pull request #10827 from ClickHouse/fix-logical-error-convert-field-to-type
Fix logical error in convertFieldToType
2020-05-12 05:22:56 +03:00
Anton Popov
a1333895eb
Merge pull request #10791 from oandrew/key-condition-source-type
Use src_type for conversion in KeyCondition
2020-05-12 03:29:43 +03:00
Alexey Milovidov
f61576fdfa Fix logical error in convertFieldToType 2020-05-12 02:53:03 +03:00
Azat Khuzhin
eb97afa9be Add a test for INSERT into Buffer() with different order of columns (via MV) 2020-05-12 02:50:42 +03:00
Vitaliy Zakaznikov
3505ccc2fc Increasing zookeeper_session_timeout setting to 15 sec. 2020-05-11 20:27:19 +02:00
Vitaliy Zakaznikov
1efc372c0c Fixing test_rename_with_parallel_select. 2020-05-11 20:09:45 +02:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +03:00
alexey-milovidov
15e38c8b44
Merge pull request #10563 from azat/SELECT-ALIAS-CAST
Fix SELECT of column ALIAS which default expression type different from column type
2020-05-11 20:20:34 +03:00
Vitaliy Zakaznikov
9780da3e74 Adding more tests to check renaming of columns. 2020-05-11 19:01:06 +02:00
alexey-milovidov
64d19e2984
Merge pull request #10808 from ClickHouse/remove-obsolete-tsan-suppressions
Remove obsolete TSan suppressions
2020-05-11 19:18:34 +03:00
alexey-milovidov
0fe9ed93a6
Update 01132_max_rows_to_read.sql 2020-05-11 12:07:11 +03:00
Alexey Milovidov
7d480ffa3d Added failing tests 2020-05-11 12:06:24 +03:00
Vasily Nemkov
2c2005817f New function toStartOfSecond(DateTime64) -> DateTime64
This funtion nullifies sub-second part of DateTime64 value.
2020-05-11 12:06:06 +03:00
Guillaume Tassery
5b6e9f2a7e offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit 2020-05-11 16:05:44 +07:00
alexey-milovidov
33d491edf3
Merge pull request #10516 from azat/dist-GROUP_BY-sharding_key-fixes
Disable GROUP BY sharding_key optimization by default (and fix for WITH ROLLUP/CUBE/TOTALS)
2020-05-11 12:03:27 +03:00
alexey-milovidov
3a982e01d0
Merge pull request #10803 from ClickHouse/slightly-better-test
Slightly better test
2020-05-11 11:59:40 +03:00
Alexey Milovidov
99e64729bb Remove obsolete TSan suppressions 2020-05-11 10:05:46 +03:00
Alexey Milovidov
89c8581d4e Fix infinite loop in test 2020-05-11 09:15:47 +03:00
alexey-milovidov
06ba85fdf2
Merge pull request #10795 from ClickHouse/list-licenses
Added "system.licenses" table
2020-05-11 09:00:55 +03:00
alexey-milovidov
f400d418df
Merge pull request #10799 from ClickHouse/mv-scalars-flacky-test
Fix flacky test #10603
2020-05-11 08:59:04 +03:00
Alexey Milovidov
3cfb305664 Slightly better test 2020-05-11 08:52:40 +03:00
Guillaume Tassery
9ed397bc2c add tests 2020-05-11 12:48:19 +07:00
Alexey Milovidov
af3287a48b Add MSan suppression for MariaDB Client library 2020-05-11 07:37:30 +03:00
Alexey Milovidov
c5e78d12e7 Merge branch 'master' into list-licenses 2020-05-11 07:35:35 +03:00
Alexey Milovidov
8e551a082c Fix flacky test #10603 2020-05-11 07:33:06 +03:00
Andrew Onyshchuk
1ee875a5fc Add test 2020-05-10 23:15:59 -05:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final 2020-05-11 06:47:44 +03:00
alexey-milovidov
170a341c1f
Trigger CI 2020-05-11 06:40:07 +03:00
alexey-milovidov
27594ff870
Merge pull request #10579 from 4ertus2/some
Test for fixed issue
2020-05-11 06:30:35 +03:00
alexey-milovidov
ddc84163a7
Merge pull request #10486 from azat/dist-send-on-INSERT
Fix distributed send that are scheduled by INSERT query
2020-05-11 06:28:35 +03:00
alexey-milovidov
afd0938b99
Merge pull request #10603 from ClickHouse/fix-mv-scalars
Fix mv scalars
2020-05-11 06:26:19 +03:00
alexey-milovidov
d2c813fa7a
Update 01269_alias_type_differs.sql 2020-05-11 06:23:58 +03:00
Alexey Milovidov
da583760c4 Added "system.licenses" table 2020-05-11 05:39:01 +03:00
Alexey Milovidov
49e57c555d Fixed code; added a test 2020-05-11 03:16:50 +03:00
Alexey Milovidov
2438a510b0 Merge branch 'fuzz_functions' of https://github.com/xolm/ClickHouse into xolm-fuzz_functions 2020-05-11 02:42:55 +03:00
Alexey Milovidov
9654532940 Adjust thresholds in perf test 2020-05-11 00:31:01 +03:00
Andrei Nekrashevich
c3873495c9 fix and performance test template 2020-05-10 22:07:02 +03:00
Nikita Vasilev
607981a458 impr test 2020-05-10 20:32:03 +03:00
Nikita Vasilev
3d41582310 fix 2020-05-10 10:01:10 +03:00
alexey-milovidov
9fbf23bc07
Merge pull request #10782 from ClickHouse/fix-test-query-profiler
Fix flacky test for query profiler
2020-05-10 08:18:44 +03:00
alexey-milovidov
ce671e8b3e
Update 01268_mv_scalars.sql 2020-05-10 05:29:53 +03:00
Alexey Milovidov
668a21b94f Remove racy part of performance-introspection test 2020-05-10 05:25:32 +03:00
Alexey Milovidov
a5ab3f3373 Fix flacky test 2020-05-10 04:25:08 +03:00
Artem Zuikov
f1e331503b Merge branch 'master' into some 2020-05-10 03:46:48 +03:00
Alexey Milovidov
d9257a8682 Merge branch 'arrow-io-format' of https://github.com/FawnD2/ClickHouse into FawnD2-arrow-io-format 2020-05-10 03:26:10 +03:00
alexey-milovidov
b961392871
Merge pull request #10658 from vzakaznikov/fixing_test_00979_live_view_watch_continuous_aggregates
Fixing and re-enabling 00979_live_view_watch_continuous_aggregates.py test.
2020-05-10 03:08:16 +03:00
alexey-milovidov
63c4a7661f
Merge pull request #10715 from CurtizJ/pk-function
Fix usage of primary key wrapped into a function.
2020-05-10 02:08:59 +03:00
Nikolai Kochetov
41baf1ab0f Update tests. 2020-05-09 21:43:16 +03:00
Nikolai Kochetov
264599179f Update test. 2020-05-09 21:43:16 +03:00
Nikolai Kochetov
74b5e19fa5 Added test. 2020-05-09 21:43:16 +03:00
alexey-milovidov
e41e998f4a
Merge pull request #10758 from bgiard/master
Fix serialize/deserialize of denominator of Average functions
2020-05-09 21:22:16 +03:00
Alexey Milovidov
735d04472d Remove flappy test for INSERT INTO LIVE VIEW @vzakaznikov 2020-05-09 21:14:50 +03:00
alexey-milovidov
b707156e09
Trigger CI 2020-05-09 19:19:47 +03:00
alexey-milovidov
7689ec344b
Merge pull request #10766 from ClickHouse/fix-performance-tests-errors
Fix performance test errors
2020-05-09 18:28:01 +03:00
Nikita Vasilev
74d5ed65c1 fix tests 2020-05-09 14:48:33 +03:00
Alexey Milovidov
978d38f34a Raised threshold for one of tests 2020-05-09 04:42:52 +03:00
alexey-milovidov
699ef4ff52
Merge pull request #10741 from hczhcz/patch-0422
Fix OrNull and OrDefault
2020-05-09 04:38:32 +03:00
Alexey Milovidov
666fd29d82 Fix performance test errors 2020-05-09 04:28:31 +03:00
alexey-milovidov
5992bae69a
Merge pull request #10736 from ClickHouse/extract-groups-range-check
Added range check for extractGroups function
2020-05-09 04:21:56 +03:00
Baudouin Giard
be2cf70da8 Fix serialize/deserialize of denominator of Average functions
Use writeBinary/readBinary to serialize/deserialize the denominator of Average functions.

Previously it would be transmitted as an unsigned int, which means its value would get corrupted when doing an avgWeighted over a floating point number.

Note: this commit is not backwards compatible!

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-05-08 15:10:47 -04:00
Nikolai Kochetov
869c933972 Added test. 2020-05-08 19:15:49 +03:00
Ivan
85d783c247
Poco contrib refactoring (#10396)
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Vitaliy Zakaznikov
089371ddfb Reverting test so that it can pass. 2020-05-08 14:48:24 +02:00
Vitaliy Zakaznikov
dd5dd5de32 Updating test_rename_with_parallel_ttl_move to check if parts got moves.
Adding renaming of the time column used inside the TTL expression after insert.
2020-05-08 13:35:50 +02:00
Pavel Kovalenko
5cc0927874 Add comment explaining protocol for proxy resolver configuration. 2020-05-08 14:07:26 +03:00
Pavel Kovalenko
8602f7b47c Minor updates in proxy resolver parameters naming. 2020-05-08 13:58:56 +03:00
Pavel Kovalenko
6165c2aa99 Add possibility to use proxy resolver in DiskS3. 2020-05-08 13:53:12 +03:00
Vitaliy Zakaznikov
eb3c6ca0d8 Adding configuration files. 2020-05-08 12:36:37 +02:00
hcz
8a60e22223 Fix OrNull and OrDefault 2020-05-08 17:52:54 +08:00
Nikolai Kochetov
766ca03d85
Merge pull request #10728 from ClickHouse/fix-10489
Added test for #10721.
2020-05-08 11:58:29 +03:00
Alexey Milovidov
e6b08799a0 Update test 2020-05-08 02:34:48 +03:00
Alexey Milovidov
a366e6924b Fix typo in test 2020-05-08 02:33:31 +03:00
Alexey Milovidov
1f0d95e5c3 Added range check for extractGroups function 2020-05-08 02:31:15 +03:00
Alexander Tokmakov
2cb4c91c02 fix dockerfiles 2020-05-08 00:08:19 +03:00
Vitaliy Zakaznikov
65f139f374 Adding more integration tests for alter rename column. 2020-05-07 21:00:17 +02:00
Vitaliy Zakaznikov
6d071c430e Adding stateless test for alter rename column on a distributed table. 2020-05-07 19:39:33 +02:00
Nikolai Kochetov
9605e80a8e Added test. 2020-05-07 18:26:57 +03:00
Vitaliy Zakaznikov
abe28968f4 Adding tests. 2020-05-07 15:50:42 +02:00
Nikolai Kochetov
6ef3400894 Added test. 2020-05-07 16:14:16 +03:00
Anton Popov
5fe74b1a3e
Merge pull request #10686 from CurtizJ/fix-nultiple-sets
Fix multiple usages of 'IN' operator
2020-05-07 15:39:41 +03:00
alexey-milovidov
3e583ef45e
Merge pull request #10712 from ClickHouse/merging-extract-groups
Merging #10534
2020-05-07 15:34:41 +03:00
alexey-milovidov
9ef730b7a6
Merge pull request #10553 from qoega/curl-no-curlrc
Add -q option to curl requests to disable .curlrc use on developer servers
2020-05-07 15:18:56 +03:00
Ilya Yatsishin
22a908a5cc
remove unnecessary change 2020-05-07 14:53:40 +03:00
tavplubix
04a24c59dc
Add tests with DatabaseAtomic (#10714)
* add tests with DatabaseAtomic

* fix
2020-05-07 14:29:58 +03:00
Alexey Milovidov
d98bc1175c Added another test 2020-05-07 04:39:25 +03:00
Alexey Milovidov
861237f225 Update test 2020-05-07 04:33:53 +03:00
Alexey Milovidov
05077fed34 Changed tabs to spaces in test 2020-05-07 04:00:34 +03:00
Alexey Milovidov
15c1c96a4b Added performance test 2020-05-07 03:59:04 +03:00
alexey-milovidov
9c17bbf541
Merge pull request #10713 from ClickHouse/mark-variable-performance-tests
Mark some performance tests with very high variance
2020-05-07 02:49:58 +03:00
Anton Popov
e3a8712e15 added a test from @cloudXane 2020-05-07 01:48:44 +03:00
Anton Popov
cbbd8e521c fix usage of primary key wrapped into a function with 'FINAL' modifier and 'ORDER BY' optimization 2020-05-07 01:27:35 +03:00
alexey-milovidov
eeac7aa313
Merge pull request #10622 from kekekekule/layout_direct
Add direct layout for dictionaries
2020-05-07 01:05:29 +03:00
alexey-milovidov
d0b61f9d61
Merge pull request #10711 from ClickHouse/h3-range-check
Range check in function h3EdgeAngle
2020-05-07 01:00:57 +03:00
Артем Стрельцов
b2993c314c fixes relevant to review 2020-05-07 00:59:31 +03:00
Alexey Milovidov
665c9270ca Fix error in performance test 2020-05-07 00:57:26 +03:00
Alexey Milovidov
6e2505210f Mark some performance tests with very high variance 2020-05-07 00:53:25 +03:00
Alexey Milovidov
786e08c401 Mark some performance tests with very high variance 2020-05-07 00:52:03 +03:00
alexey-milovidov
4df7dd8c2b
Merge pull request #10656 from azat/kafka-consumer-hang
Kafka cleanup
2020-05-07 00:20:31 +03:00
alexey-milovidov
75b0303903
Merge pull request #10684 from ClickHouse/fix_7939
Fix http readonly request stucks on client close
2020-05-06 23:01:45 +03:00
Alexey Milovidov
97211e56d3 Added a test 2020-05-06 22:38:02 +03:00
Anton Popov
2be5c7c420
Merge pull request #10704 from CurtizJ/polymorphic-parts-2
Add perf test for different part types
2020-05-06 22:33:16 +03:00
alexey-milovidov
01e7c6bbcf
Merge pull request #10534 from Enmk/multiExtractAll
extractAllGroups(haystack, re_needle) function
2020-05-06 22:23:36 +03:00
Nikolai Kochetov
ff8014fa39 Try fix perftest. 2020-05-06 21:53:40 +03:00
alexey-milovidov
e4b3234df9
Merge pull request #10664 from ClickHouse/fix-10655
Fix 10655
2020-05-06 21:34:10 +03:00
alexey-milovidov
f2705cf608
Merge pull request #10698 from ClickHouse/fix-10674
Do not filter totals
2020-05-06 21:30:11 +03:00
Anton Popov
387041a97e Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-05-06 19:22:07 +03:00
Anton Popov
80cf8881da add perf test for different part types 2020-05-06 18:52:56 +03:00
Alexander Tokmakov
00458c9a7d trigger CI 2020-05-06 15:31:50 +03:00
Nikolai Kochetov
b662b02f8c Added test. 2020-05-06 15:17:17 +03:00
Anton Popov
4878c91d07 in-memory parts: better restore from wal 2020-05-06 14:57:38 +03:00
Nikolai Kochetov
bd9df858ed
Merge pull request #10660 from ClickHouse/fix-10566
Fix 10566
2020-05-06 11:56:44 +03:00
alexey-milovidov
b33fd6f2ee
Trigger CI 2020-05-06 05:15:57 +03:00
alexey-milovidov
935132480a
Merge pull request #10670 from vzakaznikov/fix_01246_insert_into_watch_live_view
Trying to fix tests/queries/0_stateless/01246_insert_into_watch_live_view.py test
2020-05-06 05:12:31 +03:00
Anton Popov
19528007fd fix multiple usages of 'IN' operator with the same set 2020-05-06 03:57:44 +03:00
Артем Стрельцов
1428188e21 fixed test for direct layout & fixed data load for FileDictionarySource 2020-05-06 03:52:13 +03:00
Артем Стрельцов
50d2b4c26f code review fixes & added exception in case lifetime parameter presence in config 2020-05-06 02:43:06 +03:00
Alexander Tokmakov
d35150ecf3 fix http readonly request stucks on client close 2020-05-05 23:32:34 +03:00
FawnD2
a228d1d60d Rename tests 2020-05-05 18:58:23 +03:00
FawnD2
ea87bd1c64 Merge branch 'master' into arrow-io-format 2020-05-05 18:52:44 +03:00
DoomzD
26424ec388 Add perftest for pointInPolygon 2020-05-05 17:46:23 +03:00
Vasily Nemkov
87b2d90725 extractAllGroups(haystack, re_needle) function
Function that extracts from haystack all matching non-overlapping groups with regular expressions,
and put those into Array(Array(String)) column.

Example:
:) SELECT extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)');

┌─extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)')─┐
│ [['abc','def','"jkl mno"'],['111','222','"444 foo bar"']]                                      │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
2020-05-05 17:41:31 +03:00
FawnD2
b8dd822ebc Remove stateful test 2020-05-05 15:57:56 +03:00
alexey-milovidov
c54f6d5a66
Merge pull request #10546 from kyprizel/master
Lexer, ast, checksum and column specs fuzzers added
2020-05-05 14:50:55 +03:00
FawnD2
67d4e51e7e Add tests 2020-05-05 05:06:19 +03:00
Vitaliy Zakaznikov
23021b7af1 Trying to fix tests/queries/0_stateless/01246_insert_into_watch_live_view.py 2020-05-04 21:28:08 -04:00
Anton Popov
b3cfce523c in-memory parts: test for basic functionality 2020-05-05 04:24:51 +03:00
alexey-milovidov
09756a036a
Merge pull request #10645 from ClickHouse/check-suspicious-codecs
Check for suspicious codecs #4966
2020-05-04 23:33:59 +03:00
alexey-milovidov
d37cb297bc
Merge pull request #10039 from abyss7/pytest
Add new build for query tests using pytest
2020-05-04 23:18:02 +03:00
Nikolai Kochetov
22d3bba59a Added perftest. 2020-05-04 21:14:31 +03:00
Nikolai Kochetov
84ea10cc0a Added test. 2020-05-04 20:25:50 +03:00
Vitaliy Zakaznikov
2568588f4e Removing hex output in exceptions in uexpect.py.
Fixing and re-enabling 00979_live_view_watch_continuous_aggregates.py test.
2020-05-04 12:03:52 -04:00
Azat Khuzhin
7ab0c3493c Add integration test for kafka consumer hang
This test triggers heartbeat failrues which leads to
REBALANCE_IN_PROGRESS which causes hang.
2020-05-04 18:46:30 +03:00
Alexey Milovidov
7ddad8cc01 Fix integration test 2020-05-04 17:51:29 +03:00
Alexey Milovidov
8a8014fa39 Added a test 2020-05-04 17:46:11 +03:00
Alexey Milovidov
301c6137e4 Better exception messages; fixed error; updated tests 2020-05-04 17:25:54 +03:00
Azat Khuzhin
fc5f0bfe52 Enable librdkafka debugging in test_storage_kafka 2020-05-04 17:23:09 +03:00
Azat Khuzhin
12871bf26e Drop resolved TODO from test_storage_kafka 2020-05-04 17:23:09 +03:00
Alexey Milovidov
c52ab89918 Fix OOM in ASan stress test 2020-05-04 03:36:55 +03:00
alexey-milovidov
788b436275
Merge pull request #10640 from ClickHouse/fix-http-code-parse-error
Fix http code in case of some parse errors.
2020-05-04 02:00:47 +03:00
alexey-milovidov
72ca31511f
Merge pull request #10604 from vzakaznikov/fix_timeouts_in_new_live_view_tests
Fixing hard coded timeouts in new live view tests.
2020-05-04 01:55:35 +03:00
Alexey Milovidov
12f1b055be Added a test #10636 2020-05-03 23:51:52 +03:00
Nikolay Degterinsky
a3e557a5d2 documentation is added & added 'direct' layout into integragion test 2020-05-03 15:55:22 +03:00
Nikolay Degterinsky
2b46159a6f Merge branch 'layout_direct' of github.com:kekekekule/ClickHouse into dict_direct 2020-05-03 15:12:39 +03:00
Azat Khuzhin
14fccf572f Fix false-positive failures of the test_distributed_storage_configuration
After first INSERT for disk2 there should not be created any per-shard
directory, so find(1) should report an error, like:

  find: '/disk2/data/test/dist_foo/default@127%2E0%2E0%2E2:9000': No such file or directory"

But sometimes output can be fixed, and output of wc(1) will goes first
and python's int() will parse it and not fail, but if find(1) stderr
will goes first the int() will fail to parse.

And here is an example of such mixing:

  $ docker run --name alpine --rm -it alpine top
  $ docker exec alpine sh -c 'echo foo >&2 | wc -c'
  foo
  0
  $ docker exec alpine sh -c 'echo foo >&2 | wc -c'
  0
  foo
2020-05-03 14:48:00 +03:00
Azat Khuzhin
0a75dc626b Add some comments int test_distributed_storage_configuration 2020-05-03 14:46:44 +03:00
alexey-milovidov
e6a8521dc9
Trigger CI 2020-05-03 04:46:06 +03:00
Артем Стрельцов
d05f82a82a forgot to update the correct answer... 2020-05-03 02:35:43 +03:00
alexey-milovidov
a235533d5f
Merge pull request #10576 from Jokser/s3-with-dynamic-proxies
S3 with dynamic proxy configuration
2020-05-03 01:25:13 +03:00
alexey-milovidov
67efc7f066
Merge pull request #10560 from Enmk/DateTime64_fixes
Fixed comparing DateTime64 in WHERE against String value
2020-05-03 00:54:11 +03:00
Артем Стрельцов
c82b1fc0fe fixed (hope) test flapping 2020-05-02 23:26:22 +03:00
Alexey Milovidov
a473c0397d Disable flacky test #10576 2020-05-02 23:18:41 +03:00
alexey-milovidov
db4c2352e1
Merge pull request #10569 from zhang2014/fix/ISSUES-10551
ISSUES-10551 add backward compatibility for create bloom filter index
2020-05-02 22:25:29 +03:00
alexey-milovidov
250a44a47f
Merge pull request #10607 from Avogar/json_as_string_format
Add JSONAsStringRowInputFormat
2020-05-02 22:17:22 +03:00
alexey-milovidov
229f666dea
Merge pull request #10611 from azat/optimize_skip_unused_shards-LowCardinality
Fix optimize_skip_unused_shards with LowCardinality
2020-05-02 22:14:33 +03:00
alexey-milovidov
ea7038b1b0
Update 01270_optimize_skip_unused_shards_low_cardinality.sql 2020-05-02 22:14:20 +03:00
alexey-milovidov
d38ea6fc1c
Merge pull request #10608 from ClickHouse/fix_drop_dns_cache
Improve DROP DNS CACHE
2020-05-02 22:10:58 +03:00
Артем Стрельцов
5ba6572210 fixed problem with dictGetString and Float32 2020-05-02 20:58:24 +03:00
Vitaliy Zakaznikov
fb4d8d7495 Removing extra expect in tests/queries/0_stateless/01246_insert_into_watch_live_view.py 2020-05-02 12:17:16 -04:00
Vitaliy Zakaznikov
fa17d9f487 Updating again tests/queries/0_stateless/01246_insert_into_watch_live_view.py. 2020-05-02 12:15:26 -04:00
alexey-milovidov
7769ff5bc9
Merge pull request #10617 from ClickHouse/lower-memory-usage-in-tests
Lower memory usage in tests
2020-05-02 14:40:07 +03:00
Alexey Milovidov
baf9cc99df Update test reference 2020-05-02 14:38:53 +03:00
Артем Стрельцов
a012c18240 improved test to cover more cases 2020-05-02 14:31:07 +03:00
Vitaliy Zakaznikov
e8e94b53bf Updating tests/queries/0_stateless/01246_insert_into_watch_live_view.py 2020-05-02 07:28:52 -04:00
Alexey Ilyukhov
c12cd35099 Add point in polygon for non-const polygons 2020-05-02 11:46:18 +03:00
Артем Стрельцов
25d7f76e4f fixed bug & created functional test for new layout 2020-05-02 04:03:29 +03:00
Vitaliy Zakaznikov
9cbadbf7d7 Increasing number of requests HTTP server can serve in case
more than one connection is needed for the query.
2020-05-01 19:13:50 -04:00
alexey-milovidov
ddefb89d86
Update 00154_avro.sql 2020-05-01 23:13:18 +03:00
Alexander Kazakov
e9baaa439b
Implementation of new system metrics provider (Procfs) (#10544)
* New metrics provider (Procfs) + Refactored TasksStatsCounters

* Trivial statless test that ProcFS is provided

* Trivial perf test for ProcfsMetricsProvider

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-05-01 21:47:41 +03:00
Alexey Milovidov
c15fe728fd Lower memory usage in tests #10277 2020-05-01 21:26:52 +03:00
Avogar
697d5b07ce Fix build and style errors. Update test. 2020-05-01 19:41:14 +03:00
Vitaliy Zakaznikov
7fabd54c2b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix_timeouts_in_new_live_view_tests 2020-05-01 11:41:44 -04:00
Vitaliy Zakaznikov
71e8e23bde Adding missing expect to the 01246_insert_into_watch_live_view test. 2020-05-01 11:39:00 -04:00
Vitaliy Zakaznikov
47ce872296 Fixing hard coded timeouts in new live view tests. 2020-05-01 11:39:00 -04:00
alesapin
ed46b98dc4 Change port for internal http server in 00646 test 2020-05-01 16:43:18 +03:00
Alexey Milovidov
4933a6a974 Temporarily remove live view tests #10604 (waiting for fix) 2020-05-01 16:15:06 +03:00
Vasily Nemkov
86edceeb81 Comparison between DateTime64 and String values (just like for DateTime) 2020-05-01 15:52:18 +03:00
Alexander Kuzmenkov
f4aac4322c Add performance test for sumMap(Tuple). 2020-05-01 10:48:45 +03:00
Azat Khuzhin
c648c300bf Fix optimize_skip_unused_shards with LowCardinality 2020-05-01 02:39:58 +03:00
Alexander Tokmakov
9ca144cab9 drop access cache on DROP DNS CACHE 2020-05-01 01:29:47 +03:00
Nikita Vasilev
8e3442bae4 complex_key_test 2020-04-30 23:51:06 +03:00
Avogar
6464a1a902 Add JSONAsStringRowInputFormat 2020-04-30 23:16:09 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00
Nikolai Kochetov
047a78046e Try make tests faster. 2020-04-30 20:58:09 +03:00
Anton Popov
aa723d245f Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-04-30 18:27:39 +03:00
Yatsishin Ilya
58ddff7f2f use -q parameter for curl 2020-04-30 17:06:20 +03:00
Vitaliy Zakaznikov
f2d8ac7ece Increasing timeout when opening a client in tests/queries/0_stateless/helpers/client.py. 2020-04-30 09:46:36 -04:00
Nikolai Kochetov
19dadb8c2d Add parallel final. 2020-04-30 12:59:08 +03:00
alesapin
15e8f37839
Merge pull request #10531 from CurtizJ/polymorphic-parts-2
Fix index corruption in merges with compact parts.
2020-04-30 12:15:25 +03:00
alesapin
8ce4f3510a
Merge pull request #10562 from azat/clickhouse-test-python2
Force clickhouse-test to use python2
2020-04-30 12:11:11 +03:00
Alexander Kuzmenkov
7f5b57c6c5
Merge pull request #10559 from ClickHouse/aku/summap-experiment
Merge pull request #10000 (sumMap for Tuple argument)
2020-04-30 11:56:04 +03:00
alesapin
5e2afad549
Merge pull request #10477 from ClickHouse/refactor_istorage
Remove getColumn and hasColumn from IStorage, better virtuals.
2020-04-30 10:42:52 +03:00
Azat Khuzhin
faea8afa22 Revert behaviour with duplicates in 01213_optimize_skip_unused_shards_DISTINCT
Since now optimization is done only under
optimize_distributed_group_by_sharding_key.
2020-04-30 10:13:19 +03:00
Alexander Kuzmenkov
a3843e1f42 performance comparison 2020-04-30 08:10:34 +03:00
Alexander Kuzmenkov
d952e5aba2 performance comparison 2020-04-29 20:26:28 +03:00
Anton Popov
42997bce86 im-memory parts: replication 2020-04-29 20:14:49 +03:00
alesapin
69fdf2a6a3 Review fixes and better test 2020-04-29 15:15:23 +03:00
Artem Zuikov
5fc28edb16 test fo fixed issue #7798 2020-04-29 14:37:30 +03:00
Nikolai Kochetov
a9d63d4520
Merge pull request #10498 from vzakaznikov/insert_into_watch_from_live_view
Adding support for INSERT INTO table WATCH query to build streaming systems using LIVE VIEW tables
2020-04-29 12:15:54 +03:00
Pavel Kovalenko
e5e84960ea S3 with proxy integration test and fixes. 2020-04-29 11:40:29 +03:00
Alexander Kuzmenkov
15e94d3de9 performance comparison 2020-04-29 09:30:37 +03:00
zhang2014
8ac709b5d3 ISSUES-10551 add backward compatibility for create bloom filter index 2020-04-29 11:57:28 +08:00
Anton Popov
1789d6fa82 add a test just in case 2020-04-29 02:07:11 +03:00
Azat Khuzhin
038235684d Add optimize_distributed_group_by_sharding_key and disable it by default
I know at least one way to fool that optimization, by using as sharding
key something like `if(col1>0, col1, col2)` (although this is not common
sharding key I would say, but can be useful if this will work
correctly), so let's disable it by default.
2020-04-29 00:09:25 +03:00
Azat Khuzhin
989ae58a0c Force clickhouse-test to use python2 2020-04-28 22:45:22 +03:00
Azat Khuzhin
007170481a Add a test for ALIAS with type different to the type of column 2020-04-28 22:42:21 +03:00
Vitaliy Zakaznikov
4749122734 Adding support to auto set output_format_enable_streaming option
based on the query type.
2020-04-28 17:50:50 +02:00
Artem Zuikov
e34a9457e6
Improve right table insert for Partial MergeJoin on disk (#10467) 2020-04-28 16:55:50 +03:00
Eldar Zaitov
f40603441b Add miniman fuzzing documentation, fix code style. 2020-04-28 13:34:57 +03:00
tavplubix
11c3493676
Merge pull request #10547 from ClickHouse/zhang2014/feature/ISSUES-5436
Merging #7572
2020-04-28 12:40:48 +03:00
Alexander Kuzmenkov
ed1576507b performance comparison 2020-04-28 10:45:56 +03:00
Eldar Zaitov
670ed4bf1b lexer, ast, checksum and column specs fuzzers added 2020-04-28 02:12:18 +03:00
Alexander Tokmakov
5a1d22a363 remove redundant configs from test 2020-04-28 02:05:15 +03:00
Alexander Tokmakov
e72a484beb minor fixes 2020-04-28 02:05:15 +03:00
Vitaliy Zakaznikov
2312c097ea Merge branch 'insert_into_watch_from_live_view' of https://github.com/vzakaznikov/ClickHouse into insert_into_watch_from_live_view 2020-04-27 17:34:47 +02:00
Vitaliy Zakaznikov
9d28066539 Adding 00979_live_view_watch_continuous_aggregates.py test. 2020-04-27 17:34:12 +02:00
Nikolai Kochetov
32baa073b5 Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view 2020-04-27 17:49:50 +03:00
Anton Popov
eaf80c5f18 add integration test for compact parts 2020-04-27 16:37:05 +03:00
Alexey Milovidov
f34a6dc482 Added a test for #4469 2020-04-27 16:13:23 +03:00
Vitaliy Zakaznikov
26532f4617 Updating 01247_insert_into_watch_live_view_url.py to fix hanging
issue if for some reason test fails.
2020-04-27 14:02:37 +02:00
zhang2014
81230944a4 ISSUES-5436 add integration test 2020-04-27 18:49:32 +08:00
alexey-milovidov
436e4e3f5e
Merge pull request #10502 from oandrew/avro-nested2
Avro nested fields - support complex types
2020-04-27 13:44:58 +03:00
alexey-milovidov
4a60cc6b2c
Merge pull request #10515 from ClickHouse/compare-date-time-with-string-literal
Use time zone when comparing DateTime with string literal
2020-04-27 13:10:27 +03:00
Azat Khuzhin
4e09d812ef Add a test for GROUP BY sharding_key optimization over Distributed-on-Distributed 2020-04-27 01:31:00 +03:00
Azat Khuzhin
20b4eed9a1 Disable GROUP BY sharding_key optimization for WITH ROLLUP/CUBE/TOTALS 2020-04-27 01:30:54 +03:00
Alexey Milovidov
73b5df4de5 Added a test from @reqq #5155 2020-04-27 01:19:20 +03:00
Alexey Milovidov
cac130ad3b Use time zone when comparing DateTime with string literal 2020-04-27 01:13:51 +03:00
Alexey Milovidov
2f06a7b4c1 Added a test from @baloo-bear #5873 2020-04-27 00:26:03 +03:00
Alexey Milovidov
d40fb6b5d3 Added a test from @nvartolomei #6229 2020-04-27 00:09:30 +03:00
alexey-milovidov
11bb3e3afa
Merge pull request #10513 from ClickHouse/fix-fractional-timezones-overflow
Fix overflow at beginning of unix epoch for fractional timezones
2020-04-26 21:33:53 +03:00
alexey-milovidov
fe4992741c
Merge pull request #10514 from ClickHouse/move-old-bug-to-test
Move old bug to test
2020-04-26 21:33:07 +03:00
alexey-milovidov
c6ae6a7ba8
Merge pull request #10418 from ClickHouse/fix_logical_error_in_diagnostic_info
Better diagnostic info in input formats
2020-04-26 20:26:59 +03:00
alexey-milovidov
4c17542096
Merge pull request #10465 from kekekekule/ddl_settings
Add custom settings support in DDL-queries for CREATE DICTIONARY
2020-04-26 20:25:29 +03:00
alexey-milovidov
0a9bcae0ed
Merge pull request #10511 from ClickHouse/fix-ubsan-datetime64
Fixed UBSan for DateTime64; added a test
2020-04-26 20:17:01 +03:00
Alexey Milovidov
38e55c7883 Move old bug to test 2020-04-26 19:39:48 +03:00
Alexey Milovidov
1a4181b4ac Removed already fixed bug (already having a test) 2020-04-26 19:34:33 +03:00
Alexey Milovidov
08d8c350b7 Fix overflow at beginning of unix epoch for fractional timezones #9335 2020-04-26 19:22:44 +03:00
Alexey Milovidov
79af5cd0ae Fix UBSan report in Decimal parse 2020-04-26 18:48:30 +03:00
Alexey Milovidov
a70637ab4b Fixed UBSan; added a test 2020-04-26 17:57:45 +03:00
alexey-milovidov
62e2f10959
Merge pull request #10474 from hczhcz/patch-0422
Fix overflow in simpleLinearRegression
2020-04-26 17:34:57 +03:00
Vitaliy Zakaznikov
f35c7a8bf0 Updating 01247_insert_into_watch_live_view_url to check
CSV, JSONEachRow and JSONEachRowWithProgress output formats
2020-04-26 16:23:55 +02:00
Vitaliy Zakaznikov
369b4d53ef Adding support for output_format_enable_streaming format setting. 2020-04-26 15:44:11 +02:00
Vitaliy Zakaznikov
cf8bc71b21 Adding support to set HTTP_SERVER_HOST using an env variable of the same name. 2020-04-26 14:04:28 +02:00
Vitaliy Zakaznikov
c09126e80f Updating 01247_insert_into_watch_live_view_url.py test
Updating httpechoserver.py
2020-04-26 13:48:43 +02:00
Alexey Milovidov
1f0bd79d37 Update test 2020-04-26 04:15:35 +03:00
Alexey Milovidov
6bedcfc3f0 Update test 2020-04-26 04:08:19 +03:00
Alexey Milovidov
d01bd44f14 Merge branch 'master' into execute-query-flush-format-2 2020-04-26 03:31:46 +03:00
alexey-milovidov
8820b43606
Merge pull request #10479 from Avogar/markdown_format
Markdown format
2020-04-26 03:25:48 +03:00
Andrew Onyshchuk
e7ba75ce98 Avro nested fields - support complex types 2020-04-25 17:42:49 -05:00
Vitaliy Zakaznikov
f571a6b229 Adding 01247_insert_into_watch_live_view_url.py test case. 2020-04-25 17:21:36 -04:00
Vitaliy Zakaznikov
edc3268851 Adding 01246_insert_into_watch_live_view.py test case. 2020-04-25 11:03:42 -04:00
Avogar
13f6981bb0 Update markdown test reference 2020-04-25 00:17:33 +03:00
tavplubix
7928f2eaa1
Merge pull request #7512 from ClickHouse/database_atomic
DatabaseAtomic
2020-04-24 22:28:18 +03:00
Alexander Tokmakov
53dcce55e9 better diagnostic info in input formats 2020-04-24 15:03:48 +03:00
hcz
541cd638ba Fix overflow in simpleLinearRegression 2020-04-24 16:33:09 +08:00
Артем Стрельцов
69fef04a4b added test 2020-04-24 02:12:45 +03:00
Alexander Kuzmenkov
1bf02d459c performance comparison 2020-04-23 23:19:04 +03:00
Alexander Tokmakov
04d6b59ac0 Merge branch 'master' into database_atomic 2020-04-23 17:31:37 +03:00
Ivan Lezhankin
7cc0ad2884 Merge branch 'master' into pytest 2020-04-23 13:34:51 +03:00
alexey-milovidov
1ecfa27cd3
Merge pull request #10441 from ClickHouse/remove_casts_from_defaults
Remove CAST from DEFAULT expressions during table creation.
2020-04-23 12:36:12 +03:00
zhang2014
0070f75218 ISSUES-5436 fix integration test failure & add test 2020-04-23 17:11:20 +08:00
alexey-milovidov
829a7a551c
Merge pull request #10446 from CurtizJ/fix-mysql-test
Fix mysql integration test
2020-04-23 00:25:25 +03:00
Alexander Tokmakov
1833ac7f16 fixes 2020-04-22 23:43:10 +03:00
Alexander Kuzmenkov
11f07a32f3 performance comparison 2020-04-22 23:17:52 +03:00
Nikita Mikhaylov
3cf2016867
Merge pull request #10188 from nikitamikhaylov/quorum_bug
insert_quorum vs drop partition or ttl
2020-04-23 00:11:57 +04:00
Anton Popov
47213ebfe1 fix mysql test 2020-04-22 23:09:07 +03:00
alesapin
dadeb3d8b9 Remove casts from tests references 2020-04-22 20:14:34 +03:00
alexey-milovidov
f5fe39944e
Merge pull request #10431 from zhang2014/fix/ISSUES-9623
ISSUES-9623 add some check for BloomFilter index
2020-04-22 20:04:13 +03:00
Nikita Mikhaylov
f1ee08778f
Merge pull request #10414 from nikitamikhaylov/copier-sample-offset
cluster copier with sample offset
2020-04-22 20:31:17 +04:00
alesapin
45b8cb5b37 Remove casts from table creation by default 2020-04-22 17:29:38 +03:00
Alexander Tokmakov
fefbbd37df Merge branch 'master' into database_atomic 2020-04-22 17:02:30 +03:00
Nikita Mikhaylov
1d5d6582a0 fix test 2020-04-22 14:35:18 +03:00
zhang2014
0a0555d4d7 ISSUES-9623 fix failure test case 2020-04-22 18:34:42 +08:00
zhang2014
bfb87f0eab ISSUES-9623 check the number and type of arguments when creating BloomFilter index 2020-04-22 16:17:09 +08:00
Nikita Vasilev
464c90a486 Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict 2020-04-22 10:27:20 +03:00
alexey-milovidov
7065a8ba9c
Merge pull request #10422 from azat/fallback_to_stale_replicas-over-skip_unavailable_shards
Prefer fallback_to_stale_replicas over skip_unavailable_shards
2020-04-22 09:20:25 +03:00
Alexey Milovidov
e6acb35d95 Added a fix from Vadim Plakhtinskiy @VadimPlh 2020-04-22 07:32:05 +03:00
alexey-milovidov
eb0a1ec755
Merge pull request #10415 from azat/dict-load-after-detach-attach
Fix dictionary name (RELOAD and system.dictionaries) after DETACH/ATTACH
2020-04-22 06:57:08 +03:00
alexey-milovidov
7690c34e5b
Merge pull request #10424 from ClickHouse/tsv-bom-extra-case
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 06:56:43 +03:00
Alexey Milovidov
0c9a2e8132 Fix test 2020-04-22 06:42:10 +03:00
Alexander Kuzmenkov
d1c5e38a21
Merge pull request #10385 from CurtizJ/tuple-literal
Parse tuples of tuples as literals
2020-04-22 05:49:14 +03:00
Alexander Kuzmenkov
627dfe103f performance comparison 2020-04-22 04:50:21 +03:00
Alexey Milovidov
0a9c49beee Added a test from @filimonov #9936 2020-04-22 03:48:03 +03:00
alexey-milovidov
484de2abac
Merge pull request #10407 from qoega/negative_generate_random_tests
Add negative tests for randomGenerate
2020-04-22 03:31:14 +03:00
alexey-milovidov
91d9b26ab4
Merge pull request #10404 from ClickHouse/test_for_distributed_alter
Add test for alter on cluster
2020-04-22 03:30:55 +03:00
Alexey Milovidov
e8a9c7d518 Allow to parse BOM in TSV if the first column cannot contain BOM in its value 2020-04-22 02:46:42 +03:00
Alexey Milovidov
8df64543b7 Added a test from Mr.CHU @chu1070y #9270 2020-04-22 02:11:16 +03:00
Azat Khuzhin
e0f58b1ca1 Cover fallback_to_stale_replicas in conjunction with skip_unavailable_shards 2020-04-22 01:47:22 +03:00
alexey-milovidov
fcf5c3c6e1
Merge pull request #10399 from ClickHouse/fix-distributed_group_by_no_merge-segfault
Fix segfault with distributed_group_by_no_merge
2020-04-22 01:28:02 +03:00
Alexey Milovidov
561702c264 Added a test from Konstantin Podshumok #9068 2020-04-22 01:20:05 +03:00
Azat Khuzhin
2fa933a73e Cover creating of dictionary without db name 2020-04-21 21:02:36 +03:00
Azat Khuzhin
6f6b198fb2 Cover dictionary loading after DETACH/ATTACH DATABASE
This is the case when the server is starting.
2020-04-21 21:02:36 +03:00
Nikita Mikhaylov
15de7e4fa7 first try 2020-04-21 20:37:40 +03:00
Yatsishin Ilya
1adf094810 add tests 2020-04-21 17:45:11 +03:00
alesapin
dec2e65aa5 Add test for alter on cluster 2020-04-21 16:47:00 +03:00
Ilya Yatsishin
0ca37c75fd
Merge pull request #10390 from ClickHouse/fix-flattening-of-array-tuples
Fix flattening of Array(Tuple(...)) data type.
2020-04-21 15:41:00 +03:00
Ilya Yatsishin
82b0f31e37
Merge pull request #10335 from qoega/move_docker_to_docker
Move integration tests docker files to docker/ directory.
2020-04-21 15:10:42 +03:00
Nikita Mikhaylov
2173bcf28e Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug 2020-04-21 14:35:06 +03:00
Nikolai Kochetov
f5ba4f4ed8 Added test. 2020-04-21 12:59:46 +03:00
Alexey Milovidov
750b73084a Added a test from Alexey Ilyukhov @livace 2020-04-21 02:56:57 +03:00
Alexey Milovidov
1e9c96776a Added a test 2020-04-21 02:50:14 +03:00
alexey-milovidov
4ecc86beca
Merge pull request #9950 from ClickHouse/aku/literal-columns
Create unique columns for literals
2020-04-21 02:30:17 +03:00
tavplubix
1a067484c8
Merge pull request #10137 from kekekekule/direct_queries
Add custom settings support for certain dictionary sources
2020-04-21 01:21:32 +03:00
alexey-milovidov
fe1309e575
Merge pull request #10381 from ClickHouse/fix-concat-prepare
Fix concat prepare
2020-04-21 00:07:32 +03:00
alexey-milovidov
ab922d44d5
Merge pull request #10379 from ClickHouse/only_fetch_repliac
Add setting always_fetch_merged_part
2020-04-21 00:07:00 +03:00
alexey-milovidov
2c8576798b
Merge pull request #10354 from oandrew/avro-nested
Avro nested fields insert support
2020-04-20 23:36:02 +03:00
alexey-milovidov
c4758b69a2
Merge pull request #10378 from hczhcz/patch-0420
Add JSONExtractKeysAndValuesRaw
2020-04-20 23:30:40 +03:00
alexey-milovidov
fea7ee800a
Merge pull request #10369 from ClickHouse/fix-weird-timezones
Fix for weird timezones
2020-04-20 23:21:52 +03:00
Anton Popov
e1b7e2de2f parse tuples of tuples as literals 2020-04-20 23:14:56 +03:00
alexey-milovidov
69b6f135e7
Merge pull request #10382 from excitoon-favorites/altercodec
Allowed to alter column in non-modifying data mode when the same type is specified
2020-04-20 22:54:53 +03:00
Alexander Kuzmenkov
da7eeb31d0
Update test.py 2020-04-20 22:37:50 +03:00
alesapin
e1fa39d801 fix test 2020-04-20 18:17:34 +03:00
Alexander Kuzmenkov
672c952d39
Update test.py 2020-04-20 17:44:21 +03:00
alesapin
0afd361933 Fix subprocess call in clickhouse-test 2020-04-20 17:20:06 +03:00
Vladimir Chebotarev
82985ff594 Allowed to alter column in non-modifying data mode when the same type is specified. 2020-04-20 14:15:06 +03:00
Alexander Tokmakov
b29bddac12 Merge branch 'master' into database_atomic 2020-04-20 14:09:09 +03:00
Nikolai Kochetov
6c319850ae Update tests. 2020-04-20 14:05:24 +03:00
alesapin
1bc84ec8b4 Fix comments 2020-04-20 13:56:23 +03:00
alesapin
8767ea7efa Add setting which restrict replica to merge parts by itself and always prefer dowloading from other replicas. 2020-04-20 13:53:29 +03:00
hcz
309a20caf0 Add tests and docs 2020-04-20 18:14:34 +08:00
Alexey Milovidov
848e4a0541 Added a test for #2219 2020-04-20 11:15:53 +03:00
alexey-milovidov
9d0004cba0
Merge pull request #10365 from ClickHouse/avoid-infinite-loop-in-hierarchical-dictionaries
Avoid infinite loop in hierarchical dictionaries
2020-04-20 10:54:16 +03:00
alexey-milovidov
e2d85501fe
Merge pull request #10366 from ClickHouse/fix-test-insert-batching
Fix flacky integration test
2020-04-20 10:53:38 +03:00
Alexey Milovidov
5a56714b6e Added a test 2020-04-20 10:41:26 +03:00
Alexey Milovidov
ac31d22572 More tests 2020-04-20 10:23:17 +03:00
Alexey Milovidov
1d559b9308 Added a test 2020-04-20 10:21:20 +03:00
Alexey Milovidov
70054e90d6 Merge branch 'master' into execute-query-flush-format-2 2020-04-20 09:19:34 +03:00
alexey-milovidov
587e16e23b
Merge pull request #10363 from ClickHouse/fixed-string-compare-as-zero-padded
Compare with fixed string of different size as if strings are zero padded
2020-04-20 09:14:27 +03:00
alexey-milovidov
1577d771df
Merge pull request #10341 from azat/auto_distributed_group_by_no_merge
Auto distributed_group_by_no_merge on GROUP BY sharding key
2020-04-20 08:30:27 +03:00
Alexey Milovidov
38aaa6206e Fix test 2020-04-20 08:29:08 +03:00
Alexey Milovidov
be4d20e690 Fixed an error and added a test 2020-04-20 07:02:52 +03:00
Alexey Milovidov
acde587c75 Merge branch 'master' into fixed-string-compare-as-zero-padded 2020-04-20 06:49:21 +03:00
Alexey Milovidov
e06dc573b4 Fix flacky integration test 2020-04-20 06:15:29 +03:00
alexey-milovidov
061cfe9fa5
Merge pull request #10359 from ClickHouse/system-tables-lazy-load
System tables eager creation, continuation
2020-04-20 06:14:19 +03:00
Alexey Milovidov
7634092536 More tests 2020-04-20 05:35:19 +03:00
Alexey Milovidov
d99c26a40c Fix infinite loop in dictIsIn function #515 2020-04-20 05:31:21 +03:00
alexey-milovidov
d906f6c4bf
Update 01250_fixed_string_comparison.sql 2020-04-20 04:19:00 +03:00
Alexey Milovidov
3af3cb62fb Added a test 2020-04-20 04:15:57 +03:00
alexey-milovidov
a7d360b72b
Merge pull request #10356 from vzakaznikov/fixing_test_00964_live_view_watch_events_heartbeat
Fixing 00964_live_view_watch_events_heartbeat.py test
2020-04-20 02:16:04 +03:00
Alexey Milovidov
1d885b3ff9 Merge branch 'master' into quota-key-in-client 2020-04-20 02:15:37 +03:00
Alexey Milovidov
99667a38c3 Added a test from Svyatoslav Tkhon Il Pak @DeifyTheGod #9642 2020-04-19 22:56:34 +03:00
Alexey Milovidov
0cebfc74b6 Added a test 2020-04-19 22:22:03 +03:00
zhang2014
8105a9bbe0 ISSUES-5436 fix review suggestions 2020-04-20 02:26:06 +08:00
tai
dafba9d66a ISSUES-5436 add integration test for custom http 2020-04-20 02:25:43 +08:00
Azat Khuzhin
be1dec9239 Fix distributed_group_by_no_merge optimization for Distributed-over-Distributed 2020-04-19 21:11:14 +03:00
Azat Khuzhin
681034f4a3 Fix 01213_optimize_skip_unused_shards_DISTINCT after distributed_group_by_no_merge optimization 2020-04-19 20:52:43 +03:00
Azat Khuzhin
93d049fe64 Allow auto distributed_group_by_no_merge for DISTINCT of sharding key 2020-04-19 18:53:37 +03:00
Azat Khuzhin
6f76f2791d Cover distributed_group_by_no_merge on GROUP BY injective function of sharding key 2020-04-19 18:33:49 +03:00
Vitaliy Zakaznikov
8f3b14ab22 Fixing 00964_live_view_watch_events_heartbeat.py test to try to make it consistent. 2020-04-18 20:28:51 -04:00
Azat Khuzhin
5ffd8bdd75 Cleanup 01040_distributed_directory_monitor_batch_inserts 2020-04-19 00:22:48 +03:00
Andrew Onyshchuk
14647ed03b Add Avro nested fields insert support 2020-04-18 15:46:24 -05:00
alexey-milovidov
abbeb13cf0
Merge pull request #10345 from Vxider/mv_parallel_insert_pt
Add performance test for parallel insert of materialized view
2020-04-18 18:39:22 +03:00
alexey-milovidov
03e1871b19
Merge pull request #10350 from ClickHouse/cleanup-performance-tests
Remove garbage from performance tests
2020-04-18 18:38:37 +03:00
alexey-milovidov
65bb1f4ce0
Merge pull request #10348 from ClickHouse/least-greatest-generic
Least greatest generic: more tests
2020-04-18 18:36:59 +03:00
alexey-milovidov
aac7cc7330
Merge pull request #10126 from Jokser/replicated-merge-tree-s3
Support ReplicatedMergeTree over S3
2020-04-18 16:13:04 +03:00
alexey-milovidov
8cea45315f
Merge pull request #10133 from 4ertus2/joins
JOIN with Dictionary
2020-04-18 16:08:15 +03:00
Alexey Milovidov
785d2c0e01 Remove garbage from performance tests 2020-04-18 15:54:16 +03:00
Alexey Milovidov
fd085b58e0 Fix readme in performance tests #10345 2020-04-18 15:44:46 +03:00
Alexey Milovidov
65714a3014 One more test #4767 2020-04-18 15:44:46 +03:00
Alexey Milovidov
96c2882db9 One more test #4767 2020-04-18 15:44:46 +03:00
alexey-milovidov
7fbd7e9533
Update materialized_view_parallel_insert.xml 2020-04-18 15:41:15 +03:00
alexey-milovidov
43d48a21c6
Merge pull request #10318 from ClickHouse/least-greatest-generic
Added generic variants for functions 'least' and 'greatest'.
2020-04-18 15:35:19 +03:00
Alexey Milovidov
4f245dc286 Added performance test 2020-04-18 15:35:00 +03:00
Alexey Milovidov
71a7a74d25 Fix test 2020-04-18 15:31:59 +03:00
alexey-milovidov
72dd453c3f
Merge pull request #10234 from vitlibar/show-columns-of-not-loaded-dictionary
Show information about not loaded dictionaries in system tables.
2020-04-18 15:06:08 +03:00
alexey-milovidov
17b6e0b3e5
Merge pull request #10315 from azat/buffer-flush-bg-pool
Use background thread pool for background buffer flushes
2020-04-18 15:04:35 +03:00
alexey-milovidov
27585f59e6
Merge pull request #10346 from vitlibar/fix-flaky-test-settings-constraints-distributed
Fix flaky test test_settings_constraints_distributed.
2020-04-18 14:49:06 +03:00
alexey-milovidov
bdc8dfe04b
Added a change from @azat in #10277 2020-04-18 14:48:51 +03:00
alexey-milovidov
d1b72f10d5
Merge pull request #10325 from Avogar/msgpack_format
Improve MsgPackRowInputFormat
2020-04-18 14:27:11 +03:00
Vitaly Baranov
d62345bbaa Show information about not loaded dictionaries in system.columns, system.tables
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00
Vitaly Baranov
b9ea0a33a7 Fix flaky test test_settings_constraints_distributed. 2020-04-18 11:23:11 +03:00
Vxider
aa8840447f add performance test for mv_parallel_ insert 2020-04-18 15:20:10 +08:00
Alexander Kuzmenkov
c8d70d714a
Merge pull request #9985 from ClickHouse/fix-perftest-distributed-aggregation
Try fix perftest distributed_aggregation.xml
2020-04-18 03:08:34 +03:00
Alexander Kuzmenkov
1927212f67 Filter out some tests that require Zookeeper. 2020-04-17 23:36:08 +03:00
Артем Стрельцов
948efff076 Merge branch 'master' of github.com:yandex/ClickHouse into direct_queries 2020-04-17 23:11:10 +03:00
Yatsishin Ilya
a0ce15befd Move integration tests docker files to docker/ directory. Rename image -> runner. 2020-04-17 19:01:16 +03:00
Avogar
b056dbce1c Improve MsgPackRowInputFormat 2020-04-17 12:35:38 +03:00
Yatsishin Ilya
f2136bc286 improvements 2020-04-17 11:42:51 +03:00
alexey-milovidov
4bdaccbaee
Merge pull request #10312 from ClickHouse/fix_drop_optimize_race
Fix DROP vs OPTIMIZE race in ReplicatedMergeTree
2020-04-17 05:07:55 +03:00
alexey-milovidov
390bfe9a4c
Merge pull request #10317 from Avogar/markdown_format
Markdown format
2020-04-17 05:05:13 +03:00
Alexey Milovidov
5b5de975e1 Added a test #4767 2020-04-17 01:38:27 +03:00
Alexander Kuzmenkov
fa62be250f performance comparison 2020-04-16 23:55:21 +03:00
Artem Zuikov
c62c288e4c
fix COMMA and other JOIN mix (#10311) 2020-04-16 23:28:23 +03:00
Avogar
831c48c514 Add MarkdownRowOutput format 2020-04-16 23:10:42 +03:00
Alexander Kuzmenkov
1e5a33bcfb Merge remote-tracking branch 'origin/master' into HEAD 2020-04-16 23:03:17 +03:00
Nikita Mikhaylov
9a80eb6e47 Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug 2020-04-16 21:47:34 +03:00
Artem Zuikov
ce372f464b
Fix finalize chain logic in ExpressionAnalysisResult (#10302) 2020-04-16 21:03:27 +03:00
Azat Khuzhin
2afa3cbaa3 Add a test for Buffer flushing (direct, background min/max time) 2020-04-16 20:32:58 +03:00
Alexander Kuzmenkov
c7be8c226c add more test cases as discussed on tg 2020-04-16 19:52:22 +03:00
Ildus Kurbangaliev
6244270809 Add SimpleAggregateFunction support for sumMap 2020-04-16 16:43:16 +00:00
Artem Zuikov
47cb670213 Merge branch 'master' into joins 2020-04-16 19:06:13 +03:00
Alexander Tokmakov
605f3b2119 fix DROP vs OPTIMIZE race in ReplicatedMergeTree 2020-04-16 18:30:18 +03:00
alexey-milovidov
fa8e4e4735
Merge pull request #10295 from ClickHouse/fix-max-parser-depth
Fix max parser depth
2020-04-16 18:05:15 +03:00
alesapin
21ea40f207
Merge pull request #10292 from ClickHouse/fix_mysql_dictionary_test
Fix test test_dictionaries_mysql
2020-04-16 11:16:56 +03:00
Alexey Milovidov
0221fba873 Fix tests 2020-04-16 05:59:16 +03:00
Alexey Milovidov
8f6e90390f Added a test 2020-04-16 04:06:10 +03:00
alexey-milovidov
2b64a97e9b
Merge pull request #10291 from 4ertus2/bugs
Fix count(*) with multiple joins
2020-04-16 00:45:09 +03:00
alexey-milovidov
d296e1b6d7
Merge pull request #10216 from Avogar/msgpack_format
Update MsgPack format
2020-04-16 00:44:08 +03:00
alexey-milovidov
23ae3f4bff
Update select_format.xml 2020-04-16 00:43:58 +03:00
Alexander Kuzmenkov
dc152c8a74
Update parse_engine_file.xml 2020-04-15 22:07:50 +03:00
alesapin
9bf8f00c3d Fix test 2020-04-15 20:52:05 +03:00
Artem Zuikov
f08cdfcc4c fix count(*) with multiple_joins_rewriter_version = 1 2020-04-15 20:47:08 +03:00
Alexander Kuzmenkov
08d9734fc0 Merge remote-tracking branch 'origin/master' into HEAD 2020-04-15 20:16:56 +03:00
alexey-milovidov
7b2c871c57
Merge pull request #10272 from ClickHouse/plus-infinity
Allow to parse +inf
2020-04-15 16:41:47 +03:00
Alexander Kuzmenkov
2ee49c9d68 Merge remote-tracking branch 'origin/master' into HEAD 2020-04-15 15:57:29 +03:00
Nikolai Kochetov
41baae33d4 Add test. 2020-04-15 13:20:42 +03:00
Alexey Milovidov
62b5aa343d Added a test for #1776 2020-04-15 07:20:31 +03:00
alexey-milovidov
2a48b0ecd7
Merge pull request #10184 from xzkostyan/feature-zookeeper-ssl
Optional secured communication between ClickHouse and Zookeeper
2020-04-15 07:09:14 +03:00
Alexey Milovidov
738fef71f4 Allow to parse +inf #1839 2020-04-15 06:32:33 +03:00
Alexey Milovidov
2491d59938 Added a test 2020-04-15 05:03:54 +03:00
Alexey Milovidov
db9760af41 Continuation of #6256 2020-04-15 03:12:47 +03:00
alexey-milovidov
596202b4d6
Merge pull request #10247 from qoega/junit_to_html_util
Add JUnit to html util
2020-04-15 02:37:59 +03:00
Nikita Mikhaylov
91011bc700
bump 2020-04-15 03:04:12 +04:00
alexey-milovidov
c454c5ae62
Trigger CI 2020-04-15 01:39:36 +03:00
Alexander Kuzmenkov
03e00ac215 Merge remote-tracking branch 'origin/master' into HEAD 2020-04-14 23:03:23 +03:00
Nikita Mikhaylov
89dc40d492
Update test.py 2020-04-14 21:05:10 +03:00
Alexander Kuzmenkov
1d3fe23b3b review fixes 2020-04-14 20:41:06 +03:00
Nikolai Kochetov
f5339e7c5e Add graphite config to tests. 2020-04-14 20:12:43 +03:00
Nikolai Kochetov
fee4717762 Added tast for Graphite. 2020-04-14 20:09:11 +03:00
Yatsishin Ilya
dcec80e6dd update README in intergration 2020-04-14 10:15:02 +03:00
Yatsishin Ilya
51567df6e6 output call duration in junit report 2020-04-14 10:15:01 +03:00
Yatsishin Ilya
e5be0c1059 fix integration/test_distributed_ddl/test_replicated_alter 2020-04-14 10:15:01 +03:00
alexey-milovidov
b8be585595
Merge pull request #10237 from ClickHouse/akz/mutations-to-correctly-handle-lambdas
ALTER UPDATE/DELETE on Replicated* storages: Fixed "Unknown function lambda." error
2020-04-14 01:32:38 +03:00
alexey-milovidov
2219f05139
Merge pull request #10235 from ClickHouse/fix_range_hashed_ddl_dictionaries
Fix 'Cannot add column' in DDL dictionary
2020-04-14 01:28:24 +03:00
Nikita Mikhaylov
89f80a6353
Merge branch 'master' into quorum_bug 2020-04-13 23:25:55 +04:00
tavplubix
0931885773
Update 01225_show_create_table_from_dictionary.sql 2020-04-13 20:49:40 +03:00
Artem Zuikov
6106b2bfc7 Merge branch 'master' into joins 2020-04-13 20:37:27 +03:00
Artem Zuikov
0b7ae2c2bf working version 2020-04-13 20:03:11 +03:00
Alexander Tokmakov
6c0d9723e0 Merge branch 'master' into database_atomic 2020-04-13 18:47:47 +03:00
Alexander Tokmakov
d1024e76bd fix 2020-04-13 18:46:36 +03:00
Nikita Mikhaylov
441bb13d4a better 2020-04-13 18:21:05 +03:00
Alexander Kazakov
e05e2c7628 Fixed check for nondeterministic functions to handle lambdas correctly 2020-04-13 17:34:11 +03:00
alesapin
9cc7d0f06a Fix 'Cannot add column' error while creating range_hashed dictionary using DDL queries 2020-04-13 17:34:01 +03:00
alexey-milovidov
396360cd90
Merge pull request #10209 from ClickHouse/akz/fix_segfault_in_system_tables
Fix N.P. segfault in StorageSystemTables for database engine "Lazy"
2020-04-13 16:33:27 +03:00
alexey-milovidov
d1c436788b
Merge pull request #10206 from ClickHouse/fix-limit-with-infinite-sources
Fix limit with infinite sources
2020-04-13 16:32:02 +03:00
alexey-milovidov
eedb5a3e3d
Merge pull request #10218 from ClickHouse/fix-generate-random-date
Fixed "generateRandom" function for Date type
2020-04-13 16:26:08 +03:00
Nikita Mikhaylov
d5c055ab03 remove logs 2020-04-13 15:13:13 +03:00
Pavel Kovalenko
46c0b65c95 Minor fix in MergeTree over S3 tests. 2020-04-13 12:20:38 +03:00
Konstantin Lebedev
df28eca407 Add test for communication between ClickHouse and Zookeeper over SSL 2020-04-13 10:49:16 +03:00
alexey-milovidov
4a83e85893
Merge pull request #10213 from ClickHouse/remove-old-bugs
Remove obsolete tests from "bugs" directory
2020-04-13 03:18:40 +03:00
alexey-milovidov
6eed76d5fb
Merge pull request #10217 from ClickHouse/convert-types-in-views
Convert types in Views
2020-04-13 02:24:02 +03:00
alexey-milovidov
8f040683e4
Merge pull request #10214 from ClickHouse/fix-parse-date-time-best-effort-rfc-2822-tue-thu
Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Tuesday or Thursday
2020-04-13 02:23:21 +03:00
Alexey Milovidov
0cf882f4df Update test 2020-04-13 02:20:49 +03:00
Alexey Milovidov
8ad89a82d4 Support Nested types in "generateRandom" 2020-04-13 02:08:32 +03:00
Alexey Milovidov
a517111259 Added one more test 2020-04-13 01:30:10 +03:00
Alexey Milovidov
d1eaa34cd9 Added a test 2020-04-13 01:00:10 +03:00
Avogar
9860ffee51 Add MsgPack performance test 2020-04-13 00:59:28 +03:00
Alexey Milovidov
3215257a90 Fixed "generateRandom" function for Date type #9973 2020-04-13 00:27:11 +03:00
Avogar
d49dc5c008 Add test 2020-04-13 00:16:27 +03:00
Alexey Milovidov
983950d4ec Convert types in Views 2020-04-13 00:07:11 +03:00
alexey-milovidov
bc00e6463a
Merge pull request #10053 from azat/log_queries_type
Add log_queries_min_type to filter which entries will be written to query_log
2020-04-12 23:37:42 +03:00
Alexey Milovidov
142087c4f7 Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Thuesday or Thursday #10082 2020-04-12 22:34:04 +03:00
Alexey Milovidov
b56945fa1b Remove some bugs 2020-04-12 22:07:16 +03:00
alexey-milovidov
96f2a8e2a4
Merge pull request #10207 from ClickHouse/fix-join-constants
Fix column names of constants inside JOIN.
2020-04-12 22:01:43 +03:00
Alexander Tokmakov
20e6593f96 disable by default 2020-04-12 21:52:59 +03:00
Alexander Kazakov
d252c59513 Added a test that produces segfault in StorageSystemTables 2020-04-12 20:04:52 +03:00
Alexey Milovidov
b00330b5db Added bug 2020-04-12 19:25:20 +03:00
Alexey Milovidov
66d9ba9389 Added a test 2020-04-12 19:24:16 +03:00
Nikolai Kochetov
2b052a44d9 Added test 2020-04-12 18:25:51 +03:00
Konstantin Lebedev
eaba5c6c73 Remove mutable defaults from helpers/cluster.py 2020-04-12 17:36:48 +03:00
Alexander Tokmakov
5e6d4b9449 Merge branch 'master' into database_atomic 2020-04-12 16:35:44 +03:00
Azat Khuzhin
365b5207b7 Add log_queries_min_type to filter which entries will be written to query_log
Can be used to write into query_log only failed queries (i.e. on memory
exceeded error), by using:

  set log_queries_min_type='EXCEPTION_WHILE_PROCESSING'
2020-04-12 10:46:36 +03:00
BohuTANG
e7f399f652 MySQLHandler: max_allowed_packet returned by default when server setup with select variables 2020-04-12 13:37:39 +08:00
alexey-milovidov
b888c867b3
Merge pull request #10026 from CurtizJ/speedup-index
Improve performance of index analysis with monotonic functions [2].
2020-04-12 06:37:26 +03:00
Alexey Milovidov
ca5172cc63 Merging #10094 2020-04-12 06:25:47 +03:00
Alexey Milovidov
c64aa011ba Merge branch 'jgon' of https://github.com/amosbird/ClickHouse into amosbird-jgon 2020-04-12 06:21:00 +03:00
alexey-milovidov
791d2bc91e
Merge pull request #10198 from ClickHouse/add-function-is-constant
Add function "isConstant"
2020-04-12 05:44:22 +03:00
alexey-milovidov
0cc91b9cab
Merge pull request #10196 from azat/Distributed-GLOBAL-IN
Allow literals for GLOBAL IN
2020-04-12 04:39:32 +03:00
Alexey Milovidov
754967bde6 Add function "isConstant" 2020-04-12 04:24:00 +03:00
alexey-milovidov
78316f027a
Merge pull request #10195 from ClickHouse/fix-array-join-prewhere
Fix move-to-prewhere optimization in presense of arrayJoin functions.
2020-04-12 03:53:55 +03:00
alexey-milovidov
9203db0ad5
Merge pull request #10140 from BohuTANG/20200409_bug_fix_mysql_handshake_scramble
Fix scramble issue for native mysql-connector-java(JDBC)
2020-04-12 03:53:19 +03:00
Alexey Milovidov
dec3e0f986 Make least and greatest functions case insensitive for compatibility with MySQL 2020-04-12 03:38:25 +03:00
Alexey Milovidov
c5c1a8def7 Added a test from Andrey #2641 2020-04-12 03:03:15 +03:00
Azat Khuzhin
194dcc01fb Allow literals for GLOBAL IN 2020-04-12 02:48:55 +03:00
alexey-milovidov
0782052768
Merge pull request #10131 from ClickHouse/fix-extremes-for-processors
Fix extremes for processors
2020-04-12 02:31:39 +03:00
alexey-milovidov
f5fc3b1e71
Merge pull request #10085 from achimbab/transform_null_in
transform_null_in option to test NULL values at the IN-Operator.
2020-04-12 02:01:54 +03:00
alexey-milovidov
30ec2a3ce2
Merge pull request #10179 from vzakaznikov/live_view_over_distributed
Initial support for live view tables over distributed
2020-04-12 01:41:42 +03:00
Alexey Milovidov
29189d4276 Also add stateless test to illustrate the issue more clear 2020-04-12 01:33:16 +03:00
Azat Khuzhin
a332d8b01e Cover GLOBAL IN for Distributed over Distributed 2020-04-12 01:22:29 +03:00
Alexey Milovidov
cf483b7ecc Added a test 2020-04-12 01:14:55 +03:00
Azat Khuzhin
85448f4b13 Add test from the #2610 (closes: #2610) 2020-04-12 00:46:54 +03:00
alexey-milovidov
00d8e7eefb
Merge branch 'master' into transform_null_in 2020-04-11 23:15:54 +03:00
alexey-milovidov
a4969d89f9
Merge pull request #10164 from azat/system.tables-superfluous-dict-reload
Avoid superfluous dictionaries load
2020-04-11 23:05:56 +03:00
alexey-milovidov
cd979d7997
Merge pull request #10130 from CurtizJ/polymorphic-parts
Fix some kinds of alters with compact parts
2020-04-11 23:02:48 +03:00
alexey-milovidov
a7ecacc8b0
Merge pull request #10186 from filimonov/setting_allow_nondeterministic_mutations
allow_nondeterministic_mutations
2020-04-11 22:56:06 +03:00
alexey-milovidov
5e36a65d0c
Merge pull request #10172 from ClickHouse/fix_odbc_roundtrip
Fix odbc round trip test
2020-04-11 22:55:24 +03:00
alexey-milovidov
3b85ef27a4
Merge pull request #10173 from ClickHouse/fix_url_engine
Add retries to 00646_url_engine test
2020-04-11 22:53:26 +03:00
Alexander Tokmakov
8b6c836720 fix 2020-04-11 18:38:41 +03:00
Vitaly Baranov
18fbd968ba
Merge pull request #10165 from azat/drop-dictionary-as-table
Do not break DROP DICTIONARY with DROP TABLE
2020-04-11 14:49:41 +03:00
Azat Khuzhin
55a143d1a5 Avoid superfluous dictionaries load (system.tables, SHOW CREATE TABLE)
This patch avoids loading dictionaries for:
- SELECT * FROM system.tables (used by clickhouse-client for completion)
- SHOW CREATE TABLE some_dict

But the dictionary will still be loaded on:
- SHOW CREATE TABLE some_dict (from the database with Dictionary engine)
2020-04-11 13:26:41 +03:00
Azat Khuzhin
e0c972448e Cover SHOW CREATE TABLE from database with Dictionary ENGINE 2020-04-11 13:26:19 +03:00
Alexander Tokmakov
f0edb65e33 add test 2020-04-11 02:02:15 +03:00
Nikita Mikhaylov
a8d72d01c3 mvp fix 2020-04-11 00:29:54 +03:00
Mikhail Filimonov
2f5b4b0f9b Added ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting. 2020-04-10 22:01:10 +02:00
Azat Khuzhin
5b3c635200 Do not break DROP DICTIONARY after DROP TABLE executed on dictionary 2020-04-10 21:10:32 +03:00
Vitaly Baranov
ca634f603a Revert resetting the settings to their defaults after each query in TCPHandler. 2020-04-10 21:09:59 +03:00
Vitaliy Zakaznikov
7d076d7f3d Removing comments. 2020-04-10 14:09:28 -04:00
Vitaliy Zakaznikov
16c10851d3 Adding more tests to test_distributed_over_live_view.
Updating test_live_view_over_distributed to be more robust.
2020-04-10 13:47:47 -04:00
Vitaliy Zakaznikov
c37ba8243d Starting to add test_distributed_over_live_view tests. 2020-04-10 13:01:10 -04:00
Артем Стрельцов
758500893e fixed test 2020-04-10 19:09:44 +03:00
Vitaliy Zakaznikov
442446fbfa Adding some live view over distributed stateless tests. 2020-04-10 12:04:25 -04:00
Anton Popov
9b6f7af7f6 add tests for ALTER CLEAR COLUMN/INDEX with compact parts 2020-04-10 18:26:40 +03:00
Vitaliy Zakaznikov
201c65f49b Adding test_live_view_over_distributed integration test. 2020-04-10 11:23:04 -04:00
Vitaly Baranov
274a5311fc
Merge pull request #10153 from vitlibar/enable-access-management-in-stateless-tests-3
Enable access management in stateless tests #3.
2020-04-10 17:40:20 +03:00
Alexander Tokmakov
033d7f9b32 Merge branch 'master' into database_atomic 2020-04-10 17:12:09 +03:00
tavplubix
5e860ddb04
fix 01098_temporary_and_external_tables 2020-04-10 17:09:47 +03:00
alesapin
27eaea184a Add small timeout 2020-04-10 17:03:42 +03:00
alesapin
9d81f89648 Add sleep to test 2020-04-10 16:51:09 +03:00
alesapin
88657cfbe1 Add retries to test 2020-04-10 15:14:27 +03:00
alesapin
9b0640a3b5 Fix odbc round trip test 2020-04-10 14:29:56 +03:00
Artem Zuikov
ba50519af8 workaround for function resolver 2020-04-10 13:28:44 +03:00
Azat Khuzhin
888baad565 tests/queries/0_stateless/01056_create_table_as: drop dictionary at start 2020-04-10 10:38:43 +03:00
philip.han
7fa5afecb4 Support transform_null_in option for StorageSet 2020-04-10 14:42:36 +09:00
philip.han
c6bf39d7a9 Fix 01231_operator_null_in.reference 2020-04-10 14:02:55 +09:00
philip.han
c39e3a51ad Fix Set::insertFromBlockImplCase() 2020-04-10 12:30:54 +09:00
BohuTANG
87cc8de8e2 Merge remote-tracking branch 'ck/master' into 20200409_bug_fix_mysql_handshake_scramble 2020-04-10 11:10:41 +08:00
Alexander Tokmakov
58067438cd add fallback for renameat2 2020-04-10 01:23:03 +03:00