Commit Graph

8745 Commits

Author SHA1 Message Date
alesapin
d204ad7ef1 Fix usage of concurrent bounded queue 2020-12-25 19:54:13 +03:00
Nikolai Kochetov
ba5d2617ff Fixing build. 2020-12-25 19:49:55 +03:00
myrrc
80b96f2c23 Merge remote-tracking branch 'upstream/master' into improvement/multiply-decimals-and-floats 2020-12-25 19:34:26 +03:00
myrrc
e335ba29fc fixing build on gcc 2020-12-25 19:32:59 +03:00
Alexander Tokmakov
42911e2438 implement CREATE OR REPLACE TABLE 2020-12-25 19:32:09 +03:00
Nikolai Kochetov
7e7998f121 Fixing build. 2020-12-25 19:11:05 +03:00
Nikolai Kochetov
281d87a007 Fixing build. 2020-12-25 19:04:55 +03:00
Nikita Mikhailov
4da4388132 better 2020-12-25 18:59:31 +03:00
Nikita Mikhailov
2239f9b0c6 done 2020-12-25 18:54:38 +03:00
alesapin
0950c16fb2 Fix unexpected change 2020-12-25 18:49:29 +03:00
alesapin
2c1d443944 Control alter sequential execution more correctly 2020-12-25 18:47:17 +03:00
Nikolai Kochetov
94f4a15cd0 Feractoring StringHash 2020-12-25 18:19:30 +03:00
Nikolai Kochetov
1a8dcc2b27 Feractoring StringHash 2020-12-25 17:18:41 +03:00
alesapin
a50615a22b More correct error code 2020-12-25 16:38:04 +03:00
Anton Popov
ed623a1c6a
Merge pull request #18436 from CurtizJ/remove-unused-code-1
Remove unused code
2020-12-25 14:22:56 +03:00
Nikolai Kochetov
04d55dc495 Feractoring StringHash 2020-12-25 14:22:48 +03:00
alexey-milovidov
aba7b5f60d
Merge pull request #18493 from ClickHouse/fix-flaky-test-buffer
Fix flaky test 01584_distributed_buffer_cannot_find_column
2020-12-25 12:07:03 +03:00
Alexander Kuzmenkov
a17f0b50ad Merge remote-tracking branch 'origin/master' into tmp 2020-12-25 10:34:28 +03:00
Alexander Kuzmenkov
998bd17877 fix column name clash w/agg fns
also fix some test references influenced by the explain changes
2020-12-25 07:59:17 +03:00
Alexander Kuzmenkov
5bd025a180 fix DISTINCT and ORDER BY 2020-12-25 06:13:30 +03:00
alexey-milovidov
491f481713
Merge pull request #18481 from ClickHouse/disable_write_with_aio
Disable write with AIO even for big merges
2020-12-25 04:24:43 +03:00
Alexey Milovidov
a671f13595 Fix flaky test 01584_distributed_buffer_cannot_find_column 2020-12-25 04:20:09 +03:00
Denis Glazachev
07aa3fe30d Refine the caching 2020-12-25 03:46:08 +04:00
Denis Glazachev
b1e46ccef8 Remove unneeded include 2020-12-25 01:57:13 +04:00
Denis Glazachev
3ce0731630 Move caching and LDAP credential verification code to ExternalAuthenticators 2020-12-25 01:49:19 +04:00
alesapin
4b1fdded45 Remove non existing binary 2020-12-24 23:12:50 +03:00
alesapin
3c104035b1 Add NuRaft library 2020-12-24 23:10:47 +03:00
vdimir
1e3bd37380 Add option access_to_key_from_attributes to ip dictionary 2020-12-24 19:13:49 +00:00
Nikolai Kochetov
e8f4a19a10 Feractoring StringHash 2020-12-24 21:57:31 +03:00
Alexander Tokmakov
21c3fc0e16 check settings constraints in setProfile(...) 2020-12-24 20:48:54 +03:00
alexey-milovidov
30e3900235
Merge pull request #18435 from vdimir/ip-dict-minor-fix
Raise an error if more than one key is provided to ip_dictionary
2020-12-24 20:16:07 +03:00
pingyu
f1a044c72a wip #17540 2020-12-25 01:15:11 +08:00
alesapin
5d94b7eec0 Remove non working code 2020-12-24 19:30:53 +03:00
myrrc
8e5279cf69 fix gcc explicit namespace bug 2020-12-24 19:14:09 +03:00
Nikolai Kochetov
e7ffc13524 Renames. 2020-12-24 18:49:05 +03:00
alesapin
cf4337ca41 Some intermediate stage 2020-12-24 18:47:38 +03:00
Nikita Mikhaylov
6818b24fe5
Merge pull request #18381 from CurtizJ/part-types-merge
Restrict merges from wide to compact parts
2020-12-24 17:47:14 +03:00
Amos Bird
a797ac6d80 fix test again... 2020-12-24 17:43:20 +03:00
Amos Bird
6648b89843 fix test 2020-12-24 17:43:20 +03:00
Amos Bird
e42f83ae72 small fix 2020-12-24 17:43:20 +03:00
Amos Bird
c19ce7dad3 rewrite with better code 2020-12-24 17:43:20 +03:00
Andy Yang
cc75c33064 modify code style 2020-12-24 17:43:20 +03:00
Andy Yang
ccb2fcc161 Support bitmap64 feature 2020-12-24 17:43:20 +03:00
Ilya Yatsishin
608b9a28ba
Merge pull request #18463 from qoega/codespell-changes
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 16:53:11 +03:00
myrrc
fe80f98186 last fix add 2020-12-24 16:46:55 +03:00
myrrc
4c4f72786e replaced name shadowing in gcc 2020-12-24 16:45:43 +03:00
Kruglov Pavel
0529c2906a
Merge pull request #18349 from spongedu/support_is_ipv4
Support builtin function isIPv4String && isIPv6String
2020-12-24 14:52:07 +03:00
Alexander Kuzmenkov
8c72fa063d boop the CI 2020-12-24 13:59:58 +03:00
Yatsishin Ilya
f36e8f13c0 more fixes after rebase 2020-12-24 13:48:10 +03:00
tavplubix
5fbfc1935c
Merge pull request #18445 from ClickHouse/fix_to_nullable_conversion
Try fix 'value is too short' when converting from String to Nullable(T)
2020-12-24 13:38:43 +03:00
Yatsishin Ilya
ce1e2b18a3 Fix codespell warnings. Split style checks. Update style checks docker 2020-12-24 13:17:52 +03:00
alexey-milovidov
eb95a5a030
Update ParserTablePropertiesQuery.cpp 2020-12-24 13:14:17 +03:00
alexey-milovidov
34508f466f
Update ParserTablePropertiesQuery.cpp 2020-12-24 13:14:01 +03:00
spongedc
71ab8c18fa support EXISTS DATABASE syntax 2020-12-24 17:16:47 +08:00
Alexander Kuzmenkov
5e8cf89b9d cleanup 2020-12-24 12:13:54 +03:00
Alexander Kuzmenkov
61a35cdafd final cleanup 2020-12-24 12:12:34 +03:00
Alexander Kuzmenkov
c6c2b3ba00 Remove the forward declaration changes 2020-12-24 12:12:34 +03:00
Alexander Kuzmenkov
2bb0f5772e proper signature 2020-12-24 12:12:34 +03:00
alexey-milovidov
4561527d4d
Merge pull request #18404 from amosbird/fixsimplestate
-SimpleState function arg type = return type
2020-12-24 12:12:29 +03:00
Alexander Kuzmenkov
912995cbae some provision for aggregate fns as window fn args
(doesn't work yet)

also a perf test w/LIMIT BY
2020-12-24 11:49:55 +03:00
alexey-milovidov
ee96c8142b
Merge pull request #18443 from azat/poco-build-fixes
Poco build fixes
2020-12-24 11:44:58 +03:00
vdimir
54448ad4ce Remove unnecessary IPAddressDictionary::has overload 2020-12-24 07:38:10 +00:00
Alexander Kuzmenkov
8deb8e4808 Merge origin/master into tmp (using imerge) 2020-12-24 10:00:35 +03:00
Alexander Kuzmenkov
23d77a1698 remove debug output 2020-12-24 09:59:38 +03:00
Alexander Kuzmenkov
844239b1c3 tmp fixes (split me) 2020-12-24 07:03:33 +03:00
vladimir golovchenko
ed4fe206aa Fixed the parseDateTimeBestEffort*-functions to correctly handle '12 am' time. 2020-12-23 18:10:00 -08:00
Alexander Tokmakov
c49a6302fa fix, add test 2020-12-24 03:13:53 +03:00
alexey-milovidov
1be0df5e04
Merge pull request #18396 from ClickHouse/filimonov-pipe-message
Fix exception text from Pipe.cpp
2020-12-24 01:24:57 +03:00
alexey-milovidov
c4bbb95b0f
Merge pull request #18405 from ClickHouse/add_test_for_compact_parts
Add test for already working code
2020-12-24 01:24:09 +03:00
Alexander Tokmakov
317df5f5d2 try fix 'value is too short' when converting from String to Nullable(T) 2020-12-24 00:57:33 +03:00
Azat Khuzhin
7c76bd2def Fix ParsingException::displayText override (guard with POCO_CLICKHOUSE_PATCH) 2020-12-23 23:55:39 +03:00
alesapin
f3f5466d23
Merge pull request #18306 from amosbird/restrictsettings
Extend mergetree setting alter restriction
2020-12-23 23:09:59 +03:00
pingyu
3bd7d8f3c6 wip #17540 2020-12-24 03:39:02 +08:00
Anton Popov
857e2ef557 remove unused code 2020-12-23 21:03:41 +03:00
Anton Popov
c8cdaba180 Merge remote-tracking branch 'upstream/master' into remove-unused-code-1 2020-12-23 20:38:29 +03:00
Anton Popov
204a20fe29 remove unused code 2020-12-23 20:34:00 +03:00
Nikolai Kochetov
97ffc40321
Merge pull request #18409 from ClickHouse/try-to-fix-ya-check
Try fix ya.make
2020-12-23 20:02:53 +03:00
vdimir
05d45fcf61 Raise an error if more than one key is provided to ip_dictionary 2020-12-23 16:58:54 +00:00
Nikolai Kochetov
12a659b9c0 Fix build. 2020-12-23 19:51:49 +03:00
Anton Popov
84ec3930ba
Merge pull request #18223 from ClickHouse/delayed_last_mark_for_wide_parts
Better adaptive granularity calculation for wide parts
2020-12-23 19:37:25 +03:00
Amos Bird
6fc225e676
Distributed insertion to one random shard (#18294)
* Distributed insertion to one random shard

* add some tests

* add some documentation

* Respect shards' weights

* fine locking

Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2020-12-23 19:04:05 +03:00
myrrc
b48370d4bd fixed explicit type 2020-12-23 17:44:43 +03:00
myrrc
01b311c5c4 over-scale fix 2020-12-23 17:42:19 +03:00
myrrc
4988e05134 fixing the Decimal * Float aggregate case 2020-12-23 17:26:03 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
myrrc
2516f8408e fix initialization 2020-12-23 17:23:20 +03:00
myrrc
0ab198238a fix the compile error 2020-12-23 17:21:12 +03:00
myrrc
fcfe76d703 trying to fix different types of * 2020-12-23 17:18:38 +03:00
myrrc
fec0a59082 transfered scale factor calc for multiply from the impl 2020-12-23 16:57:11 +03:00
Vitaliy Zakaznikov
26ca04c92d Merge branch 'master' of https://github.com/traceon/ClickHouse into ldap-cache-login 2020-12-23 08:17:12 -05:00
myrrc
473aef519d reverted 1 scale to fix 3 tests 2020-12-23 16:11:20 +03:00
Amos Bird
2e0a2257b8
-SimpleState function arg type = return type 2020-12-23 21:09:05 +08:00
Nikolai Kochetov
7ab38d5007 Use Port::Data instead of Chunk in LazyOutputFormat. 2020-12-23 15:54:20 +03:00
alexey-milovidov
0f98fe3c0c
Merge pull request #18365 from CurtizJ/fix-group-by-distinct
Fix race in aggregation with combinator distinct
2020-12-23 15:41:20 +03:00
alexey-milovidov
2c7979dd64
Merge pull request #18379 from vitlibar/fix-filling-table-system-settings-profile-elements
Fix filling table system.settings_profile_elements.
2020-12-23 15:34:00 +03:00
Nikolai Kochetov
7a9282ee7b Try fix ya.make 2020-12-23 15:31:16 +03:00
alesapin
fb1c6c4eb4
Update MergeTreeSettings.h 2020-12-23 15:03:55 +03:00
alesapin
54455b4740 Add test for already working code 2020-12-23 14:53:49 +03:00
Anton Popov
518cac6150 fix for review 2020-12-23 13:11:24 +03:00
Nikolai Kochetov
3fd0b69fab
Merge pull request #7649 from ucasFL/master
Add simhash, minhash, and hammingdistance function
2020-12-23 12:22:38 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
Async read from socket
2020-12-23 12:20:42 +03:00
Alexander Kuzmenkov
22a0edc596
Update IStorage.cpp 2020-12-23 09:44:44 +03:00
Alexander Kuzmenkov
51b2329295
Merge branch 'master' into aku/window-prototype 2020-12-23 09:26:11 +03:00
filimonov
497a93095b
Update Pipe.cpp
Fixes #18240
2020-12-23 06:30:45 +01:00
Amos Bird
12a36c0e9f
allow nested if (useless but also harmless) 2020-12-23 12:34:15 +08:00
spongedc
be41af79de Merge remote-tracking branch 'origin/master' into support_is_ipv4 2020-12-23 11:58:23 +08:00
spongedc
a277308ac6 Merge remote-tracking branch 'origin/master' into support_show_create_view 2020-12-23 11:56:46 +08:00
alexey-milovidov
8e48a25607
Merge pull request #18299 from ClickHouse/enable_thread_fuzzer_for_flaky_check
Trying to enable thread fuzzer in flaky check
2020-12-23 05:32:19 +03:00
alexey-milovidov
75289d8713
Merge pull request #18335 from azat/fix-memory-tracking-drift-message
Fix log message for memory tracking drift
2020-12-23 05:31:31 +03:00
Nikita Mikhaylov
e1fc9122cc
Update ParallelParsingBlockInputStream.cpp 2020-12-23 05:28:53 +03:00
Nikita Mikhailov
dcfbe782c6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-23 05:20:22 +03:00
Alexey Milovidov
f98cbd7696 Fix TSan report in StorageSet and StorageJoin 2020-12-23 05:10:37 +03:00
Nikita Mikhaylov
54d2fe847f
Update src/DataStreams/ParallelParsingBlockInputStream.cpp
Co-authored-by: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com>
2020-12-23 05:02:54 +03:00
Nikita Mikhaylov
dae1e9ba31
Merge pull request #17857 from fastio/feature_hints_for_column_names
hints for column names
2020-12-23 04:55:41 +03:00
Nikita Mikhaylov
9d8948657c
Update TreeRewriter.cpp 2020-12-23 04:54:49 +03:00
alexey-milovidov
c72a480d89
Merge pull request #17630 from amosbird/stacktracefix
Fix system.stack_trace when running in daemon mode
2020-12-23 04:40:50 +03:00
alexey-milovidov
aedb1874af
Fix clang-tidy 2020-12-23 04:40:23 +03:00
Anton Popov
78c4b9f2bc do not allow merge from wide to compact parts 2020-12-23 03:16:15 +03:00
Anton Popov
5101804e30
Merge pull request #18366 from CurtizJ/remove-unused-code
Remove unused code
2020-12-23 02:45:33 +03:00
Nikita Mikhailov
84d0084c1a style 2020-12-23 01:33:07 +03:00
Nikita Mikhailov
138b74aa3b better 2020-12-23 01:04:02 +03:00
nikitamikhaylov
6f30fae34e final fix 2020-12-23 01:02:45 +03:00
nikitamikhaylov
a9bd177b2e fix 2020-12-23 01:02:45 +03:00
nikitamikhaylov
35dbd2bd77 style 2020-12-23 01:02:45 +03:00
nikitamikhaylov
0dafcc38a5 better 2020-12-23 01:02:45 +03:00
nikitamikhaylov
8d4465ddeb better 2020-12-23 01:02:01 +03:00
nikitamikhaylov
a285cb83df style 2020-12-23 01:02:01 +03:00
nikitamikhaylov
c60c161168 add ParsingException 2020-12-23 01:02:01 +03:00
nikitamikhaylov
27f647f93d done 2020-12-23 01:01:05 +03:00
Vitaly Baranov
9e31800ebb Fix filling table system.settings_profile_elements. 2020-12-22 23:24:59 +03:00
myrrc
bb50329aa3 fixed the test and the code 2020-12-22 22:04:46 +03:00
Alexander Kuzmenkov
f2b25c708c review fixes 2020-12-22 22:01:15 +03:00
Anton Popov
eecd51bb75 fix for uninitialized thread pool 2020-12-22 21:29:47 +03:00
Alexander Kuzmenkov
3f33e6b3e0 some review fixes 2020-12-22 20:46:31 +03:00
myrrc
57bb75b75b finished rearranging the code 2020-12-22 19:45:03 +03:00
alexey-milovidov
424df030af
Merge pull request #18350 from ClickHouse/remove-useless-code-3
Remove useless code
2020-12-22 19:43:55 +03:00
Nikolai Kochetov
2f4968c8da Fix style. 2020-12-22 19:07:04 +03:00
Amos Bird
effb404c7e
Better 2020-12-22 23:35:07 +08:00
Nikolai Kochetov
396ea14f67 Fix special build. 2020-12-22 18:29:32 +03:00
Nikolai Kochetov
2c07516aee Fix special build and style. 2020-12-22 18:17:23 +03:00
Nikita Mikhaylov
410d0a51b5
Merge pull request #18331 from nikitamikhaylov/async-metrics-fix
Provide extra constructor for Async metrics
2020-12-22 17:17:03 +03:00
hexiaoting
93d28ef5c9
Implement untuple field access (#18309) 2020-12-22 16:48:40 +03:00
alesapin
d1d139a168 Fix comment 2020-12-22 16:48:10 +03:00
alesapin
23156fe6e4 Fix accident stop merges for merge tree 2020-12-22 16:46:09 +03:00
alesapin
4b28d6d030 Merge branch 'master' into enable_thread_fuzzer_for_flaky_check 2020-12-22 16:36:51 +03:00
Anton Popov
371050a16e remove unused code 2020-12-22 15:22:54 +03:00
Anton Popov
57a1642035 fix race in aggregation with combinator distinct 2020-12-22 14:30:29 +03:00
alesapin
35413635e7 Add ability to change some types for primary key 2020-12-22 13:41:12 +03:00
flynn
4e580f7b7c
Add asynchronous metrics on MergeTree tables data volume (#17639)
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-12-22 13:34:35 +03:00
Nikolai Kochetov
dc450e9a83 Update comment. 2020-12-22 11:55:21 +03:00
tavplubix
0e807d0647
Merge pull request #18211 from zhang2014/fix/ISSUES-18186
ISSUES-18186 fix unique key convert crash
2020-12-22 11:51:31 +03:00
Nikolai Kochetov
5109c3420e Update comment. 2020-12-22 11:42:09 +03:00
Alexey Milovidov
c6d3f2722e Revert unneeded changes 2020-12-22 11:21:18 +03:00
Alexey Milovidov
76dc88b674 Remove useless code 2020-12-22 11:18:37 +03:00
Alexey Milovidov
b9df795595 Another code for TSan 2020-12-22 11:16:36 +03:00
spongedc
121f7ae833 Support builtin function isIPv4String && isIPv6String 2020-12-22 16:06:33 +08:00
Nikolai Kochetov
74671bda4a Fix special build 2020-12-22 11:01:13 +03:00
alexey-milovidov
a4b0d9ba4c
Merge pull request #16664 from FawnD2/switch-upstream-for-arrow-submodule
Switch upstream repo for Arrow submodule
2020-12-22 10:55:23 +03:00
Alexey Milovidov
af8022a0b1 Merge branch 'master' into amosbird-stacktracefix 2020-12-22 10:48:28 +03:00
alesapin
7f590090f6 Remove logs 2020-12-22 10:28:02 +03:00
Azat Khuzhin
dda0eb53c1 Fix variable names in AsynchronousMetrics::update() 2020-12-22 10:13:22 +03:00
alexey-milovidov
b81e067cd4
Update IStorage.h 2020-12-22 09:51:09 +03:00
alexey-milovidov
c1bd8d5df5
Merge pull request #18329 from azat/buffer-rollback-fix
Fix NULL dereference in Buffer rollback
2020-12-22 09:30:53 +03:00
alexey-milovidov
adab35003e
Merge pull request #18271 from ClickHouse/arrays-as-nested-csv
Support to parse Arrays in CSV as nested CSV in a String
2020-12-22 09:28:25 +03:00
alexey-milovidov
f578f83380
Update AsynchronousMetrics.h 2020-12-22 09:24:14 +03:00
Alexander Kuzmenkov
dadfc76f8f fix the fuzzer 2020-12-22 07:02:39 +03:00
alexey-milovidov
7985ed9778
Merge pull request #18050 from Enmk/DateTime64_DateTime_comparison
Fixed Date vs DateTime64 comparison
2020-12-22 05:12:14 +03:00
Alexander Kuzmenkov
abad6b9e49 clang-tidy is so annoying 2020-12-22 04:41:02 +03:00
Alexander Kuzmenkov
52ace7a3d1 one plan step per window 2020-12-22 04:37:45 +03:00
Alexander Kuzmenkov
77b816caea cleanup 2020-12-22 02:47:14 +03:00
Azat Khuzhin
af4d332999 Fix log message for memory tracking drift 2020-12-22 02:17:02 +03:00
nikitamikhaylov
8501c7a831 better 2020-12-22 02:03:08 +03:00
myrrc
2db721b647 further rearrangement 2020-12-22 01:37:07 +03:00
Azat Khuzhin
6acefa7624 Suppress bugprone-use-after-move in Buffer rollback 2020-12-22 01:22:36 +03:00
nikitamikhaylov
3972c5cd82 style 2020-12-22 00:49:37 +03:00
myrrc
881ce408bf rearranged some code parts, unified the impls::process method 2020-12-22 00:48:18 +03:00
nikitamikhaylov
cd3a73f9d3 done 2020-12-22 00:47:10 +03:00
Alexey Milovidov
667c6501bf Merge branch 'arrays-as-nested-csv' of github.com:yandex/ClickHouse into arrays-as-nested-csv 2020-12-22 00:33:24 +03:00
Alexey Milovidov
e4c1d17219 Addition 2020-12-22 00:32:57 +03:00
Alexander Kuzmenkov
575d5c69ef fix partition boundaries for multiple window functions 2020-12-22 00:23:45 +03:00
Alexey Milovidov
3ab2a167e8 Merge branch 'master' into arrays-as-nested-csv 2020-12-22 00:05:50 +03:00
Azat Khuzhin
ba57c418d0 Fix NULL dereference in Buffer rollback
<details>

Stacktrace:

```
(gdb) bt
0  DB::appendBlock (from=..., to=...) at ../src/Storages/StorageBuffer.cpp:411
1  DB::BufferBlockOutputStream::insertIntoBuffer (this=<optimized out>, block=..., buffer=...) at ../src/Storages/StorageBuffer.cpp:541
2  0x000000000f2e9d5f in DB::BufferBlockOutputStream::write (this=<optimized out>, block=...) at ../src/Storages/StorageBuffer.cpp:508
3  0x000000000ec426c4 in DB::PushingToViewsBlockOutputStream::write (this=0x7f74660faa18, block=...) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:160
4  0x000000000ec49633 in DB::AddingDefaultBlockOutputStream::write (this=0x7f74660f1b18, block=...) at ../src/DataStreams/AddingDefaultBlockOutputStream.cpp:10
5  0x000000000ec483ac in DB::SquashingBlockOutputStream::finalize (this=0x7f74660f1d18) at ../src/DataStreams/SquashingBlockOutputStream.cpp:30
6  0x000000000ec48429 in DB::SquashingBlockOutputStream::writeSuffix (this=0x7f74660f1d18) at ../src/DataStreams/SquashingBlockOutputStream.cpp:50
7  0x000000000ec43f8f in DB::PushingToViewsBlockOutputStream::writeSuffix (this=0x7f74660f8258) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:280
8  0x000000000ec43f8f in DB::PushingToViewsBlockOutputStream::writeSuffix (this=0x7f74b7ddea18) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:280
9  0x000000000f2e6748 in DB::StorageBuffer::writeBlockToDestination (this=<optimized out>, block=..., table=...) at ../src/Storages/StorageBuffer.cpp:820
10 0x000000000f2ea00b in DB::BufferBlockOutputStream::write (this=0x7f7574e11748, block=...) at ../src/Storages/StorageBuffer.cpp:469
11 0x000000000ec426c4 in DB::PushingToViewsBlockOutputStream::write (this=0x7f7574ed3658, block=...) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:160
12 0x000000000ec49633 in DB::AddingDefaultBlockOutputStream::write (this=0x7f7574e84518, block=...) at ../src/DataStreams/AddingDefaultBlockOutputStream.cpp:10
13 0x000000000ec482f4 in DB::SquashingBlockOutputStream::write (this=0x7f7574e84718, block=...) at ../src/DataStreams/SquashingBlockOutputStream.cpp:17
14 0x000000000ebe8bce in DB::CountingBlockOutputStream::write (this=0x7f7574ed3720, block=...) at ../src/DataStreams/CountingBlockOutputStream.cpp:17
15 0x000000000f68e834 in DB::TCPHandler::receiveData (this=<optimized out>, scalar=<optimized out>) at ../src/Server/TCPHandler.cpp:1168
16 0x000000000f68737c in DB::TCPHandler::receivePacket (this=0x7f7574f17000) at ../src/Server/TCPHandler.cpp:918
17 0x000000000f688d2f in DB::TCPHandler::readDataNext (this=0x7f7574f17000, poll_interval=@0x7f6f1dff1f78: 10000000, receive_timeout=@0x7f6f1dff1f68: 300) at ../src/Server/TCPHandler.cpp:460
18 0x000000000f6878be in DB::TCPHandler::readData (this=0x7f7574f17000, connection_settings=...) at ../src/Server/TCPHandler.cpp:490
19 DB::TCPHandler::processInsertQuery (this=0x7f7574f17000, connection_settings=...) at ../src/Server/TCPHandler.cpp:519
20 0x000000000f680ab9 in DB::TCPHandler::runImpl (this=0x7f7574f17000) at ../src/Server/TCPHandler.cpp:268
21 0x000000000f68f297 in DB::TCPHandler::run (this=0x7f7574f17000) at ../src/Server/TCPHandler.cpp:1414
22 0x0000000011fb81cf in Poco::Net::TCPServerConnection::start (this=0x0) at ../contrib/poco/Net/src/TCPServerConnection.cpp:43
23 0x0000000011fb9be1 in Poco::Net::TCPServerDispatcher::run (this=0x7f752ab5fd00) at ../contrib/poco/Net/src/TCPServerDispatcher.cpp:112
24 0x00000000120e71c9 in Poco::PooledThread::run (this=0x7f747d3a4580) at ../contrib/poco/Foundation/src/ThreadPool.cpp:199
25 0x00000000120e315a in Poco::ThreadImpl::runnableEntry (pThread=<optimized out>) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
26 0x00007f760620aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
27 0x00007f760613aeaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(gdb) p to.data.__end_-to.data.__begin_
$17 = 10
(gdb) p to.data.__begin_[9].column.px
$19 = (const DB::IColumn *) 0x7f7328392720
(gdb) p to.data.__begin_[8].column.px
$20 = (const DB::IColumn *) 0x0
(gdb) p to.data.__begin_[7].column.px
$21 = (const DB::IColumn *) 0x7f746f33d360
```

Line numbers matched with this version -
f0e7cb16a7/src/Storages/StorageBuffer.cpp (L411)

</details>
2020-12-21 23:56:56 +03:00
Alexey Milovidov
7421a55cc4 Merge branch 'master' into harmful 2020-12-21 23:44:22 +03:00
alesapin
b10f13f34a More thread fuzzer 2020-12-21 23:24:16 +03:00
alexey-milovidov
2222122f9f
Update ThreadFuzzer.cpp 2020-12-21 20:02:59 +03:00
alesapin
8f2d4f2d1e Fix user 2020-12-21 18:46:36 +03:00
alexey-milovidov
351a40493d
Merge pull request #18286 from ClickHouse/remove-useless-code-2
Remove useless code
2020-12-21 18:19:23 +03:00
Nikolai Kochetov
78429eca70 Refactor code a little bit more. 2020-12-21 17:30:17 +03:00
Nikolai Kochetov
29e0b4ec40 Refactor cose a little bit more. 2020-12-21 17:14:05 +03:00
Peng Jian
69b40ffae5 fix nullptr 2020-12-21 21:46:55 +08:00
Nikolai Kochetov
110e76e71d Fix special build. 2020-12-21 15:42:57 +03:00
alesapin
b760d7d7d1 Remove more changes 2020-12-21 15:23:02 +03:00
alesapin
5a5fbf9eae Remove logs from thread fuzzer 2020-12-21 15:22:07 +03:00
Nikolai Kochetov
c3a99e21bd Refactor some code. 2020-12-21 14:39:17 +03:00
Amos Bird
7a81e0a0f5
Extend mergetree setting alter restriction 2020-12-21 18:45:39 +08:00
alesapin
643739df6b Trying to enable thread fuzzer in flaky check 2020-12-21 13:06:36 +03:00
Alexander Kuzmenkov
ac9fc15509 cleanup 2020-12-21 12:59:11 +03:00
Nikolai Kochetov
bc0e91b586 Fix special build 2020-12-21 12:23:23 +03:00
Nikolai Kochetov
c2d2e74d6a
Merge pull request #18182 from zhangjmruc/master
Try to fix issue #17712 for wrong importing of rows with last bad column
2020-12-21 12:17:40 +03:00
alesapin
07b5c03c54 Better adjustment of the last mark 2020-12-21 11:24:52 +03:00