Commit Graph

4575 Commits

Author SHA1 Message Date
feng lv
b7e5c6ed4d fix conflict 2020-11-12 02:26:21 +00:00
taichong
091df85cdc modify test db name 2020-11-12 09:49:12 +08:00
TCeason
3912ed4965 Merge branch 'master' into add_sync_user_privs_exception 2020-11-12 09:34:08 +08:00
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb 2020-11-12 08:26:27 +08:00
alexey-milovidov
ed88379646
Update 01560_crash_in_agg_empty_arglist.reference 2020-11-12 03:22:43 +03:00
taichong
e2a9fe44b0 modify test error 2020-11-12 08:17:13 +08:00
alexey-milovidov
34b2a460ba
Merge pull request #16578 from fibersel/issue-8828
add compression method for files: Xz
2020-11-12 02:58:52 +03:00
vdimir
dbec289c9a
[wip] rewrite ip_dict data struct, fix bugs, add tests 2020-11-12 00:58:30 +03:00
Alexey Milovidov
f1d721fa74 Marked some perf test queries as short 2020-11-11 19:58:31 +03:00
Anton Popov
2497598a49 Remove empty parts after they were pruned by TTL 2020-11-11 19:19:43 +03:00
Ivan
bdbd41bd3d
Pytest test fixes (#16836) 2020-11-11 18:29:36 +03:00
Amos Bird
134786afd5
Disable ATTACH/DETACH TABLE <DICTIONARY> 2020-11-11 23:04:49 +08:00
filimonov
7995405109
Update 01560_timeseriesgroupsum_segfault.sql 2020-11-11 14:27:21 +01:00
Nikolai Kochetov
a0c18e63ce
Merge pull request #16844 from ClickHouse/try-fix-ci-2
Try fix ci.
2020-11-11 16:26:20 +03:00
Pavel Kovalenko
e311759c5d
Abort multipart upload if no data was written to WriteBufferFromS3. (#16840) 2020-11-11 15:15:16 +03:00
Nikolai Kochetov
072f481234 Try fix tests. 2020-11-11 15:01:16 +03:00
Alexander Kuzmenkov
f31d7869ac Merge remote-tracking branch 'origin/master' into HEAD 2020-11-11 14:51:35 +03:00
Alexander Kuzmenkov
906b338a1d fixes 2020-11-11 14:51:21 +03:00
taichong
f4f4379168 modify test case add precheck 2020-11-11 19:36:09 +08:00
taichong
6c8b5b573b modify test for Integration Tests Flaky Check 2020-11-11 19:36:09 +08:00
taichong
e5da2d4086 print mysql result for test 2020-11-11 19:35:39 +08:00
taichong
64acfea79c throw exception when mysql sync user privs error. 2020-11-11 19:32:28 +08:00
taichong
5c1a01897a Revise the code according to the review 2020-11-11 19:27:37 +08:00
taichong
aecb9716e1 print mysql result for test 2020-11-11 19:27:37 +08:00
taichong
2f6510d75b try to fix ci failed 2020-11-11 19:27:37 +08:00
taichong
d907afa77e throw exception when mysql sync user privs error. 2020-11-11 19:27:37 +08:00
a.palagashvili
94790526bd Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into issue-8828 2020-11-11 14:10:02 +03:00
feng lv
f04bd0643d fix test
fix

fix
2020-11-11 10:42:37 +00:00
Mikhail Filimonov
e400d97b12
Test for issue #16862 2020-11-11 11:17:21 +01:00
Nikolai Kochetov
1846bb3cac Merge branch 'master' into actions-dag-f14 2020-11-11 13:08:57 +03:00
alesapin
637e3dc2c2
Merge pull request #16627 from amosbird/zkc
reload auxiliary zookeepers configuration
2020-11-11 10:00:22 +03:00
feng lv
fec4080d42 Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct 2020-11-11 03:10:10 +00:00
a.palagashvili
124ef2f5fa added and successfully passed tests for content encoding and file() function, formatted code 2020-11-11 04:50:56 +03:00
sundy-li
c56d1212a2 rocksdb-cmake && fix iteration bug && improve tests 2020-11-11 09:39:09 +08:00
Alexey Milovidov
630aa9b0c3 Rename Rocksdb to RocksDB 2020-11-11 09:08:53 +08:00
sundy-li
46c01eb7a2 improve unbundle build 2020-11-11 09:08:53 +08:00
sundy-li
fb7066d73d * fix fasttest and cmake && pipline for all_scan
* unique the keys
* add inputstream && outputstream
2020-11-11 09:08:53 +08:00
sundy-li
f95a66b584 add supportsIndexForIn && supportsParallelInsert, support parallel reading 2020-11-11 09:08:52 +08:00
sundy-li
b9e663af25 add rocksdb perf tests 2020-11-11 09:08:52 +08:00
sundy-li
b092ebe40d add primary key for StorageEmbeddedRocksdb 2020-11-11 09:08:52 +08:00
sundy-li
03ad32a3fa disable WITH_GFLAGS 2020-11-11 09:08:52 +08:00
root
e9de5b6ad4 Add StorageEmbeddedRocksdb Engine 2020-11-11 09:08:52 +08:00
alexey-milovidov
3f086deb91
Update 01560_crash_in_agg_empty_arglist.sql 2020-11-11 02:42:16 +03:00
Azat Khuzhin
ab8f13b885 Add --stage option for clickhouse-client
It is sometimes useful to process queries not up to the Complete stage
but intermediate some (i.e. for Distributed queries debugging and
similar).
2020-11-11 00:54:51 +03:00
myrrc
a0b6aa5d9f fixing the test after UB fix 2020-11-10 21:14:40 +03:00
Danila Kutenin
c36e6fe378 Fix tests finally 2020-11-10 18:22:59 +03:00
Danila Kutenin
c0308a5d85 Fix tests, I cannot count number of zeros sometimes 2020-11-10 18:21:39 +03:00
Danila Kutenin
a489f65c02
Merge branch 'master' into master 2020-11-10 20:16:29 +03:00
Nikolai Kochetov
15d3fc1438
Merge pull request #14936 from ClickHouse/storage-read-query-plan
Storage read query plan (Continuation)
2020-11-10 19:57:01 +03:00
Danila Kutenin
847fa9ca3c Merge 2020-11-10 18:15:26 +03:00
Danila Kutenin
8504efde77 Merge 2020-11-10 18:12:49 +03:00
Danila Kutenin
2057198779 Fix performance tests that became very fast 2020-11-10 17:58:05 +03:00
Nikolai Kochetov
b659efdb43 Fix test. 2020-11-10 16:18:36 +03:00
Nikolai Kochetov
195c941c4e Merge branch 'master' into storage-read-query-plan 2020-11-10 15:02:22 +03:00
myrrc
e460248624 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-10 14:54:24 +03:00
Nikolai Kochetov
11511e0929
Merge pull request #16818 from ClickHouse/try-to-fix-checks
Try to fix ci
2020-11-10 14:52:51 +03:00
Pavel Kruglov
ca4088b400 Try to treat input values as enum id in tsv/scv 2020-11-10 14:36:53 +03:00
alesapin
2e357516a6 Merge branch 'master' into add_separate_pool_for_fetches 2020-11-10 13:53:08 +03:00
Vladimir Chebotarev
059357d51e
ALTER UPDATE/DELETE ... IN PARTITION with partition pruning in ReplicatedMergeTree (#13403)
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-11-10 13:23:46 +03:00
Nikolai Kochetov
59c0a739c4 Add test to skiplist. 2020-11-10 12:18:51 +03:00
Amos Bird
aa8e6db786
reload auxiliary zookeepers configuration 2020-11-10 15:56:37 +08:00
feng lv
9194985d48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct 2020-11-10 06:09:39 +00:00
Alexander Kuzmenkov
5449c23cb8
Merge pull request #16040 from kitaisreal/datetime-comparison-with-date-string-literal
DateTime comparison with date string literal
2020-11-10 08:15:00 +03:00
Alexander Kuzmenkov
84fb76bad4 fixes 2020-11-10 07:19:43 +03:00
Amos Bird
9867387a5f
Fix crash in agg empty arglist 2020-11-10 10:16:46 +08:00
myrrc
5ef262b1a3 fixed test results after fixing UB 2020-11-10 02:06:11 +03:00
a.palagashvili
f999ea2a6f renamed files, added new library, changed error codes, added tests for file() function 2020-11-10 01:52:22 +03:00
Danila Kutenin
f7f7fde3a8 Fix fast test to see all others 2020-11-09 22:48:39 +03:00
Alexander Kuzmenkov
030419db90 Try 12 threads max in perf test.
This will allow us to use more machines, not only Gold 6320.
2020-11-09 19:14:05 +03:00
feng lv
b4c933e585 fix
fix test
2020-11-09 16:03:52 +00:00
alesapin
ea7fe94aa9
Merge pull request #15511 from nvartolomei/nv/drop-detached-part-quorum-possible-solution
ALTER TABLE ... DROP|DETACH PART
2020-11-09 18:00:30 +03:00
alexey-milovidov
e47ed55d32
Merge pull request #14977 from achimbab/indexOf_bloomfilter
Fix indexOf() to use BloomFilter
2020-11-09 17:58:42 +03:00
alexey-milovidov
2994499680
Update bloom_filter_select.xml 2020-11-09 17:58:27 +03:00
Nikolai Kochetov
6717c7a0af Merge branch 'master' into actions-dag-f14 2020-11-09 14:57:48 +03:00
tavplubix
67099f28ac
Merge pull request #16591 from ClickHouse/aku/create-file
Support `SETTINGS` clause for File engine
2020-11-09 14:15:42 +03:00
alesapin
a056379ec1 Remove duplicate code 2020-11-09 12:25:50 +03:00
alesapin
cedaa938f3 Add simple integration test 2020-11-09 12:10:32 +03:00
Maksim Kita
02da9af32d DateTime comparison with date string literal 2020-11-09 11:29:08 +03:00
alesapin
72046313d4 Merge branch 'master' into nvartolomei-drop-part 2020-11-09 10:02:02 +03:00
alesapin
4e846d2197 Merge branch 'master' into add_separate_pool_for_fetches 2020-11-09 10:00:21 +03:00
zhang2014
1726fb0f4e ISSUES-16574 try fix test failure 2020-11-09 12:40:28 +08:00
zhang2014
540288c419 Merge branch 'master' into fix/ISSUES-16574 2020-11-09 10:05:56 +08:00
alexey-milovidov
f39457bc77
Merge pull request #16788 from azat/fix-use_compact_format_in_distributed_parts_names
Apply use_compact_format_in_distributed_parts_names for each INSERT (with internal_replication)
2020-11-08 23:23:10 +03:00
Alexey Milovidov
ff906369ea Adjust time for perf test 2020-11-08 23:22:50 +03:00
vdimir
81671ceb39
Add tests/performance/ip_trie.xml [wip] 2020-11-08 21:32:22 +03:00
Alexey Milovidov
f07988eec7 Remove perf test of sumbur hash, because we do not care 2020-11-08 21:17:30 +03:00
vdimir
a67f5b780f
Use sorted ip array instead of trie in TrieDictionary 2020-11-08 19:19:04 +03:00
alexey-milovidov
0e6ae4aff7
Merge pull request #16253 from amosbird/pf
Prune partition in verbatim way.
2020-11-08 18:58:02 +03:00
feng lv
dd2f31c0b4 cancel combinators native names constraint 2020-11-08 15:36:20 +00:00
Alexey Milovidov
7257a5c3d2 Fix perf tests 2020-11-08 16:55:36 +03:00
Alexey Milovidov
f4178dd91f Fix perf tests 2020-11-08 16:55:26 +03:00
alexey-milovidov
c7aa0c851a
Update bloom_filter.xml 2020-11-08 16:51:45 +03:00
alexey-milovidov
d96914b044
Update bloom_filter.xml 2020-11-08 16:51:03 +03:00
Alexey Milovidov
cc012e2cc7 Merge branch 'master' into achimbab-indexOf_bloomfilter 2020-11-08 14:42:03 +03:00
Amos Bird
46507c8cff
Better test 2020-11-08 17:11:02 +08:00
Amos Bird
a333f9f6f4
Update tests/queries/0_stateless/01540_verbatim_partition_pruning.sql
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2020-11-08 14:21:58 +08:00
Azat Khuzhin
34d882b7d3 Get back 01555_system_distribution_queue_mask
This reverts commit bfb330452c.
Since now use_compact_format_in_distributed_parts_names works on fly for
internal_replication=true.
2020-11-08 03:06:01 +03:00
Alexey Milovidov
5ea17f9896 Merge branch 'master' into better-diagnostic-on-create-syntax-error 2020-11-08 01:21:07 +03:00
Alexey Milovidov
bfb330452c Remove old test 2020-11-07 22:12:08 +03:00
feng lv
1ca7dcb0a8 fix conflict 2020-11-07 11:44:29 +00:00
feng lv
125eb02726 nomalize ASTSelectWithUnionQuery 2020-11-07 11:38:20 +00:00
alexey-milovidov
59ea3e7db0
Merge pull request #16586 from kitaisreal/create-query-nested-type-column-formatting-intendation-fix
CreateQuery nested type column formatting fix
2020-11-07 13:42:20 +03:00
alexey-milovidov
7acfa7d407
Merge pull request #16728 from azat/enable-use_compact_format_in_distributed_parts_names-by-default
Enable use_compact_format_in_distributed_parts_names by default
2020-11-07 13:40:54 +03:00
alexey-milovidov
8dbd04a229
Merge pull request #16727 from azat/distribution_queue-masking
Mask password in data_path in the system.distribution_queue
2020-11-07 13:40:41 +03:00
alexey-milovidov
712a35bb7b
Merge pull request #16762 from filimonov/kafka-protobuf-issue12615
Test for the issue #12615
2020-11-07 13:40:19 +03:00
Alexander Kuzmenkov
79f759fb6c Merge remote-tracking branch 'origin/master' into HEAD 2020-11-07 11:54:11 +03:00
Alexander Kuzmenkov
3c60f6cec2 make a separate settings collection + some cleanup 2020-11-07 11:53:39 +03:00
feng lv
3342da1d77 fix #16123 2020-11-07 04:14:50 +00:00
MyroTk
d78d07f825 xfails for ALTER MOVE 2020-11-07 01:48:29 +01:00
MyroTk
381ed50bef Enabling existing testflows tests. 2020-11-07 01:39:22 +01:00
nikitamikhaylov
dabb23b668 done 2020-11-06 21:55:13 +03:00
alexey-milovidov
4e85d6a4c3
Merge pull request #16273 from Avogar/collation-support
Support collate in LowCardinality, Nullable, Array and Tuple, where nested type is String
2020-11-06 21:52:52 +03:00
alexey-milovidov
d5b507bdfd
Merge pull request #16703 from ClickHouse/tavplubix-patch-2
Fix 01526_client_start_and_exit.sh
2020-11-06 21:48:29 +03:00
alexey-milovidov
4a872a5297
Merge pull request #16123 from ucasFL/agg-func-setting-null-for-empty
Add setting `aggregate_functions_null_for_empty`
2020-11-06 21:42:30 +03:00
Alexey Milovidov
57a0dd3074 Add a test 2020-11-06 21:23:30 +03:00
Azat Khuzhin
c057e86040 Fix path masking in system.distribution_queue for multiple nodes 2020-11-06 21:04:50 +03:00
Azat Khuzhin
ac8df08186 Set use_compact_format_in_distributed_parts_names=0 for some integration tests
To avoid depends from default.
2020-11-06 21:02:44 +03:00
Mikhail Filimonov
b072bc7d2b
Test for the issue #12615 2020-11-06 17:54:44 +01:00
Konstantin Malanchev
cbe5f3d667 Reduce range to test 2020-11-06 16:22:06 +01:00
alexey-milovidov
7fb53b205c
Merge pull request #16637 from azat/mt-read_in_order-spread-fix
Fix spreading for ReadInOrderOptimizer with expression in ORDER BY
2020-11-06 17:36:03 +03:00
Nikolai Kochetov
c10f733587 Merge branch 'master' into storage-read-query-plan 2020-11-06 15:43:46 +03:00
Nikolai Kochetov
9aeb757da4 Merge branch 'master' into actions-dag-f14 2020-11-06 15:04:20 +03:00
Nikita Mikhaylov
e5cb09cb5f
Merge pull request #16613 from nikitamikhaylov/with_totals_having_assert
Fix fuzzer found error (with totals)
2020-11-06 14:41:16 +03:00
alexey-milovidov
e1a01edf29
Merge pull request #16719 from MyroTk/master
RBAC Testflows - Server log intrumentation for debug and new ALTER tests
2020-11-06 12:40:31 +03:00
alexey-milovidov
dd83a35842
Merge pull request #16722 from CurtizJ/fix-transform-null-in
Fix transform_null_in with sets of tuples
2020-11-06 12:39:57 +03:00
Amos Bird
aa436a3cb1
Transform single point 2020-11-06 14:59:55 +08:00
Amos Bird
30bf5e6d26
Prune partition in verbatim way. 2020-11-06 09:56:13 +08:00
Azat Khuzhin
b2e17916e4 Mask password in data_path in the system.distribution_queue 2020-11-06 00:10:25 +03:00
alexey-milovidov
7bda6dba3c
Merge pull request #16657 from ucasFL/reinterpret
Allow reinterpret between integers and floats of the same size
2020-11-05 23:21:59 +03:00
alexey-milovidov
6d5e852356
Merge pull request #16677 from ClickHouse/field-infinite-convert-to-int
Fix UBSan report when trying to convert infinite floating point number to integer
2020-11-05 23:20:25 +03:00
Alexey Milovidov
990f8a23ab Translate comments to english 2020-11-05 21:51:36 +03:00
tavplubix
e53f604924
Update 01304_direct_io.sh 2020-11-05 21:43:18 +03:00
alexey-milovidov
ee3e289ec2
Merge pull request #15983 from ClickHouse/no_background_pool_no_more
Replace BackgroundProcessingPool with SchedulePool task and ThreadPool.
2020-11-05 21:38:22 +03:00
Anton Popov
8d42305184 fix transform_null_in with sets of tuples 2020-11-05 21:07:44 +03:00
MyroTk
02a071e88f RBAC Testflows - Instrumenting server log for debug and new ALTER tests 2020-11-05 17:51:17 +01:00
nikitamikhaylov
aceb82ae6a better 2020-11-05 19:00:05 +03:00
alexey-milovidov
fcb61251a4
Update 00087_math_functions.sql 2020-11-05 15:36:25 +03:00
Alexander Tokmakov
159cd5ef72 add --database arg to CLICKHOUSE_BENCHMARK 2020-11-05 15:32:03 +03:00
Anton Popov
bea0984d12
Merge pull request #16642 from kitaisreal/bloom-filter-index-added-big-int-and-uuid-support
BloomFilter index added big integers and UUID support
2020-11-05 15:26:08 +03:00
Alexander Kuzmenkov
2efbcbaa14 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-05 14:28:56 +03:00
Alexander Kuzmenkov
14f31f5117 add support of settings to URL, fix url and file table functions 2020-11-05 14:28:20 +03:00
alexey-milovidov
9cb0b76c16
Merge pull request #16631 from ildus/fix_16087
fix bug in minMap and maxMap with zero values
2020-11-05 14:14:19 +03:00
alexey-milovidov
5954b7ec8b
Merge pull request #16570 from JacobHayes/add-farmfingerprint64
Add farmFingerprint64 function
2020-11-05 13:36:59 +03:00
alexey-milovidov
d2fcd8548e
Update 00087_math_functions.sql 2020-11-05 13:01:41 +03:00
alexey-milovidov
1ee417b125
Update 00087_math_functions.sql 2020-11-05 12:20:51 +03:00
myrrc
ddd40fc4ce fixed the perf test 2020-11-05 12:20:05 +03:00
alexey-milovidov
79abbc2f67
Merge pull request #16658 from ClickHouse/fix-test-max-memory-usage-for-user
Fix flaky tests after "max_memory_usage_for_user"
2020-11-05 12:18:21 +03:00
alexey-milovidov
5d8844b66e
Merge pull request #16675 from ClickHouse/max_parallel_replicas_without_sampling
Fix 'max_parallel_replicas' without sampling.
2020-11-05 12:16:23 +03:00
alexey-milovidov
56786cdb66
Merge pull request #16673 from ClickHouse/test-null-if
Add a test for #16231
2020-11-05 12:14:48 +03:00
Nikolai Kochetov
40a9648269
Merge pull request #16308 from nikitamikhaylov/totals-having
Incorrect behaviour of SELECT WITH TOTALS
2020-11-05 11:27:28 +03:00
myrrc
c09fcf846d added proper test for avg() 2020-11-05 11:12:04 +03:00
Alexander Kuzmenkov
faf1f1e0cd Merge remote-tracking branch 'origin/master' into HEAD 2020-11-05 11:09:11 +03:00
myrrc
9788065786 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-05 08:44:37 +03:00
Kruglov Pavel
c494f6f5ff
Merge branch 'master' into collation-support 2020-11-05 01:28:30 +03:00
Maksim Kita
b1e75ec6f5 CreateQuery compound column type indendation fix 2020-11-04 23:43:11 +03:00
alexey-milovidov
cd19509b5c
Update 01541_max_memory_usage_for_user.sh 2020-11-04 23:42:17 +03:00
Maksim Kita
7dd749fc4c BloomFilter index added big integers and UUID support 2020-11-04 23:41:10 +03:00
alexey-milovidov
ae9c8d08a6
Merge pull request #16668 from den-crane/tests/cte2
more tests for CTE #16575
2020-11-04 23:40:19 +03:00
alexey-milovidov
199c32b585
Merge pull request #16672 from ClickHouse/remote-ttests
Remove T-Tests
2020-11-04 23:38:12 +03:00
alexey-milovidov
dbdff0d779
Merge pull request #16661 from ClickHouse/optimize-or-fill
Optimize -OrNull and -OrDefault aggregate functions by providing specializations
2020-11-04 23:37:11 +03:00
Alexey Milovidov
22954cc123 Fix UBSan report when trying to convert infinite floating point number to integer 2020-11-04 19:48:36 +03:00
Jacob Hayes
1c961c281c Add farmFingerprint64 test 2020-11-04 11:32:58 -05:00
Alexey Milovidov
a4cfc240e3 Add a test 2020-11-04 19:19:59 +03:00
Alexey Milovidov
c496aaddb2 Add a test for #16231 2020-11-04 18:29:43 +03:00
myrrc
591ebcef49 fixing test results 2020-11-04 18:23:29 +03:00
alexey-milovidov
ca0037d18b
Update group_by_sundy_li.xml 2020-11-04 18:07:18 +03:00
Alexey Milovidov
ffeee2b471 Remove T-Tests 2020-11-04 18:03:32 +03:00
Ildus Kurbangaliev
4ff1dacaa0 Fix the test case for maxMap function 2020-11-04 14:20:11 +00:00
Denis Zhuravlev
eedf4439bb more tests for CTE #16575 2020-11-04 10:16:49 -04:00
myrrc
43b2d20314 updated the decimal template magic 2020-11-04 16:14:07 +03:00
feng lv
269e96f17e fix 2020-11-04 12:15:31 +00:00
Konstantin Malanchev
382d67d10a Add tests 2020-11-04 12:30:40 +01:00
myrrc
3d70ab7f3b Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-04 14:29:59 +03:00
Alexey Milovidov
e0d962a3cf Add a test for #8772 2020-11-04 14:22:02 +03:00
Alexey Milovidov
3993636d8d Add a test 2020-11-04 14:09:20 +03:00
Alexey Milovidov
938ef62532 Add a test 2020-11-04 14:00:43 +03:00
alexey-milovidov
6f004e4abd
Merge branch 'master' into agg-func-setting-null-for-empty 2020-11-04 13:24:39 +03:00
alexey-milovidov
4fede5b008
Merge pull request #16438 from azat/errorCode-v2
Add errorCodeToName() and system.errors
2020-11-04 12:40:47 +03:00
Alexey Milovidov
d7b4e036d2 Fix flaky tests after "max_memory_usage_for_user" 2020-11-04 12:27:34 +03:00
alexey-milovidov
7b468c0c3a
Merge pull request #16575 from amosbird/cte2
Allow WITH subqueries to take effect immediately
2020-11-04 12:14:27 +03:00
alexey-milovidov
6d62f2163d
Merge pull request #16589 from amosbird/applyp
Allow parameterized functions in APPLY
2020-11-04 12:06:41 +03:00
alexey-milovidov
654d127ce6
Merge pull request #16630 from sundy-li/patch-6
better change the config
2020-11-04 11:36:07 +03:00
alexey-milovidov
397d02f828
Merge pull request #16643 from ClickHouse/quantile-merge-perf
Improve performance of quantileMerge
2020-11-04 11:28:07 +03:00
alexey-milovidov
864feaee39
Merge pull request #16644 from ClickHouse/row-input-format-better-diagnostics
Provide row number when "Cannot read all data" during parsing input
2020-11-04 11:26:54 +03:00
feng lv
b127752102 add test 2020-11-04 07:58:26 +00:00
alesapin
20043e77bb Merge branch 'master' into nvartolomei-drop-part 2020-11-04 10:22:23 +03:00
Azat Khuzhin
26b1024fea Fix 01339_client_unrecognized_option after UNRECOGNIZED_ARGUMENTS value change 2020-11-04 07:12:29 +03:00
Azat Khuzhin
b161127fc1 Add a test for spreading parts between threads for ReadInOrderOptimizer 2020-11-04 07:07:25 +03:00
Ivan
64bd63ca49
Try to parse DataType arguments as another nested type (#16262)
* Try to parse DataType arguments as another nested one

* Allow mixed lists of arguments of data types

* Restore croaring back

* Fix tests
2020-11-04 03:08:55 +03:00
alexey-milovidov
973c1d7983
Merge pull request #16529 from azat/log_queries_min_time
Add log_queries_min_query_duration_ms
2020-11-04 01:47:18 +03:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2 2020-11-04 01:40:41 +03:00
alexey-milovidov
09805399d9
Merge pull request #16560 from azat/test_input_format_parallel_parsing_memory_tracking-flackiness
Fix test_input_format_parallel_parsing_memory_tracking flackiness
2020-11-04 01:37:25 +03:00
alexey-milovidov
225f7e2696
Merge pull request #16594 from amosbird/qpi
Query parameter type : Identifier
2020-11-04 01:35:23 +03:00
alexey-milovidov
df83291603
Merge pull request #16612 from ClickHouse/alter-name-collision
Fix possible name collision in calculation of DEFAULT expression.
2020-11-04 01:34:31 +03:00
alexey-milovidov
3e647062ef
Merge pull request #16614 from ClickHouse/dict-fixedstring
Add a test for #1148
2020-11-04 01:34:01 +03:00
Alexey Milovidov
213f290c09 Add a test 2020-11-03 23:35:03 +03:00
Alexey Milovidov
fdd7f31cf7 Add a test 2020-11-03 23:28:23 +03:00
myrrc
5c6bd218ad adjusted the perftest 2020-11-03 18:01:29 +03:00
Pavel Kruglov
4d399fff3e Support collation for Array and Tuple 2020-11-03 17:09:37 +03:00
Pavel Kruglov
18d8d5d81f Add tests in arcadia_skip_list.txt 2020-11-03 17:08:40 +03:00
Pavel Kruglov
2892252b36 Support collate in LowCardinality(String) and Nullable(String) and refactor ColumnString 2020-11-03 17:06:21 +03:00
myrrc
fcbc0fb91e added specialized performance test 2020-11-03 16:12:27 +03:00
Nikolai Kochetov
6767a226fc Merge branch 'master' into actions-dag-f14 2020-11-03 15:21:06 +03:00
sundy-li
dea4bd483e remove unused codes2 2020-11-03 19:40:45 +08:00
Nikolai Kochetov
07a7c46b89 Refactor ExpressionActions [Part 3] 2020-11-03 14:28:28 +03:00
alexey-milovidov
11fc6fd8c9
Merge pull request #16584 from ClickHouse/drop_table_task_better_scheduling
Better scheduling of drop table task
2020-11-03 14:22:51 +03:00
Anton Popov
85ab1e9bc3
Merge pull request #15938 from Avogar/select_final
Select final
2020-11-03 13:49:47 +03:00
alexey-milovidov
a1fdf8f77a
Merge pull request #16604 from ClickHouse/context-uaf
Add a test for #9246
2020-11-03 13:46:46 +03:00
Alexey Milovidov
888440fe8f Skip test in Arcadia 2020-11-03 13:41:56 +03:00
Alexey Milovidov
13d5bc00f4 Merge branch 'master' of github.com:yandex/ClickHouse into dict-fixedstring 2020-11-03 13:41:14 +03:00
alexey-milovidov
726e9c734b
Merge pull request #16602 from ClickHouse/test-mutation-subquery
Add a test for #7039
2020-11-03 13:39:40 +03:00
alexey-milovidov
5763432395
Merge pull request #16599 from ClickHouse/low-cardinality-materialized-view
Add a test for #5954
2020-11-03 13:39:11 +03:00
alexey-milovidov
3242b9b4f2
Merge pull request #16598 from ClickHouse/test-5995
Add a test for #5995
2020-11-03 13:38:27 +03:00
alexey-milovidov
7978ae63d9
Merge pull request #16619 from ClickHouse/settings-early-apply
Apply SETTINGS clause earlier
2020-11-03 13:33:02 +03:00
alesapin
4d8fb3842d Fix strange test 2020-11-03 13:24:51 +03:00
Ildus Kurbangaliev
2534ea3426 fix bug in minMap and maxMap with zero values 2020-11-03 10:22:51 +00:00
alesapin
6e32e17a7d Merge branch 'master' into alter-name-collision 2020-11-03 13:16:34 +03:00
sundy-li
9cfeb9fd32 remove unused codes 2020-11-03 18:13:48 +08:00
sundy-li
72bde1c688 better change the config 2020-11-03 17:32:31 +08:00
alesapin
da8ac948bf Disallow to drop parts with parallel quorum 2020-11-03 12:24:10 +03:00
alesapin
294489f6ad Merge branch 'master' into nvartolomei-drop-part 2020-11-03 10:19:03 +03:00
Azat Khuzhin
bdd453c54d Add 01546_log_queries_min_query_duration_ms into arcadia_skip_list
In attempt to fix "Yandex synchronization check (only for Yandex employees)"
2020-11-03 00:47:45 +03:00
Anton Popov
a3a8e18637
Merge branch 'master' into select_final 2020-11-03 00:00:43 +03:00
Alexander Kuzmenkov
f10a5207f4
Merge pull request #16601 from ClickHouse/ban_aggregate_function_in_primary_key
Restrict to use non-comparable types in primary key
2020-11-02 23:27:46 +03:00
Alexey Milovidov
878fd466c5 Apply SETTINGS clause earlier 2020-11-02 22:23:26 +03:00
Alexey Milovidov
3bc8ff6af6 Add a test for #1148 2020-11-02 21:52:04 +03:00
nikitamikhaylov
08b63fde77 done 2020-11-02 21:39:54 +03:00
Alexey Milovidov
e6d8ab2270 Fix possible name collision in ALTER 2020-11-02 21:37:23 +03:00
Azat Khuzhin
3be8a56f5c Add log_queries_min_query_duration_ms
Only queries slower then the value of this setting will go to system.query_log,
i.e. something like slow_query_log in mysql.

v2: log_queries_min_time renamed to log_queries_min_query_duration_ms
v3: add current_database into system.query_thread_log
v4: rewrite test using current_database
v5: fix query_duration_ms in system.query_thread_log
2020-11-02 21:34:54 +03:00
Alexander Tokmakov
ac32809b6a fix #16482 2020-11-02 19:40:39 +03:00
Alexander Kuzmenkov
2c8e42c232
Merge pull request #16563 from azat/query_thread_log_query_duration_ms-fix
Fix query_thread_log.query_duration_ms
2020-11-02 19:32:59 +03:00
Alexander Kuzmenkov
de3451d9a4
Merge pull request #16411 from excitoon-favorites/fixflappyafterasyncdrops
Remove redundant diagnostics and fixed `test_jbod_overflow`
2020-11-02 19:26:58 +03:00
Alexander Kuzmenkov
68fc76a751
Update 01455_opentelemetry_distributed.sh 2020-11-02 19:20:27 +03:00
alesapin
67d22b3e57 Merge branch 'master' into nvartolomei-drop-part 2020-11-02 19:09:09 +03:00
alesapin
ebd065c7e0
Merge pull request #16607 from ClickHouse/fix_idiotic_test
Fix stupid error in test with TTL
2020-11-02 18:56:00 +03:00
zhang2014
66b852cf69 Revert "Revert "Try fix IfAggCombinator with NullAggCombinator""
This reverts commit 962a89843c.
2020-11-02 23:55:32 +08:00
Alexander Kuzmenkov
548ac9d57b Merge remote-tracking branch 'origin/master' into HEAD 2020-11-02 17:37:30 +03:00
Nikolai Kochetov
14f6ec6ae2
Merge pull request #16592 from ClickHouse/revert-13964-fix/agg_combinator
Revert "Try fix IfAggCombinator with NullAggCombinator"
2020-11-02 16:53:50 +03:00
alesapin
2eb76f28b9 Fix time in test with TTL 2020-11-02 16:26:55 +03:00
alesapin
7f8560e0c0
Merge pull request #16538 from amosbird/fp2
Allow fetching duplicate parts to detach
2020-11-02 16:10:42 +03:00
Amos Bird
4cfae808fa
Query parameter type : Identifier 2020-11-02 20:58:51 +08:00
feng lv
4d722bc52c fix conflict 2020-11-02 12:52:12 +00:00
Ivan
281bf351d2
Remove ANALYZE and AST queries (#16536) 2020-11-02 15:47:12 +03:00
myrrc
21818fd7e7 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-02 15:35:36 +03:00
Alexey Milovidov
eea28e5ca4 Add a test for #9246 2020-11-02 15:16:35 +03:00
Alexey Milovidov
e7ba98fc47 Add a test for #7039 2020-11-02 14:53:18 +03:00
myrrc
5c77ae914f fixed contexpr modifier build, updated tests 2020-11-02 14:47:59 +03:00
alesapin
f3b3025719 Ban non comparable types in primary key 2020-11-02 14:39:27 +03:00
Nikolai Kochetov
2a0db5d627 Merge branch 'master' into nikitamikhaylov-totals-having 2020-11-02 14:36:18 +03:00
Alexey Milovidov
b0a553e3fd Add a test for #5954 2020-11-02 14:27:49 +03:00
Alexey Milovidov
3f21ae55c9 Add a test for #5995 2020-11-02 14:20:43 +03:00
Nikolai Kochetov
85ed639f8e Added test. 2020-11-02 12:06:17 +03:00
Nikolai Kochetov
962a89843c
Revert "Try fix IfAggCombinator with NullAggCombinator" 2020-11-02 12:01:57 +03:00
alesapin
8b0d9fbc07 Merge branch 'no_background_pool_no_more' into add_separate_pool_for_fetches 2020-11-02 10:54:09 +03:00
Alexander Kuzmenkov
99ee127620 Support SETTINGS clause for File engine
Accept the usual user settings related to file formats.

Most of the diff are the mechanistic code changes required to allow
providing the required FormatSettings to the format factory. The File
engine then extracts these settings from the `CREATE` query, and specifies
them when creating the format parser.
2020-11-02 10:50:38 +03:00
alesapin
101aa9e931 Merge branch 'master' into no_background_pool_no_more 2020-11-02 10:49:19 +03:00
alesapin
432274a580
Merge pull request #16428 from ClickHouse/system_fetches_table
System replicated_fetches table
2020-11-02 10:34:38 +03:00
Alexander Kuzmenkov
dc5fc9ddcb
Merge pull request #16556 from ClickHouse/aku/perf-after-numa
Adjust perf test thresholds after NUMA binding
2020-11-02 09:40:11 +03:00
Amos Bird
13fee19778
Allow parameterized functions in APPLY 2020-11-02 11:10:20 +08:00
Alexander Tokmakov
33fa54cce6 better scheduling of drop table task 2020-11-01 20:37:54 +03:00
feng lv
f04d74172f fix 2020-11-01 15:41:31 +00:00
feng lv
af45cddbc7 fix 2020-11-01 14:43:29 +00:00
Amos Bird
643ee05288
add integration test 2020-11-01 16:02:09 +08:00
Amos Bird
2a747ce5af
Allow WITH subqueries to take effect immediately 2020-11-01 00:02:52 +08:00
alesapin
ae53092536 Merge branch 'master' into system_fetches_table 2020-10-31 18:45:17 +03:00
tavplubix
db146ee615
Merge pull request #16555 from ClickHouse/yet_another_fix_for_00993
Better logging in replication queue, fix flacky test
2020-10-31 14:38:15 +03:00
Azat Khuzhin
d466d147e6 Add 01548_query_log_query_execution_ms into arcadia_skip_list
In attempt to fix "Yandex synchronization check (only for Yandex employees)"
2020-10-31 14:20:27 +03:00
Azat Khuzhin
3b188921dd Fix query_thread_log.query_duration_ms unit
There is a similar problem as in [1], the problem is that
getCurrentTimeNanoseconds() returns time using CLOCK_MONOTONIC.

  [1]: c0e15ba348 ("Fix RealTimeMicroseconds ProfileEvents")
2020-10-31 11:15:27 +03:00
alexey-milovidov
15a342e5e1
Merge pull request #16541 from ucasFL/parse-null
fix parseDateTimeBestEffortOrNull with empty string
2020-10-31 06:38:51 +03:00
alexey-milovidov
4b3c99530f
Merge pull request #16561 from azat/01541_max_memory_usage_for_user-flacky
Fix 01541_max_memory_usage_for_user flackiness
2020-10-31 06:38:25 +03:00
alexey-milovidov
022648a154
Merge pull request #16558 from azat/query_thread_log_current_database
Add current_database into query_thread_log
2020-10-31 06:36:10 +03:00
Azat Khuzhin
067a3f9814 Fix 01541_max_memory_usage_for_user flackiness 2020-10-31 01:26:07 +03:00
Azat Khuzhin
ccddf5e9cf Add 01547_query_log_current_database into arcadia_skip_list
In attempt to fix "Yandex synchronization check (only for Yandex employees)"
2020-10-30 22:56:11 +03:00
alesapin
94ae5aed73
Merge pull request #16550 from ClickHouse/remove_wrong_assertion
Remove wrong assertion from SSDComplexKeyCacheDictionary
2020-10-30 22:45:48 +03:00
Azat Khuzhin
2832255164 Increase asynchronous_metrics_update_period_s to avoid syncing MemoryTracking with RSS 2020-10-30 22:02:02 +03:00
Azat Khuzhin
5bab7a5bc7 Add current_database into query_thread_log 2020-10-30 21:16:10 +03:00
myrrc
06ae95a10a fixing nan values for functions 2020-10-30 21:08:33 +03:00
Alexander Kuzmenkov
e15a8d5ac0 fixup 2020-10-30 21:03:07 +03:00
myrrc
7d6f48263e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 20:17:54 +03:00
myrrc
c24ffc72c7 fixed some other tests 2020-10-30 19:35:55 +03:00
myrrc
b3379e9cf0 fixed some wrong tests, updated docs 2020-10-30 19:17:57 +03:00
Alexander Kuzmenkov
7e76b7b510 more fixes 2020-10-30 18:54:38 +03:00
Alexander Kuzmenkov
38726847fc make the test longer 2020-10-30 18:16:30 +03:00
Alexander Kuzmenkov
3529100da9 Adjust ignored perf test changes after NUMA binding 2020-10-30 18:12:15 +03:00
Anton Popov
48185d437a
Update optimized_select_final.xml 2020-10-30 17:48:59 +03:00
myrrc
9ca35c0b44 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 17:22:24 +03:00
Alexander Tokmakov
cf8202d36e better logging, fix flacky test 2020-10-30 15:41:39 +03:00
alesapin
182f9fbdca Remove wrong assertion from SSDComplexKeyCacheDictionary 2020-10-30 12:36:46 +03:00
alesapin
b34960bffa Merge branch 'master' into system_fetches_table 2020-10-30 11:33:37 +03:00
alesapin
e06f65ee73
Merge pull request #16521 from myrrc/improvement/avro-format-lc
Fixing the inability to deserialize AVRO into table if it contains LowCardinality columns
2020-10-30 11:31:22 +03:00
feng lv
21fcd8aece fix
fix
2020-10-30 07:35:35 +00:00
feng lv
f428675b6e fix parseDateTimeBestEffortOrNull with empty string 2020-10-30 05:42:10 +00:00
Alexey Milovidov
ba4bb18663 Remove useless sleep in test 2020-10-29 21:57:16 +03:00
myrrc
4e5bfc9784 added the simple test 2020-10-29 21:02:48 +03:00
alexey-milovidov
434f6227cb
Merge pull request #16451 from ClickHouse/decimal-round-fuzz
Decimal round fuzz
2020-10-29 20:04:34 +03:00
Vladimir Chebotarev
4189d1f9c2 More attempt to fix test_jbod_overflow. 2020-10-29 16:15:19 +03:00
Anton Popov
9f0f981642
Update optimized_select_final.xml 2020-10-29 14:03:50 +03:00
alesapin
0e07afb821 Merge branch 'no_background_pool_no_more' into add_separate_pool_for_fetches 2020-10-29 12:53:55 +03:00
alesapin
40fc512e79 Merge branch 'master' into no_background_pool_no_more 2020-10-29 12:53:34 +03:00
Azat Khuzhin
b42f77a791 Covert error codes list to lookup table and drop generation of them. 2020-10-29 10:55:41 +03:00