Commit Graph

6482 Commits

Author SHA1 Message Date
chertus
9748f8dcf6 fix bug with comma join and in 2020-02-20 16:33:14 +03:00
alexey-milovidov
5d4a85488e
Merge pull request #9231 from abyss7/log-alias
Get marks from first non-alias column in Log storage
2020-02-20 16:20:21 +03:00
alesapin
737a650824 Fix one more test 2020-02-20 16:02:58 +03:00
CurtizJ
3f7f13ce05 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-02-20 15:36:55 +03:00
Yury Stankevich
c998e5f149 force deduplicate children test 2020-02-20 13:07:30 +03:00
alesapin
cbd8b697c4 Better error codes and exception messages, remove duplicated headers 2020-02-20 13:04:15 +03:00
alexey-milovidov
63aa168a8c
Merge pull request #9229 from 4ertus2/ast
Fix CROSS to INNER JOIN rewrite with [NOT] LIKE
2020-02-20 12:54:57 +03:00
Alexander Kazakov
5a67c02a5d
In KeyCondition: Fixed execution of inversed predicates for non-strictly monotinic functional index (#9223)
* Tests for functional index

* Fixed execution of inversed predicates in functional index

When non-strictly monotonic functional index is used inverted predicated
may be executed incorrectly, which leads to multiple problems: #8821,
#9034
2020-02-20 12:53:02 +03:00
alesapin
5282f8b59c Fix tests and small bug 2020-02-20 12:22:17 +03:00
alesapin
2561e27ead Add settings to storage in test 2020-02-20 11:50:00 +03:00
zhang2014
130e76d5c0 ISSUES-9230 pushed SelectQueryOption into join expression 2020-02-20 11:15:59 +08:00
CurtizJ
2f30a1350b pass proper time for TTL 2020-02-20 03:24:05 +03:00
alesapin
e69fd2ac0d Fix test 2020-02-19 23:44:36 +03:00
Ivan Lezhankin
894c451cf0 Get marks from first non-alias column in Log storage 2020-02-19 21:06:18 +03:00
chertus
732c50408a disable crazy push down for test 2020-02-19 20:29:57 +03:00
chertus
fa8f07374b fix CROSS to INNER JOIN rewrite with [NOT] LIKE 2020-02-19 20:22:16 +03:00
CurtizJ
803d9da496 add test for mutations with TTL 2020-02-19 20:18:12 +03:00
CurtizJ
6bc5d988d5 tests for compact parts 2020-02-19 17:55:03 +03:00
Pavel Kovalenko
d4fa60f52d Rename disk_name -> disk. 2020-02-19 17:50:39 +03:00
alesapin
d5b4ddf6d8 Simplier alter modify logic 2020-02-19 17:49:59 +03:00
chertus
1c297412d4 fix test 2020-02-19 16:10:03 +03:00
Pavel Kovalenko
d662c1e006 Merge branch 'master' into storage-stripe-log-s3 2020-02-19 13:24:23 +03:00
alexey-milovidov
b063dbeaf2
Merge pull request #8598 from excitoon-favorites/passttlsoverhttp
Pass TTL rule info with block to other replicas
2020-02-19 12:09:25 +03:00
alexey-milovidov
1c66c2f383
Merge pull request #9201 from CurtizJ/fix-range-reader
Fix mistake introduced in #9050.
2020-02-19 11:58:21 +03:00
CurtizJ
dea444b69c fix mistake in MergeTreeDataSelectExecutor 2020-02-19 00:00:51 +03:00
CurtizJ
b0f7905567 better TTL calculations with mutations 2020-02-18 22:03:40 +03:00
Pavel Kovalenko
05ceef4ef8 Log family storages disk support via 'SETTINGS' clause. 2020-02-18 17:41:30 +03:00
CurtizJ
49c80c88ef Merge remote-tracking branch 'upstream/master' into alter-ttl 2020-02-18 10:58:07 +03:00
Pavel Kovalenko
33443c4bea Merge branch 'master' into storage-stripe-log-s3
# Conflicts:
#	dbms/src/Compression/CompressedReadBufferFromFile.h
#	dbms/src/IO/ReadBufferFromFileBase.h
2020-02-18 00:29:09 +03:00
alexey-milovidov
3fcf2d4e78
Merge pull request #9155 from ClickHouse/obfuscator-overgenerate-data
clickhouse-obfuscator: allow to generate more data than was in source
2020-02-17 23:51:57 +03:00
CurtizJ
2ff030be35 recalculate TTL expressions during mutations 2020-02-17 23:39:24 +03:00
Alexey Milovidov
808e27bf30 Added a test #9160 2020-02-17 21:52:10 +03:00
Pavel Kovalenko
cceaf69264 Change log_family_disk_memory test number. 2020-02-17 13:51:16 +03:00
Pavel Kovalenko
f9965a7d29 Merge branch 'master' into storage-stripe-log-s3
# Conflicts:
#	dbms/tests/config/disks.xml
2020-02-17 13:46:06 +03:00
CurtizJ
1612fefd66 better test 2020-02-17 12:21:57 +03:00
Alexey Milovidov
d66d1c7930 Added a test for obfuscator 2020-02-17 11:05:48 +03:00
Alexey Milovidov
09e18f05ce Fixed error, added a test #9143 2020-02-17 09:54:24 +03:00
alexey-milovidov
ca00c9c4cd
Merge pull request #9150 from ClickHouse/fix-bug-demangle
Fix bug in "demangle" function
2020-02-17 07:22:11 +03:00
alexey-milovidov
e0b6019878
Merge pull request #9014 from amosbird/joingetfix2
Fix joinGet with nullable return types.
2020-02-17 06:59:40 +03:00
Amos Bird
0dee987831
Fix joinGet with nullable return types. 2020-02-17 07:32:32 +08:00
Alexey Milovidov
405630d38e Added test #8985 2020-02-16 14:58:54 +03:00
alexey-milovidov
4db0eac979
Merge pull request #9149 from ClickHouse/fix-bad-join-test
Fixed non-deterministic test
2020-02-16 13:53:11 +03:00
Alexey Milovidov
ecbc3c5f33 Fixed non-deterministic test 2020-02-16 11:54:41 +03:00
alexey-milovidov
41c883ace3
Merge pull request #8911 from millb/secure_password
Changed format for path in replicas
2020-02-16 07:17:12 +03:00
alexey-milovidov
76f09ec883
Merge pull request #9052 from oandrew/reinterpret-fixedstring-bugfix
Use correct implementation for reinterpretAsFixedString
2020-02-16 06:11:13 +03:00
Andrew Onyshchuk
55b9af60ca Add test for reinterpretAsFixedString 2020-02-15 17:49:32 -06:00
alexey-milovidov
7f581fb555
Merge pull request #9135 from den-crane/test-for-6143
tests for #6143 and #2314
2020-02-15 02:57:20 +03:00
alexey-milovidov
38c4f3ed84
Merge pull request #9131 from ClickHouse/better_temporary_live_view_syntax
Better CREATE syntax for temporary LIVE VIEW
2020-02-15 02:55:37 +03:00
alexey-milovidov
ab702acf12
Merge pull request #9105 from ClickHouse/aku/flap-faster
Make some performance tests faster.
2020-02-15 02:54:16 +03:00
alexey-milovidov
a264f4a4dc
Merge pull request #9061 from ClickHouse/aku/flappy-perf
Less flappy performance test queries
2020-02-15 02:53:10 +03:00
alexey-milovidov
71c6430f10
Merge pull request #9129 from Jokser/disks-section-for-functional-tests
Added disks section for stateless functional testing.
2020-02-15 02:48:19 +03:00
alexey-milovidov
ec1191e4e8
Update disks.xml 2020-02-15 02:47:24 +03:00
alexey-milovidov
4d0d32da23
Merge pull request #9091 from PerformanceVision/bit_on_bitset
Implement bit operations for FixedString datatype for doing bits operation on a bitset
2020-02-15 02:43:29 +03:00
CurtizJ
cb9936cbc4 better checking if we can use polymorphic parts 2020-02-15 00:33:02 +03:00
Denis Zhuravlev
bef505a804 Merge branch 'test-for-6143' of github.com:den-crane/ClickHouse into test-for-6143 2020-02-14 16:43:41 -04:00
Denis Zhuravlev
cce9645848 test for #2314 2020-02-14 16:43:28 -04:00
Denis Zhuravlev
dada5cf6ca
Update 01080_engine_merge_prewhere_tupleelement_error.sql
optimize_move_to_prewhere=0
2020-02-14 16:17:29 -04:00
Denis Zhuravlev
eec35ce32d test for #6143 2020-02-14 16:11:38 -04:00
Alexander Kuzmenkov
4c4448c04b
Update ngram_distance.xml 2020-02-14 22:49:54 +03:00
Alexander Kuzmenkov
e3abc3b60d
Update general_purpose_hashes_on_UUID.xml 2020-02-14 22:46:27 +03:00
Alexander Kuzmenkov
db0f2a5dba
Update codecs_int_insert.xml 2020-02-14 22:44:59 +03:00
CurtizJ
73b1ac0eac add integration tests for polymorphic parts 2020-02-14 22:11:51 +03:00
Alexander Tokmakov
6889951396 better syntax for temporary LIVE VIEW 2020-02-14 21:20:20 +03:00
Pavel Kovalenko
7c585291b5 Added disks section for stateless functional testing. 2020-02-14 18:37:51 +03:00
Anton Popov
1162c22063
Merge pull request #9106 from CurtizJ/fix-range-reader
Fix segfault in MergeTreeRangeReader
2020-02-14 17:59:43 +03:00
Pavel Kovalenko
06e203d004 StorageStripeLog S3 support. 2020-02-14 17:28:33 +03:00
Alexander Kuzmenkov
191759ba17
Update set_hits.xml 2020-02-14 14:15:26 +03:00
Alexander Kuzmenkov
76e2065162
Update codecs_int_insert.xml 2020-02-14 14:12:44 +03:00
Alexander Kuzmenkov
e0b7755fa7
Update general_purpose_hashes_on_UUID.xml 2020-02-14 14:03:44 +03:00
CurtizJ
ddb3a55f67 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-02-14 13:15:16 +03:00
Guillaume Tassery
0a02eca9b7 update tests 2020-02-14 10:23:55 +01:00
Guillaume Tassery
264b59de44 add bitNot performance tests 2020-02-14 10:09:46 +01:00
Guillaume Tassery
59ed5f65b5 Add bitNot function 2020-02-14 09:17:32 +01:00
Guillaume Tassery
2c1dfab240 add tests for bitOr and bitXor 2020-02-14 05:41:25 +01:00
Guillaume Tassery
d05026ec75 add performance test 2020-02-14 04:57:03 +01:00
Denis Zhuravlev
4857d43b6a
Update mingroupby-orderbylimit1.xml
fix for table name
2020-02-13 23:00:18 -04:00
Alexander Kuzmenkov
37b2932291
Update codecs_int_insert.xml 2020-02-14 02:11:43 +03:00
Anton Popov
7042bafda4
Update 01079_new_range_reader_segfault.sql 2020-02-14 01:58:30 +03:00
Alexander Kuzmenkov
810fe655ea
Update general_purpose_hashes_on_UUID.xml 2020-02-14 01:23:54 +03:00
Denis Zhuravlev
92a6d30d3a Added performance test for min_group_by / order_by_limit1 2020-02-13 17:34:23 -04:00
CurtizJ
7041e28077 fix segfault in MergeTreeRangeReader 2020-02-14 00:20:35 +03:00
Alexander Kuzmenkov
1bd2f55bc1
Update inserts_arrays_lowcardinality.xml 2020-02-13 21:58:46 +03:00
Alexander Kuzmenkov
99c6246d97 Make some performance tests faster. 2020-02-13 21:42:55 +03:00
alexey-milovidov
7aeb900922
Merge pull request #8436 from achulkov2/polygon-dict-basic-interface-improvements
[WIP] Basic interface for polygon dictionaries
2020-02-13 21:05:42 +03:00
CurtizJ
d39179b86f add integration tests 2020-02-13 17:59:15 +03:00
Alexander Kuzmenkov
e9d4bcaa75
Update general_purpose_hashes_on_UUID.xml 2020-02-13 17:58:16 +03:00
alexey-milovidov
296621f757
Merge pull request #9076 from sundy-li/mysql-show-tables
Show Queries more like MySQL did
2020-02-13 16:50:12 +03:00
Alexander Kuzmenkov
3a58ef03e3
Update general_purpose_hashes_on_UUID.xml 2020-02-13 12:50:25 +03:00
Alexander Kuzmenkov
b9eb40bccb
Update cpu_synthetic.xml 2020-02-13 11:56:06 +03:00
Mikhail Korotov
62be802ea9 tests fixed 2020-02-12 17:35:23 +03:00
Mikhail Korotov
12c9fbe44d Merge branch 'secure_password' of https://github.com/millb/ClickHouse into secure_password 2020-02-12 17:12:18 +03:00
millb
c4b45ddff8 fixed tests 2020-02-12 17:11:03 +03:00
Alexander Kuzmenkov
48a98773c9
Update general_purpose_hashes_on_UUID.xml 2020-02-12 15:39:44 +03:00
Guillaume Tassery
46bffd0564 add tests 2020-02-12 12:08:14 +01:00
Alexander Kuzmenkov
f88bf5595c
Update cpu_synthetic.xml 2020-02-11 22:21:08 +03:00
Alexander Kuzmenkov
5dcca60d98
Update general_purpose_hashes_on_UUID.xml 2020-02-11 22:18:40 +03:00
Alexander Kuzmenkov
413cb601dd
Merge pull request #8969 from filimonov/kafka_producer_with_key_and_timestamp
key and timestamp in Kafka producer
2020-02-11 22:03:37 +03:00
Ivan
1f4ba36cbc
Fix some tests to support pytest with query tests (#9062) 2020-02-11 21:05:08 +03:00
Ilya Yatsishin
5b4b04e13b
Merge pull request #9050 from CurtizJ/fix-range-reader
Fix order of ranges in MergeTreeDataSelectExecutor
2020-02-11 18:31:34 +03:00
sundy-li
9ad7f3f0e1 Update tests 2020-02-11 22:52:09 +08:00
sundy
250475557d Show Queries more like MySQL 2020-02-11 19:36:12 +08:00
Alexander Kuzmenkov
f9a7a32852 less flappy 2020-02-10 21:38:53 +03:00
Alexander Kuzmenkov
d59a9a7ded less flappy 2020-02-10 15:54:16 +03:00
Alexander Kuzmenkov
17de1b7519
Merge pull request #9018 from ClickHouse/aku/flappy-perf
Less flappy performance test queries
2020-02-10 15:52:42 +03:00
alesapin
2734347cc0 More verbose logging in flacky test 2020-02-10 12:16:15 +03:00
tavplubix
4543177931 Merge pull request #9048 from ClickHouse/fix_mutation_order
Fix primary.idx corruption after delete mutation
2020-02-09 19:21:23 +03:00
CurtizJ
b9fc9b4569 fix order of ranges in MergeTreeDataSelectExecutor 2020-02-08 00:07:18 +03:00
Ivan
1b55150701
Add row-level filter support to Distributed engine (#8926)
* Add tests
* Implement support for initial user on remote side.
2020-02-07 22:31:09 +03:00
Alexander Kuzmenkov
a380c21649
Update general_purpose_hashes.xml 2020-02-07 22:01:13 +03:00
tavplubix
7cd87125c7
Merge pull request #9026 from ClickHouse/fix_poco_ssl_timeouts
Fix poco secure sockets timeouts
2020-02-07 21:46:12 +03:00
tavplubix
c6a8e4d67e
Merge pull request #8958 from ClickHouse/json-each-row-array-fix
Fixed error in JSONEachRow when data is in array.
2020-02-07 21:44:21 +03:00
Nikita Mikhaylov
1324f3946e
Merge pull request #8988 from nvartolomei/nv/alter-mv-modify-query
Modify Materialized View query
2020-02-07 21:28:27 +03:00
alesapin
7aa71bb1dd
Merge pull request #8957 from oandrew/avro-fixes-confluent
AvroConfluent integration test
2020-02-07 16:59:37 +03:00
alesapin
f3a35998e1 Fix primary.idx corruption after delete mutation 2020-02-07 16:54:17 +03:00
Alexander Tokmakov
16a3bed290 Merge branch 'master' into fix_poco_ssl_timeouts 2020-02-07 16:36:45 +03:00
Alexander Tokmakov
47ad022a1f disable parallel parsing for JSON in square brackets 2020-02-07 16:16:51 +03:00
Anton Popov
3e8179108b
Merge pull request #8892 from PerformanceVision/select_constants
DB::Exception: Parameters are out of bound when we have a constant on the SELECT clause
2020-02-07 14:05:16 +03:00
Anton Popov
9dc7577d15
Merge pull request #9038 from CurtizJ/fix-range-reader
Add test for #8914
2020-02-07 03:47:51 +03:00
Vitaly Baranov
7ebcd4b290
Merge pull request #8875 from vitlibar/RBAC-5
RBAC-5.1
2020-02-07 03:40:15 +03:00
Artem Zuikov
31948a063a
Trying to fix early constant folding (#9010)
add setting to disable early constant folding
2020-02-07 03:05:51 +03:00
Alexander Kuzmenkov
070ebb6bb6
boop 2020-02-07 01:42:19 +03:00
CurtizJ
cdcaef9349 add test for #8914 2020-02-06 21:57:18 +03:00
Alexander Tokmakov
acef7fc5bd add test 2020-02-06 20:23:05 +03:00
Vitaly Baranov
02262e3b6e Add one more test. 2020-02-06 18:12:53 +03:00
Vitaly Baranov
d2ff1e5dd4 Implement partial revokes. 2020-02-06 18:12:53 +03:00
Vitaly Baranov
3706b9d92a Add tests. 2020-02-06 18:12:53 +03:00
Alexander Kuzmenkov
3df25af15f
Merge pull request #8780 from ClickHouse/aku/msan-final
Suppress the last two MemorySanitizer failures
2020-02-06 16:34:55 +03:00
Alexander Kuzmenkov
ed90f6167c
Update msan_suppressions.txt 2020-02-06 16:34:11 +03:00
Alexander Kuzmenkov
3fb8dcae55 less flappy 2020-02-06 16:11:02 +03:00
Alexander Kuzmenkov
d9073f27b7 Revert "Merge pull request #9025 from ClickHouse/revert-8303-cache-dictionary"
This reverts commit 24bdad3768, reversing
changes made to dad4f03a8f.
2020-02-06 15:18:19 +03:00
Alexander Kuzmenkov
115c89f057 less slow 2020-02-06 14:51:22 +03:00
Nicolae Vartolomei
949b498d37 Always wait for all background INSERTs to finish to catch stuck queries 2020-02-06 11:44:15 +00:00
Nicolae Vartolomei
0939a9460f Modify Materialized View query 2020-02-06 08:57:54 +00:00
alesapin
29a26a87b4 Merge pull request #9022 from ClickHouse/mutations_parts_to_do_fix
Fix mutations finalization task
2020-02-06 11:26:13 +03:00
Alexander Tokmakov
180b5d409d fix poco secure sockets timeouts 2020-02-05 23:45:16 +03:00
Alexander Kuzmenkov
189a6e65c5
boop 2020-02-05 23:07:39 +03:00
CurtizJ
db47ef923c fix prewhere 2020-02-05 19:42:27 +03:00
alesapin
1923930379 Fix mutations finalization task 2020-02-05 19:30:02 +03:00
Alexander Kuzmenkov
64576c6a7a Less flappy performance test queries 2020-02-05 17:49:19 +03:00
zhang2014
370615de93 ISSUES-8971 add test for predicate optimizer & view 2020-02-05 19:44:18 +08:00
Mikhail Filimonov
babd3ca34e Fixing test build, more review fixes 2020-02-05 08:05:55 +01:00
Mikhail Filimonov
cf35392433 Test for producer with _timestamp and _key 2020-02-04 23:12:26 +01:00
Guillaume Tassery
a79a9cf078 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants 2020-02-04 05:09:12 +01:00
alexey-milovidov
e24926d16e
Merge pull request #8952 from azat/getSerializedSize
Add blockSerializedSize() function (size on disk without compression)
2020-02-03 15:46:26 +03:00
alexey-milovidov
59ef2b2009
Merge pull request #8963 from millb/CRLF_in_TSV
CRLF in TSV output format
2020-02-03 15:44:59 +03:00
alexey-milovidov
5689bef818
Merge pull request #8967 from CurtizJ/attach-if-not-exists
Fix query 'ATTACH TABLE IF NOT EXISTS'
2020-02-03 15:41:57 +03:00
CurtizJ
2d7ff400ed Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-02-03 13:46:00 +03:00
CurtizJ
a5b5cb2e94 fix query 'ATTACH TABLE IF NOT EXISTS' 2020-02-03 13:38:09 +03:00
Guillaume Tassery
4189a0d70b Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants 2020-02-03 10:46:37 +01:00
Azat Khuzhin
e89ceae61a Add blockSerializedSize() function (size on disk without compression)
Sometimes it is useful to know how much does this data will take on
disk, with blockSerializedSize() you can know this (although without
compression).

This can be a major knowledge for various aggregation functions that
tracking some state (i.e. uniqCombined).
2020-02-03 11:26:40 +03:00