Commit Graph

45258 Commits

Author SHA1 Message Date
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
alexey-milovidov
8362a1eef3
Merge pull request #12742 from azat/build-fixes-v20.7
Build fixes v20.7 (mostly unbundled+shared+split build)
2020-07-24 15:34:13 +03:00
Nikolai Kochetov
0320b05408
Merge pull request #12746 from ClickHouse/add-test-extra-overflow-row
Added test with extra overflow row.
2020-07-24 15:29:52 +03:00
alexey-milovidov
4fe85e529b
Merge pull request #12734 from ClickHouse/aku/stress-fuzz
Try query fuzzer in stress test
2020-07-24 15:26:29 +03:00
alexey-milovidov
49beef860d
Merge pull request #12733 from ClickHouse/aku/perf-version
Choose proper old version for perf comparison
2020-07-24 15:24:00 +03:00
alexey-milovidov
7776adcfe1
Merge pull request #12704 from azat/abort-on-out_of_range
Abort on std::out_of_range in debug builds
2020-07-24 15:21:51 +03:00
alexey-milovidov
54a021bc84
Merge pull request #12672 from azat/input_format_parallel_parsing-memory-tracking-fix
Fix memory tracking for input_format_parallel_parsing
2020-07-24 12:11:58 +03:00
alexey-milovidov
340e4fac0a
Update system-tables.md 2020-07-24 12:10:32 +03:00
alexey-milovidov
742b8729b8
Update asynchronous_metrics.md 2020-07-24 12:09:30 +03:00
Winter Zhang
50203a5dc0
ISSUES-12293 allow push predicate when subquery contains with clause (#12663) 2020-07-24 12:00:18 +03:00
Nikolai Kochetov
a8970150b5 Added test with extra overflow row. 2020-07-24 12:00:05 +03:00
philip.han
6029ff9bed Remove const 2020-07-24 13:42:16 +09:00
philip.han
e1172755f0 Add static to toFloat64 2020-07-24 11:20:43 +09:00
Azat Khuzhin
d3b95d3fb0 Link clickhouse_storages_system with Poco::JSON (fixes unbundled+shared build) 2020-07-24 00:57:45 +03:00
Azat Khuzhin
73286c7b6e Add skeleton implementations for DummyJSONParser::Element::getObject/getArray
Otherwise it fails for unbundled+shared build
2020-07-24 00:55:50 +03:00
Alexander Kuzmenkov
9475b27936
Update run-fuzzer.sh 2020-07-24 00:07:23 +03:00
Alexander Kuzmenkov
4398c2daf8 boop the CI 2020-07-23 23:44:30 +03:00
Alexey Milovidov
9bbcb67dac Merge branch 'master' into prevent-inconsistent-merge-tree-settings 2020-07-23 23:34:51 +03:00
alexey-milovidov
e7ec08615e
Merge pull request #12727 from ClickHouse/add-test-for-alter-after-freeze
Add a test for ALTER after FREEZE
2020-07-23 23:33:46 +03:00
Ivan Blinkov
0a2cd20570
Update detach.md 2020-07-23 23:02:54 +03:00
Ivan Blinkov
720cd5ca69
Update system.md 2020-07-23 23:02:47 +03:00
Ivan Blinkov
3ea7d8e5cd
Update describe-table.md 2020-07-23 23:02:18 +03:00
Ivan Blinkov
26b7ea0ad9
Update check-table.md 2020-07-23 23:01:28 +03:00
Ivan Blinkov
2fe8b8c65e
Update attach.md 2020-07-23 23:01:14 +03:00
Ilya Yatsishin
c2e0954f26
Fix MySQL broken link 2020-07-23 22:33:55 +03:00