Commit Graph

1020 Commits

Author SHA1 Message Date
Vitaly Baranov
2d12b4d3ac Fix crash when SET DEFAULT ROLE is called with wrong arguments. 2020-05-29 09:54:27 +03: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
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
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
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
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 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
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
Ivan Blinkov
4a92ad11ec
Update test.py 2020-05-26 23:27:31 +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
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
alesapin
51ffcff75b
Merge pull request #11180 from ClickHouse/revert_flush_logs_in_test
Revert #11023
2020-05-25 17:38:19 +03:00
Vladimir Chebotarev
e013edce4b Added test for multi-page S3 globbing. 2020-05-25 15:57:27 +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
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 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
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
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 Kuzmenkov
09ea7253cd performance test for some functions that use hash tables 2020-05-20 22:37:14 +03: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
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
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