Commit Graph

1620 Commits

Author SHA1 Message Date
Nicolae Vartolomei
8f1845185e Try fix pk in tuple performance
Possible approach for fixing #10574

The problem is that prepared sets are built correctly, it is a hash map of key -> set
where key is a hash of AST and list of data types (when we a list of
tuples of literals).

However, when the key is built from the index to try and find if there
exists a prepared set that would match it looks for data types of the
primary key (see how data_types is populated) because the primary key
has only one field (v in my example) it can not find the prepared set.

The patch looks for any prepared indexes where data types match for the
subset of fields found in primary key, we are not interested in other
fields anyway for the purpose of primary key pruning.
2020-06-30 16:33:38 +01:00
Alexander Kuzmenkov
f4869eca41
Update cpu_synthetic.xml 2020-06-30 15:14:18 +03:00
alexey-milovidov
81b43dc481
Merge pull request #12020 from ClickHouse/fix-collations-order-by-tuple-const
Fix ORDER BY tuple with COLLATE on const column
2020-06-30 15:09:57 +03:00
alexey-milovidov
08b6ca19d8
Merge pull request #12043 from ClickHouse/topk-enum
Make topK return Enum for Enum types
2020-06-30 15:08:42 +03:00
Artem Zuikov
29178e26da
fix low card types in merge join (#12035) 2020-06-30 14:13:43 +03:00
Alexander Kuzmenkov
588ff8fcc1
Merge pull request #11989 from ClickHouse/aku/long-perf
Try to enable long perf tests
2020-06-30 08:52:29 +03:00
Alexey Milovidov
15cddc3c6e Make topK return Enum for Enum types 2020-06-30 02:17:20 +03:00
Alexey Milovidov
84fa7fa3d8 Remove test that is not supported by "Arcadia" build system 2020-06-30 01:51:49 +03:00
Alexey Milovidov
5a35ff8938 Merge branch 'master' of github.com:yandex/ClickHouse into fix-collations-order-by-tuple-const 2020-06-30 01:51:04 +03:00
alexey-milovidov
c1d2d2d7f7
Merge pull request #12039 from ClickHouse/fix-nullable-tuple-compare
Fix nullable tuple compare
2020-06-30 01:38:46 +03:00
Nikolai Kochetov
840d5185b9 Added test. 2020-06-29 18:32:28 +03:00
Alexander Kuzmenkov
6d67c77e68 fixup 2020-06-29 17:09:51 +03:00
Alexander Kuzmenkov
3223757808
Merge pull request #12019 from ClickHouse/fix-neighbor-overflow
Fix overflow in function "neighbor"
2020-06-29 16:06:05 +03:00
alesapin
718262e7ce
Merge pull request #11973 from ClickHouse/alter-enum-partition-key
Allow to perform "metadata-only" ALTER of partition key.
2020-06-29 16:01:07 +03:00
Vitaly Baranov
f3f005d5b9
Merge pull request #12015 from vitlibar/fix-access-rights-allow-ddl-0
Fix calculation of access rights when allow_ddl = 0
2020-06-29 15:14:22 +03:00
tavplubix
99dfd33e71
Merge pull request #12007 from oandrew/avro-allow-missing-fields
Avro: allow_missing_fields setting
2020-06-29 14:40:27 +03:00
alesapin
e72bc39654
Merge pull request #11983 from ClickHouse/storage_mongodb
Merging #10931 (Storage MongoDB)
2020-06-29 11:49:18 +03:00
Alexander Kuzmenkov
de95d42de6 make a short test for DateTime 2020-06-29 10:58:50 +03:00
alexey-milovidov
22de79846a
Merge pull request #12017 from ClickHouse/fix-integration-test-11996
Fix integration test
2020-06-29 03:39:12 +03:00
Alexey Milovidov
4dcdad2f08 Fix ORDER BY tuple with COLLATE on const column 2020-06-28 23:55:45 +03:00
Alexey Milovidov
a838f86f7c Fix overflow in function "neighbor" 2020-06-28 23:43:26 +03:00
Alexey Milovidov
b6a57b162a Fix error in addMonths with floating point argument 2020-06-28 23:20:49 +03:00
alexey-milovidov
aaadc8addb
Merge pull request #12006 from ClickHouse/fix-error-geohash
Avoid floating point error in geohashesInBox #11369
2020-06-28 23:09:39 +03:00
Alexey Milovidov
b985584a09 Fix integration test 2020-06-28 23:03:45 +03:00
Alexey Milovidov
fe67e4f326 Added missing ORDER BY in test 2020-06-28 22:48:52 +03:00
Alexey Milovidov
d429ead205 Added test reference 2020-06-28 22:39:31 +03:00
Alexey Milovidov
dfc5e07af3 Added failing test for Replicated table 2020-06-28 22:39:31 +03:00
Alexey Milovidov
180711c1e2 Update test 2020-06-28 22:39:31 +03:00
Alexey Milovidov
e4d8cc2b44 Slightly more safe 2020-06-28 22:39:31 +03:00
Alexey Milovidov
c2615d0437 Added a test 2020-06-28 22:39:31 +03:00
Alexey Milovidov
14294d7c54 Added failing test 2020-06-28 22:39:31 +03:00
Vitaly Baranov
b230e74026 Add test test_allow_ddl. 2020-06-28 21:44:27 +03:00
Andrew Onyshchuk
4a9ec11a4c Add tests 2020-06-28 13:40:48 -05:00
Alexey Milovidov
306714f2d3 Merge remote-tracking branch 'origin/master' into fix-array-size-overflow-generate-random 2020-06-28 19:12:54 +03:00
alexey-milovidov
7376f18467
Merge pull request #11923 from ucasFL/client-not-argue
client exit with unrecognized arguments
2020-06-28 17:38:25 +03:00
Alexey Milovidov
2a79e0b61b Added a test 2020-06-28 17:35:44 +03:00
alexey-milovidov
d867dd8a65
Merge pull request #12005 from ClickHouse/fix-div-nontrivial-fpe
Fix potential FPE.
2020-06-28 16:16:26 +03:00
feng lv
2c96ad0a7e update 2020-06-28 17:04:11 +08:00
Alexey Milovidov
c35841e4e1 Avoid floating point error in geohashesInBox #11369 2020-06-28 02:07:24 +03:00
Alexey Milovidov
58d52c3715 Add a test 2020-06-28 01:37:52 +03:00
Alexey Milovidov
94a0cd12f3 Update test 2020-06-28 00:19:55 +03:00
Alexey Milovidov
1a1d1ef516 Added a test for #8550 2020-06-27 23:15:07 +03:00
alexey-milovidov
5ed815c63e
Merge pull request #11988 from ClickHouse/add-test-index-analysis
Add a test for #10102
2020-06-27 22:18:58 +03:00
alexey-milovidov
5a99cdb0d9
Merge pull request #11996 from BohuTANG/mysql_engine_enum
ISSUES-3985 Support MySQL engine reading Enums type
2020-06-27 22:18:25 +03:00
BohuTANG
f783a2976b Insert enum column values for test 2020-06-27 21:25:03 +08:00
Nikita Mikhaylov
36549884f4
Merge pull request #11947 from nikitamikhaylov/merging-ssh-cache
Merging #8624 (ssd-cache)
2020-06-27 14:58:08 +04:00
BohuTANG
a13d201991 Add integration test for MySQL enums type 2020-06-27 17:46:19 +08:00
Alexander Kuzmenkov
87c81e9ad2 longer 2020-06-27 03:59:00 +03:00
Alexander Kuzmenkov
e58e1c5471 Try to enable long perf tests 2020-06-27 00:02:13 +03:00
Alexey Milovidov
7a07f86e37 Added a test from #5131 2020-06-26 23:49:25 +03:00