Commit Graph

2922 Commits

Author SHA1 Message Date
nikitamikhaylov
82c6467a5d better 2020-11-17 16:59:12 +03:00
nikitamikhaylov
e75f885ac1 add test 2020-11-17 16:59:12 +03:00
nikitamikhaylov
0d1a8ea2a1 first try 2020-11-17 16:59:12 +03:00
Ivan Lezhankin
1787cd89a7 Implement tcpPort() function literal 2020-11-17 16:24:13 +03:00
tavplubix
b251478d98
Merge pull request #17072 from ClickHouse/fix_crash_16944
Fix crash in CREATE TABLE AS
2020-11-17 12:51:37 +03:00
alesapin
389b883534 Fix index granularity calculation on block borders 2020-11-17 12:37:13 +03:00
Nikolai Kochetov
86395e11a2
Merge pull request #17006 from azat/fix-distributed-queries-finish
Fix Distributed queries finishing (avoid connection resets)
2020-11-17 11:11:27 +03:00
vdimir
428f42053b
Merge remote-tracking branch 'upstream/master' into source-clickhouse-usability 2020-11-16 22:34:28 +03:00
vdimir
6dcb38db3f
Minor changes in IP dictionary 2020-11-16 21:08:31 +03:00
myrrc
862c8a428c Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-16 14:40:49 +03:00
Alexander Tokmakov
8352e5d202 fix crash in CREATE AS 2020-11-16 13:14:12 +03:00
Nikolai Kochetov
00de84fbe3
Merge pull request #16610 from zhang2014/fix/ISSUES-16574
ISSUES-16574 try fix remote query failure when using 'if' suffix aggregate function
2020-11-16 12:41:14 +03:00
Nikolai Kochetov
684d649b70
Merge pull request #16928 from ClickHouse/fix-16580
Fix possible error Illegal type of argument for queries with ORDER BY.
2020-11-16 12:39:20 +03:00
tavplubix
88de1b052c
Merge pull request #16048 from ClickHouse/materialized-view-check-stack-size
Fix possible stack overflow in materialized views.
2020-11-16 12:02:27 +03:00
vdimir
608adc77ca
Remove non-unique entries in ip_dict 2020-11-16 10:43:55 +03:00
hexiaoting
26a529fc32 Bug fix for funciton fuzzBits 2020-11-16 11:46:05 +08:00
alexey-milovidov
0afa1b8fc4
Merge pull request #17044 from CurtizJ/remove-empty-parts-settings
Add setting remove_empty_parts
2020-11-15 23:06:44 +03:00
Nikolai Kochetov
0a1ba8095e
Merge pull request #16992 from ClickHouse/try-fix-ci-5
Trying to fix the unimportant "Arcadia" checks in the CI.
2020-11-15 20:18:13 +03:00
vdimir
5e0e22301b
Slightly improve ip_dict loading performance, handle v4 to v6 masks in prepossessing, add more tests 2020-11-15 18:55:34 +03:00
Anton Popov
de5ead0c40 add setting remove_empty_parts 2020-11-15 05:24:47 +03:00
vdimir
87baaa0d34
Test default empty password for CLICKHOUSE dict source 2020-11-14 23:59:29 +03:00
vdimir
3c6104855d
Fix mask comparison for ip dict, add tests 2020-11-14 23:29:58 +03:00
Alexey Milovidov
df081e57cf Fix test 2020-11-14 23:22:15 +03:00
Alexey Milovidov
1991f1d827 Merge branch 'master' into amosbird-fixcrash 2020-11-14 23:19:57 +03:00
Azat Khuzhin
ed64f2ad67 Add a test for Distributed query finish does not produce any NETWORK_ERROR 2020-11-14 18:35:15 +03:00
alexey-milovidov
8ef4bfc0b5
Merge pull request #16968 from amosbird/blocktypemismatch
Fix missing conversion of unmutated parts
2020-11-14 17:16:51 +03:00
alexey-milovidov
66831d44d4
Merge pull request #16983 from ClickHouse/fix_my_flaky_tests
Trying to fix some flaky tests
2020-11-14 17:12:58 +03:00
myrrc
b1c0089b78 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-14 16:50:04 +03:00
vdimir
1dce20e5da
Default host, port and user parameters for source(clickhouse(...)) 2020-11-14 16:44:45 +03:00
Nikolai Kochetov
ea8f6fde99 Add test to skiplist. 2020-11-13 22:30:38 +03:00
Nikolai Kochetov
ed98b48845
Merge pull request #16618 from ClickHouse/actions-dag-f14
Actions dag 2
2020-11-13 18:34:51 +03:00
Nikolai Kochetov
257bbcafea Added test from #16588
(cherry picked from commit b5a8ef3ceb)
2020-11-13 17:46:23 +03:00
Amos Bird
9961182e86
Fix verbatim partition pruner 2020-11-13 22:05:40 +08:00
alesapin
14485238b1
Update 01040_dictionary_invalidate_query_switchover_long.sh 2020-11-13 16:28:04 +03:00
nikitamikhaylov
070d1bcdd0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into parsing-constraints 2020-11-13 16:27:17 +03:00
alesapin
5ef2eaeeef Trying to fix some flaky tests 2020-11-13 16:25:18 +03:00
Nikolai Kochetov
b5a8ef3ceb Added test from #16588 2020-11-13 15:51:50 +03:00
alesapin
2760593940 Better test 2020-11-13 13:50:15 +03:00
Nikolai Kochetov
00e8c8a2f6 Skip test. 2020-11-13 12:28:21 +03:00
alesapin
e590a341e5 Add test 2020-11-13 11:45:51 +03:00
alesapin
8d3858fc22
Merge pull request #16895 from CurtizJ/remove-empty-parts
Remove empty parts after they were pruned by TTL [2]
2020-11-13 10:00:18 +03:00
Nikita Mikhaylov
33bada767c
Merge branch 'master' into parsing-constraints 2020-11-12 23:25:39 +03:00
alesapin
bbd85c3b2d
Merge pull request #16390 from ClickHouse/add_separate_pool_for_fetches
Add separate pool for fetches
2020-11-12 22:42:28 +03:00
myrrc
aeab02a02f fix test 2020-11-12 21:01:51 +03:00
alexey-milovidov
2151365764
Merge pull request #16865 from filimonov/timeSeriesGroupSum-segfault
Fix for issue #16862
2020-11-12 19:39:14 +03:00
Nikolai Kochetov
e031e805c4 Fix test. 2020-11-12 19:04:35 +03:00
tavplubix
e0dc004b95
Merge pull request #16885 from amosbird/dd
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-12 16:34:21 +03:00
Nikolai Kochetov
1fec1de199 Sdded test 2020-11-12 15:39:35 +03:00
myrrc
a8d8dd7d3e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-12 14:50:59 +03:00
Anton Popov
0aa35d53c7 Merge remote-tracking branch 'upstream/master' into HEAD 2020-11-12 14:31:58 +03:00
alexey-milovidov
6e62108606
Merge pull request #16774 from ucasFL/agg-func-setting-null-for-empty
fix Aggregation Function not found error after #16123
2020-11-12 13:50:15 +03:00
Alexey Milovidov
1af28be77e Merge branch 'master' into amosbird-fixcrash 2020-11-12 13:47:50 +03:00
alexey-milovidov
91f98d2068
Merge pull request #16834 from Avogar/enum-as-num
Try to treat input values as enum id in tsv/scv
2020-11-12 13:46:41 +03:00
feng lv
b1cc582668 fix conflict 2020-11-12 10:42:53 +00:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
alexey-milovidov
8dd81410de
Merge pull request #16843 from azat/clickhouse-client-stage
Add --stage option for clickhouse-client
2020-11-12 13:09:40 +03:00
alesapin
a8d466a645 Merge branch 'master' into add_separate_pool_for_fetches 2020-11-12 12:51:02 +03:00
Nikolai Kochetov
46f70dd0de Merge branch 'master' into actions-dag-f14 2020-11-12 11:54:44 +03:00
vdimir
7c19ad5ac7
Fix mappedIPv4ToBinary, add test reference for ip_dict 2020-11-12 10:37:27 +03:00
feng lv
b7e5c6ed4d fix conflict 2020-11-12 02:26:21 +00: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
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
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
072f481234 Try fix tests. 2020-11-11 15:01:16 +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
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
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
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
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
Nikolai Kochetov
59c0a739c4 Add test to skiplist. 2020-11-10 12:18:51 +03: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
hexiaoting
694ad1f452 Modify except column transformer's error log 2020-11-10 11:14:41 +08: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
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
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
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
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
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
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
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
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
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
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
hexiaoting
8ffce5e974 Merge remote-tracking branch 'origin/master' into dev_replace 2020-11-06 12:02:45 +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
tavplubix
e53f604924
Update 01304_direct_io.sh 2020-11-05 21:43:18 +03:00
Anton Popov
8d42305184 fix transform_null_in with sets of tuples 2020-11-05 21:07:44 +03: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