Commit Graph

45224 Commits

Author SHA1 Message Date
nikitamikhaylov
4d8a00d25e Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB 2020-07-27 17:13:27 +03:00
jakalletti
7f853c2a56 fix arcadia 2020-07-27 17:10:57 +03:00
alesapin
e73961dfe2 Fix columns duplication for range hashed dictionary created from DDL query 2020-07-27 17:06:44 +03:00
Nikolai Kochetov
2f0f1aa5bc Remove thread limiting. 2020-07-27 16:20:31 +03:00
alesapin
4b75be44a3 Fix arcadia build 2020-07-27 16:04:13 +03:00
alexey-milovidov
7dac65ce0f
Merge pull request #12659 from zhang2014/fix/ISSUES-10572
ISSUES-10572 fix bloom filter with const column
2020-07-27 14:38:56 +03:00
Alexey Milovidov
916daf7ff0 Fix build of test under Mac OS X #12767 2020-07-27 14:34:52 +03:00
Anton Popov
c23bc8aace
Merge pull request #12492 from CurtizJ/polymorphic-parts-4
Make read buffer size lower, while reading from compact parts
2020-07-27 14:22:54 +03:00
Alexander Kuzmenkov
b6f2fde37e performance comparison 2020-07-27 14:20:45 +03:00
Ivan
1e10ce6bcf
Update scripts (#12726) 2020-07-27 13:05:38 +03:00
Ilya Yatsishin
0517449e28
Update docker/test/integration/base/Dockerfile 2020-07-27 13:01:26 +03:00
alesapin
3d743c5f75 Enable 00992 back 2020-07-27 12:52:04 +03:00
alesapin
1707f84a44 Less strict check and rare rename bug 2020-07-27 12:42:37 +03:00
alexey-milovidov
79a7c9c3f0
Merge pull request #12766 from excitoon/patch-10
Updated broken link in `asynchronous_metric_log.md`
2020-07-27 03:51:24 +03:00
Vladimir Chebotarev
81636eb69e
Update asynchronous_metric_log.md 2020-07-27 00:43:03 +03:00
Vladimir Chebotarev
f655270ec3
Update asynchronous_metric_log.md 2020-07-27 00:39:04 +03:00
alexey-milovidov
07413a939c
Merge pull request #12764 from Alex-Burmak/patch-1
Fixed typo in grant.md: YSQL -> MYSQL
2020-07-26 23:05:36 +03:00
Vladimir Chebotarev
a9e0a5d95b Test fix. 2020-07-26 21:27:36 +03:00
Vladimir Chebotarev
1b3f5c99f5 Real fix of test. 2020-07-26 21:27:36 +03:00
Vladimir Chebotarev
f5af64514f Test fix (removed redundant code). 2020-07-26 21:27:36 +03:00
Vladimir Chebotarev
ee21fde3fe Review fixes. 2020-07-26 21:27:36 +03:00
Vladimir Chebotarev
8039d45910 Minor fix in StorageDistributed. 2020-07-26 21:27:36 +03:00
Gleb Novikov
ee07c74868 Fixed integration test_multiple_disks 2020-07-26 21:27:36 +03:00
Gleb Novikov
aac97957ce Fixed integration test_tmp_policy 2020-07-26 21:27:36 +03:00
Gleb Novikov
99d52552e1 Small fixes for tests 2020-07-26 21:27:36 +03:00
Gleb Novikov
f4080ed6cc removed unused error code 2020-07-26 21:27:36 +03:00
Gleb Novikov
e4699e297e removed default clause in switch for VolumeType enum 2020-07-26 21:27:36 +03:00
Gleb Novikov
2c39584a44 Braces style fix 2020-07-26 21:27:36 +03:00
Gleb Novikov
adef249c34 Small fix of VolumeRAID1Ptr 2020-07-26 21:27:36 +03:00
Gleb Novikov
7f5b6fba78 Generic volume is coming...
1. SingleDiskVolume for temporary volumes
2. Generic VolumePtr in StoragePolicies
3. Removed max_data_part_size in system.storage_policies, added volume_type
2020-07-26 21:27:36 +03:00
Gleb Novikov
96c7cc8724 Small clang-10 warning fixes + ya.make 2020-07-26 21:27:36 +03:00
Gleb Novikov
db56820fab Style fixes and added UNKNOWN_RAID_TYPE exception to createVolumeFromConfig 2020-07-26 21:27:36 +03:00
Gleb Novikov
3585b24f16 MultiDiskReservation, VolumeRAID1 and createVolumeFromConfig
1. Implemented MultiDiskReservation to maintain multiple reservations under one
2. Implemented VolumeRAID1 as child of VolumeJBOD (since RAID1 is quite similar)
3. Implemented createVolumeFromConfig
2020-07-26 21:27:36 +03:00
Alexander Burmak
86b3ec5b82
Fixed typo in grant.md: YSQL -> MYSQL 2020-07-26 20:54:25 +03:00
alesapin
2d8e36ed5f Add test for sticking mutations 2020-07-26 18:58:03 +03:00
alesapin
561906d5f4 Better comments 2020-07-26 17:27:31 +03:00
alesapin
e0bf5913e7 Fix sticking mutations 2020-07-26 17:21:57 +03:00
Azat Khuzhin
4713b59159 Fix CAST(Nullable(String), Enum())
The wrapper that is returned from createStringToEnumWrapper() does not
have access to the ColumnNullable (i.e. original column), because it is
converted to nested type in the prepareRemoveNullable().

So add original ColumnNullable into the block in prepareRemoveNullable()
if source type is Nullable and pass this flag to the
createStringToEnumWrapper() to make it know about that fact that last
column in the block is the original ColumnNullable in this case.

And this one looks most sane.
2020-07-26 12:00:24 +03:00
alesapin
c66dc23a47 Fix error style 2020-07-25 23:56:29 +03:00
alesapin
eae7dc852e Fix build 2020-07-25 23:54:33 +03:00
alesapin
393a9195ca Better exception message 2020-07-25 17:45:46 +03:00
alesapin
78d357f0d2 Add a test for sticking mutations bug 2020-07-25 17:42:20 +03:00
Ivan Babrou
e835ec0b56 Show marks before applying skipping indices
This change makes skipping index efficiency more obvious, changing this:

```
Selected 30 parts by date, 30 parts by key, 592 marks to read from 541 ranges
```

Into this:

```
Selected 30 parts by date, 30 parts by key, 48324 marks by primary key, 592 marks to read from 541 ranges
```
2020-07-24 15:45:38 -07:00
Ivan Babrou
67d4529783 Show total granules examined by skipping indices
This change makes skipping index efficiency more obvious, changing this:

```
Index `idx_duration` has dropped 59 granules.
```

Into this:

```
Index `idx_duration` has dropped 59 / 61 granules.
```
2020-07-24 14:50:32 -07:00
Azat Khuzhin
500509d9ed Add a test for CAST(Nullable(String), Enum()) 2020-07-24 20:45:07 +03:00
alexey-milovidov
558f9c7630
Merge pull request #12752 from ClickHouse/revert-12704-abort-on-out_of_range
Revert "Abort on std::out_of_range in debug builds"
2020-07-24 18:12:18 +03:00
alexey-milovidov
b5e87f5b25
Revert "Abort on std::out_of_range in debug builds" 2020-07-24 18:12:03 +03:00
Vitaliy Zakaznikov
72f403bb14 Increasing shell default timeout to 120 sec. 2020-07-24 10:05:13 -04:00
Anton Popov
70022c7a6c
Mark query short 2020-07-24 16:59:50 +03:00
Nikolai Kochetov
bfe039fc0c
Update SourceFromInputStream.h
Added comment.
2020-07-24 16:38:07 +03:00