Commit Graph

34782 Commits

Author SHA1 Message Date
Baudouin Giard
9216c5761c Fix crash in corner case of MergeTreeRangeReader::ReadResult::shrink
It looks like most times the original number of rows per granule is
pretty much consistent across all granules, except for the last one,
however there seems to be cases (Issue #7713) where that's not the case.

The only way I have to reproduce the crash involves using proprietary
data, and unfortunately I haven't been able to come up with a test case
that would highlight the problem - just like the person who opened issue
7713. I can't share my dataset.

Reading the code, it looks pretty obvious to me here - unless I'm
missing something, that the intention here is to copy the corresponding
granules to one another so it makes sense to index
rows_per_granule_original with the same variable as rows_per_granule.

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-30 15:40:48 +00:00
proller
cd0e9217da Merge remote-tracking branch 'upstream/master' into fix27 2020-01-30 18:11:22 +03:00
proller
a705c2ff3a Fix zlibstatic problem 2020-01-30 18:10:01 +03:00
Nicolae Vartolomei
fd42d1ee87 ALTER <materialized view name> MODIFY QUERY <select_query>
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533.
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
Ivan Blinkov
bcaa31a85d
Avoid CAPS LOCK on front page 2020-01-30 17:04:29 +03:00
Avogar
75fe61251b Add test for data in square brackets in JSONEachRow. 2020-01-30 17:03:07 +03:00
Ivan Blinkov
f3d5ec6559
Increment year in docs footer 2020-01-30 17:00:45 +03:00
Avogar
c5b0b6ba29 Merge branch 'master' of github.com:yandex/ClickHouse into json_each_row 2020-01-30 16:43:32 +03:00
Avogar
e219fc1e68 Change method of parsing data in square brackets by adding parsing stages. 2020-01-30 15:05:27 +03:00
Guillaume Tassery
c18fb015ac Merge branch 'master' of github.com:ClickHouse/ClickHouse into jit_nullable 2020-01-30 12:31:36 +01:00
Guillaume Tassery
be45e1b3b6 cosmetic 2020-01-30 12:31:21 +01:00
Guillaume Tassery
7d3c677921 Accept nullable for JIT function 2020-01-30 12:31:21 +01:00
Guillaume Tassery
a0e91fc9f6 Accept nullable values when we use the JIT feature 2020-01-30 12:31:21 +01:00
Ivan Blinkov
9a24c793be
Merge pull request #8909 from blinkov/master
[docs/website] Domain migration
2020-01-30 13:45:10 +03:00
Ivan Blinkov
514f4d0081 Separate redirect for test 2020-01-30 13:43:46 +03:00
Ivan Blinkov
9cc403b699 Final domain change 2020-01-30 13:42:11 +03:00
Ivan Blinkov
aba5f712fb One more static redirect 2020-01-30 13:39:37 +03:00
Ivan Blinkov
4bdd374d9d Few more static redirects 2020-01-30 13:38:04 +03:00
Ivan Blinkov
18538f5c65 Domain change in docs 2020-01-30 13:34:55 +03:00
Nikolai Kochetov
3c4fe4f20e Fix StorageBuffer/ 2020-01-30 13:30:48 +03:00
Nikolai Kochetov
00546498b6 Fix StorageBuffer/ 2020-01-30 13:26:25 +03:00
Nikolai Kochetov
9eb97e6db2 Fix StorageBuffer/ 2020-01-30 13:22:59 +03:00
alexey-milovidov
de71bd6e85
Update extended_roadmap.md 2020-01-30 13:05:12 +03:00
Ivan
ec5c513faa
Implement separate CMake build file for curl library (#8905) 2020-01-30 12:51:04 +03:00
Ivan Blinkov
a20ebf5341
Update README.md 2020-01-30 12:44:57 +03:00
Nikolai Kochetov
5fd9db4370 Fix BufferSource. 2020-01-30 10:32:54 +03:00
Nikolai Kochetov
a5b016eb61 Fix BufferSource. 2020-01-30 10:28:49 +03:00
Nikolai Kochetov
ab5c4bed3a
Merge pull request #8823 from ClickHouse/storage-system-processors
Processors and system storages.
2020-01-30 10:22:31 +03:00
Mikhail Korotov
ab5d4900ff Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2020-01-30 10:00:50 +03:00
Vladimir Chebotarev
9706374066 Fixed error messages. 2020-01-30 09:17:55 +03:00
Azat Khuzhin
ca8d9ac7f8 Fix error message for force_optimize_skip_unused_shards 2020-01-30 09:01:54 +03:00
Azat Khuzhin
c6d95e9dfd Rename tables to match the test number for 01071_force_optimize_skip_unused_shards 2020-01-30 09:01:45 +03:00
Vitaly Baranov
e37eda3bdf DROP TEMPORARY TABLE now drops only a temporary table. 2020-01-30 02:41:22 +03:00
Maxim Akhmedov
fa16149e1a Fix style checks. 2020-01-30 02:36:39 +03:00
Maxim Akhmedov
2d3321e003 Extend KeyCondition interface so that it returns BoolMask. 2020-01-30 00:40:22 +03:00
Alexander Kuzmenkov
09b8f34370
Merge pull request #8896 from ClickHouse/aku/enum-wrong-value
Report BAD_ARGUMENTS for a wrong user-supplied enum value.
2020-01-30 00:25:17 +03:00
Ivan Blinkov
0458192a82
Merge pull request #8904 from blinkov/master
Add tutorial redirect
2020-01-29 23:28:44 +03:00
Ivan Blinkov
223704ee9c Add tutorial redirect 2020-01-29 23:27:36 +03:00
Ivan Blinkov
2ecb0a150e
Update index.html 2020-01-29 23:20:14 +03:00
Ivan Blinkov
e04504ecf6
Update index.html 2020-01-29 22:45:37 +03:00
Ubuntu
bc0fbd688a Make sumMap accept String keys
Adapt sumMap to accept an array of strings as the key column. This is useful when we do not want or cannot make the keys be numbers.

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-29 19:38:41 +00:00
achulkov2
0bece0c43e Fix error with consecutive detach and attach 2020-01-29 21:45:03 +03:00
Nikolai Kochetov
d1bc3513a2 Fix build. 2020-01-29 21:22:09 +03:00
Nikolai Kochetov
0c4f6eaca9 Fix build. 2020-01-29 21:18:12 +03:00
Nikolai Kochetov
84a392402f Processors reading for StorageBuffer. 2020-01-29 21:14:40 +03:00
Ivan Blinkov
699c429e30
Update release.sh 2020-01-29 21:05:47 +03:00
Ivan Blinkov
1cda31628c
Merge pull request #8901 from blinkov/master
fix redirects for stable releases
2020-01-29 21:03:08 +03:00
Ivan Blinkov
efedfcdfd5 fix redirects for stable releases 2020-01-29 21:01:51 +03:00
Nikolai Kochetov
bded6e5cff Added holded contexts and storages to Pipe. 2020-01-29 19:59:11 +03:00
alexey-milovidov
b567907431
Merge pull request #8868 from amosbird/countoptfix
Fix `MakeSet` in Group By
2020-01-29 19:53:41 +03:00