Commit Graph

45271 Commits

Author SHA1 Message Date
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
Alexander Tokmakov
6bfe88e83f Merge branch 'master' into database_atomic_improvements 2020-07-26 13:40:05 +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
Anton Popov
d3fbeb296e write compressed blocks for every column in granule 2020-07-23 19:56:12 +03:00
Azat Khuzhin
417dc43353 Fix thread group for ParallelParsingBlockInputStream after removing std::bind 2020-07-23 19:52:09 +03:00
Alexander Kuzmenkov
c075efa612 Try query fuzzer in stress test 2020-07-23 18:53:13 +03:00
philip.han
104e1b57fa Remove extra ';' after member function definition 2020-07-24 00:49:32 +09:00
Anton Popov
61018c275d Merge remote-tracking branch 'upstream/master' into polymorphic-parts-4 2020-07-23 18:38:29 +03:00
Anton Popov
1d0493cfcc better code in ReaderCompact and perf test added 2020-07-23 18:37:44 +03:00
Alexander Kuzmenkov
acf1e5fe7e Choose proper old version for perf comparison 2020-07-23 18:17:11 +03:00
Artem Zuikov
2041d7d0d8
Fix move_functions_out_of_any optimisation with lambda (#12664) 2020-07-23 18:15:22 +03:00