zhang2014
cc0134f361
Try fix asan build
2020-11-17 23:29:02 +08:00
Nikolai Kochetov
a7e1fb11c6
Add converting logic to ActionsDAG.
2020-11-17 18:26:06 +03:00
Nikolai Kochetov
97d07ae3a9
Add converting logic to ActionsDAG.
2020-11-17 17:54:37 +03:00
Nikolai Kochetov
54f0338e22
Add converting logic to ActionsDAG.
2020-11-17 17:51:05 +03:00
nikitamikhaylov
6f4e5bcaac
style
2020-11-17 17:39:34 +03:00
nikitamikhaylov
ee8b3339a1
done
2020-11-17 17:39:34 +03:00
Nikita Mikhaylov
68b6f08e36
Merge pull request #16721 from nikitamikhaylov/parsing-constraints
...
Turn off parallel parsing when memory limit is small.
2020-11-17 17:37:14 +03:00
nikitamikhaylov
9c6b896928
style + flaky test fix
2020-11-17 17:36:04 +03:00
alexey-milovidov
7036d2f963
Update ColumnConst.cpp
2020-11-17 17:35:53 +03:00
alexey-milovidov
9de0217c93
Update ColumnConst.h
2020-11-17 17:34:26 +03:00
Amos Bird
f24cf46db5
Fix ColumnConst comparison.
2020-11-17 22:14:31 +08:00
nikitamikhaylov
4345f2987d
better
2020-11-17 16:59:13 +03:00
nikitamikhaylov
20ae82b24b
remote nolint
2020-11-17 16:59:13 +03:00
nikitamikhaylov
e604d37067
better
2020-11-17 16:59:13 +03:00
nikitamikhaylov
f596d95b4b
better states for cells
2020-11-17 16:59:13 +03:00
nikitamikhaylov
80e77b6a61
better
2020-11-17 16:59:13 +03:00
nikitamikhaylov
31b1f644c1
better
2020-11-17 16:59:13 +03:00
nikitamikhaylov
0f5e980d85
style
2020-11-17 16:59:12 +03:00
nikitamikhaylov
321fb090f1
return back to handwritten cache
2020-11-17 16:59:12 +03:00
nikitamikhaylov
fbd0d14dd6
save
2020-11-17 16:59:12 +03:00
nikitamikhaylov
10adac00f4
avoid race on read/write to the cache of defaults
2020-11-17 16:59:12 +03:00
nikitamikhaylov
9b46b53fa3
better defaults
2020-11-17 16:59:12 +03:00
nikitamikhaylov
028fc00166
fix tests
2020-11-17 16:59:12 +03:00
nikitamikhaylov
d52e72d66c
type_id cast
2020-11-17 16:59:12 +03:00
nikitamikhaylov
3df6e457f7
style
2020-11-17 16:59:12 +03:00
nikitamikhaylov
720d3a411f
skip unused keys
2020-11-17 16:59:12 +03:00
nikitamikhaylov
82c6467a5d
better
2020-11-17 16:59:12 +03:00
nikitamikhaylov
02b2b38716
add normal parent
2020-11-17 16:59:12 +03:00
nikitamikhaylov
0d1a8ea2a1
first try
2020-11-17 16:59:12 +03:00
Ivan Lezhankin
f897f7c93f
Refactor IFunction to execute with const arguments
2020-11-17 16:24:45 +03:00
Ivan Lezhankin
1787cd89a7
Implement tcpPort() function literal
2020-11-17 16:24:13 +03:00
Nikolai Kochetov
71d726ea21
Order inputs for ActionsDAG.
2020-11-17 16:20:23 +03:00
Nikolai Kochetov
d007e5671d
Order inputs for ActionsDAG.
2020-11-17 15:39:41 +03:00
Nikolai Kochetov
70f898e667
Order inputs for ActionsDAG.
2020-11-17 15:34:31 +03:00
Grigory Buteyko
81b9d6a948
Merge branch 'master' into hrissan/prevent_tdigest_uncontrolled_growth
2020-11-17 14:40:34 +03:00
alesapin
d4dbf928b4
Update src/Interpreters/DDLWorker.cpp
...
Co-authored-by: tavplubix <avtokmakov@yandex-team.ru>
2020-11-17 14:04:27 +03:00
Pavel Kruglov
7ecd207eac
Remove unnecessary QuantileTDigest layer
2020-11-17 14:01:51 +03:00
tavplubix
b251478d98
Merge pull request #17072 from ClickHouse/fix_crash_16944
...
Fix crash in CREATE TABLE AS
2020-11-17 12:51:37 +03:00
alesapin
389b883534
Fix index granularity calculation on block borders
2020-11-17 12:37:13 +03:00
Nikolai Kochetov
013c582abf
Merge pull request #17095 from ClickHouse/actions-dag-addition
...
Move ActionsDAG into separate file
2020-11-17 11:17:55 +03:00
Nikolai Kochetov
86395e11a2
Merge pull request #17006 from azat/fix-distributed-queries-finish
...
Fix Distributed queries finishing (avoid connection resets)
2020-11-17 11:11:27 +03:00
Nikolai Kochetov
9814da3291
Add empty commit.
2020-11-17 10:03:11 +03:00
alexey-milovidov
b494b18748
Merge pull request #17108 from ClickHouse/ya-make-owners
...
Add "OWNER" to ya.make files.
2020-11-17 05:19:46 +03:00
Alexey Milovidov
24f4fa6edf
Follow Arcadia ya.make rules
2020-11-17 00:16:50 +03:00
vdimir
428f42053b
Merge remote-tracking branch 'upstream/master' into source-clickhouse-usability
2020-11-16 22:34:28 +03:00
alesapin
5dd32819f5
Merge branch 'master' into fix_ddl_worker_non_leader
2020-11-16 22:34:16 +03:00
Alexey Milovidov
3df04ce0c2
Follow Arcadia ya.make rules
2020-11-16 21:24:58 +03:00
Nikolai Kochetov
3a1e6a5c7f
Remove some more code.
2020-11-16 18:50:56 +03:00
Nikolai Kochetov
82e8e74bcd
Fix includes.
2020-11-16 18:39:12 +03:00
Nikolai Kochetov
c2f1873f77
Remove comments.
2020-11-16 18:11:55 +03:00
Nikolai Kochetov
e8e6461fa7
Move ActionsDAG to separate file.
2020-11-16 17:57:56 +03:00
Winter Zhang
f6a205d64b
Merge branch 'master' into fix/binlog_checksum
2020-11-16 21:53:22 +08:00
zhang2014
6ef93ac73c
Try fix MaterializeMySQL SYNC with modify binlog_checksum
2020-11-16 21:46:36 +08:00
alesapin
9f71f03be3
Fix DDL worker task execution on single replica
2020-11-16 15:34:12 +03:00
Nikita Mikhaylov
26c21c89ba
Merge pull request #16986 from myrrc/bugfix/ub-in-wide-int
...
Fixed wrong result in big integers (128, 256 bit) when casting from double to int64_t.
2020-11-16 14:33:39 +03:00
Nikita Mikhaylov
4d33e79cb4
Update ColumnDecimal.h
2020-11-16 14:31:52 +03:00
tavplubix
fe64082371
Merge pull request #15977 from TCeason/add_sync_user_privs_exception
...
throw exception when mysql sync user privs error.
2020-11-16 14:13:10 +03:00
tavplubix
3de32279ca
Update InterpreterCreateQuery.cpp
2020-11-16 14:03:27 +03:00
Alexander Tokmakov
8352e5d202
fix crash in CREATE AS
2020-11-16 13:14:12 +03:00
Nikolai Kochetov
00de84fbe3
Merge pull request #16610 from zhang2014/fix/ISSUES-16574
...
ISSUES-16574 try fix remote query failure when using 'if' suffix aggregate function
2020-11-16 12:41:14 +03:00
Nikolai Kochetov
684d649b70
Merge pull request #16928 from ClickHouse/fix-16580
...
Fix possible error Illegal type of argument for queries with ORDER BY.
2020-11-16 12:39:20 +03:00
tavplubix
88de1b052c
Merge pull request #16048 from ClickHouse/materialized-view-check-stack-size
...
Fix possible stack overflow in materialized views.
2020-11-16 12:02:27 +03:00
TCeason
45bacd6f74
Merge branch 'master' into add_sync_user_privs_exception
2020-11-16 12:59:44 +08:00
Alexander Tokmakov
5c6191f798
fix
2020-11-16 00:31:52 +03:00
alexey-milovidov
11f56186db
Merge pull request #17048 from azat/build-fix
...
Add missing <unique_ptr> for RadixSort.h
2020-11-16 00:15:54 +03:00
Azat Khuzhin
01ec7aca68
Add missing <unique_ptr> for RadixSort.h
...
Fails compiling quantile-t-digest.cpp test on:
- clang 11
- libstdc++
2020-11-15 23:08:45 +03:00
alexey-milovidov
0afa1b8fc4
Merge pull request #17044 from CurtizJ/remove-empty-parts-settings
...
Add setting remove_empty_parts
2020-11-15 23:06:44 +03:00
Denis Glazachev
5c801c42c1
Fix ROCKSDB_ERROR value
2020-11-15 23:48:46 +04:00
Anton Popov
de5ead0c40
add setting remove_empty_parts
2020-11-15 05:24:47 +03:00
alexey-milovidov
c2205498b2
Merge pull request #16985 from filimonov/ip-refresh-on-session-reconnect
...
Reresolve the IP of the `format_avro_schema_registry_url` in case of errors.
2020-11-15 01:54:01 +03:00
Alexey Milovidov
1991f1d827
Merge branch 'master' into amosbird-fixcrash
2020-11-14 23:19:57 +03:00
alexey-milovidov
d1504e4207
Update MonotonicityCheckVisitor.h
2020-11-14 22:56:54 +03:00
Azat Khuzhin
aa073aa14c
Fix data race for RemoteSource::was_query_canceled
...
Since onCancel() and generate() can be called from different threads
TSAN reports:
WARNING: ThreadSanitizer: data race (pid=253)
Write of size 1 at 0x7b50008c25c2 by thread T144 (mutexes: write M643587328754916744):
#0 DB::RemoteSource::onCancel() /build/obj-x86_64-linux-gnu/../src/Processors/Sources/RemoteSource.cpp:79:24 (clickhouse+0x11c2019d)
#1 DB::IProcessor::cancel() /build/obj-x86_64-linux-gnu/../src/Processors/IProcessor.h:235:9 (clickhouse+0x11c21def)
#2 DB::RemoteSource::onUpdatePorts() /build/obj-x86_64-linux-gnu/../src/Processors/Sources/RemoteSource.h:32:13 (clickhouse+0x11c21def)
#3 DB::PipelineExecutor::tryAddProcessorToStackIfUpdated(DB::ExecutingGraph::Edge&, std::__1::queue<DB::ExecutingGraph::Node*, std::__1::deque<DB::ExecutingGraph::Node*, std::__1::allocator<DB::ExecutingGraph::Node*> > >&, unsigned long) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:190:43 (clickhouse+0x11aaf954)
#4 DB::PipelineExecutor::prepareProcessor(unsigned long, unsigned long, std::__1::queue<DB::ExecutingGraph::Node*, std::__1::deque<DB::ExecutingGraph::Node*, std::__1::allocator<DB::ExecutingGraph::Node*> > >&, std::__1::unique_lock<std::__1::mutex>) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:296:18 (clickhouse+0x11ab0169)
#5 DB::PipelineExecutor::tryAddProcessorToStackIfUpdated(DB::ExecutingGraph::Edge&, std::__1::queue<DB::ExecutingGraph::Node*, std::__1::deque<DB::ExecutingGraph::Node*, std::__1::allocator<DB::ExecutingGraph::Node*> > >&, unsigned long) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:187:16 (clickhouse+0x11aaf9c2)
#6 DB::PipelineExecutor::prepareProcessor(unsigned long, unsigned long, std::__1::queue<DB::ExecutingGraph::Node*, std::__1::deque<DB::ExecutingGraph::Node*, std::__1::allocator<DB::ExecutingGraph::Node*> > >&, std::__1::unique_lock<std::__1::mutex>) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:296:18 (clickhouse+0x11ab0169)
#7 DB::PipelineExecutor::executeStepImpl(unsigned long, unsigned long, std::__1::atomic<bool>*) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:589:26 (clickhouse+0x11ab2a3e)
#8 DB::PipelineExecutor::executeSingleThread(unsigned long, unsigned long) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:477:5 (clickhouse+0x11ab538b)
#9 DB::PipelineExecutor::executeImpl(unsigned long)::$_4::operator()() const /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:736:21 (clickhouse+0x11ab538b)
#10 decltype(std::__1::forward<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&>(fp)()) std::__1::__invoke_constexpr<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3525:1 (clickhouse+0x11ab538b)
#11 decltype(auto) std::__1::__apply_tuple_impl<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&, std::__1::__tuple_indices<>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:1415:1 (clickhouse+0x11ab538b)
#12 decltype(auto) std::__1::apply<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:1424:1 (clickhouse+0x11ab538b)
#13 ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()::operator()() /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.h:178:13 (clickhouse+0x11ab538b)
#14 decltype(std::__1::forward<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1 (clickhouse+0x11ab538b)
#15 void std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&...) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__functional_base:348:9 (clickhouse+0x11ab538b)
#16 std::__1::__function::__alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'(), std::__1::allocator<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1540:16 (clickhouse+0x11ab538b)
#17 std::__1::__function::__func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'(), std::__1::allocator<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1714:12 (clickhouse+0x11ab538b)
#18 std::__1::__function::__value_func<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1867:16 (clickhouse+0x8346263)
#19 std::__1::function<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2473:12 (clickhouse+0x8346263)
#20 ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:236:17 (clickhouse+0x8346263)
#21 void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()::operator()() const /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:117:73 (clickhouse+0x8349ea8)
#22 decltype(std::__1::forward<void>(fp)(std::__1::forward<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(fp0)...)) std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(void&&, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()&&...) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1 (clickhouse+0x8349ea8)
#23 void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>&, std::__1::__tuple_indices<>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/thread:273:5 (clickhouse+0x8349ea8)
#24 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()> >(void*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/thread:284:5 (clickhouse+0x8349ea8)
Previous read of size 1 at 0x7b50008c25c2 by thread T91:
#0 DB::RemoteSource::generate() /build/obj-x86_64-linux-gnu/../src/Processors/Sources/RemoteSource.cpp:35:9 (clickhouse+0x11c1fb9e)
#1 DB::ISource::work() /build/obj-x86_64-linux-gnu/../src/Processors/ISource.cpp:48:31 (clickhouse+0x11a6c852)
#2 DB::SourceWithProgress::work() /build/obj-x86_64-linux-gnu/../src/Processors/Sources/SourceWithProgress.cpp:36:30 (clickhouse+0x11c26d1a)
#3 DB::executeJob(DB::IProcessor*) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:78:20 (clickhouse+0x11ab4836)
#4 DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0::operator()() const /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:95:13 (clickhouse+0x11ab4836)
#5 decltype(std::__1::forward<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&>(fp)()) std::__1::__invoke<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&>(DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1 (clickhouse+0x11ab4836)
#6 void std::__1::__invoke_void_return_wrapper<void>::__call<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&>(DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__functional_base:348:9 (clickhouse+0x11ab4836)
#7 std::__1::__function::__alloc_func<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0, std::__1::allocator<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1540:16 (clickhouse+0x11ab4836)
#8 std::__1::__function::__func<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0, std::__1::allocator<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1714:12 (clickhouse+0x11ab4836)
#9 std::__1::__function::__value_func<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1867:16 (clickhouse+0x11ab2801)
#10 std::__1::function<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2473:12 (clickhouse+0x11ab2801)
#11 DB::PipelineExecutor::executeStepImpl(unsigned long, unsigned long, std::__1::atomic<bool>*) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:561:17 (clickhouse+0x11ab2801)
#12 DB::PipelineExecutor::executeSingleThread(unsigned long, unsigned long) /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:477:5 (clickhouse+0x11ab538b)
#13 DB::PipelineExecutor::executeImpl(unsigned long)::$_4::operator()() const /build/obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:736:21 (clickhouse+0x11ab538b)
#14 decltype(std::__1::forward<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&>(fp)()) std::__1::__invoke_constexpr<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3525:1 (clickhouse+0x11ab538b)
#15 decltype(auto) std::__1::__apply_tuple_impl<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&, std::__1::__tuple_indices<>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:1415:1 (clickhouse+0x11ab538b)
#16 decltype(auto) std::__1::apply<DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&, std::__1::tuple<>&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:1424:1 (clickhouse+0x11ab538b)
#17 ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()::operator()() /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.h:178:13 (clickhouse+0x11ab538b)
#18 decltype(std::__1::forward<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1 (clickhouse+0x11ab538b)
#19 void std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()&>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&...) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__functional_base:348:9 (clickhouse+0x11ab538b)
#20 std::__1::__function::__alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'(), std::__1::allocator<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1540:16 (clickhouse+0x11ab538b)
#21 std::__1::__function::__func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'(), std::__1::allocator<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::executeImpl(unsigned long)::$_4>(DB::PipelineExecutor::executeImpl(unsigned long)::$_4&&)::'lambda'()>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1714:12 (clickhouse+0x11ab538b)
#22 std::__1::__function::__value_func<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1867:16 (clickhouse+0x8346263)
#23 std::__1::function<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2473:12 (clickhouse+0x8346263)
#24 ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:236:17 (clickhouse+0x8346263)
#25 void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()::operator()() const /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:117:73 (clickhouse+0x8349ea8)
#26 decltype(std::__1::forward<void>(fp)(std::__1::forward<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(fp0)...)) std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(void&&, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()&&...) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1 (clickhouse+0x8349ea8)
#27 void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>&, std::__1::__tuple_indices<>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/thread:273:5 (clickhouse+0x8349ea8)
#28 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()> >(void*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/thread:284:5 (clickhouse+0x8349ea8)
2020-11-14 21:08:41 +03:00
Azat Khuzhin
a350f3f854
Explicitly finish the RemoteSource to avoid connection reset
...
This patch fixes the 01563_distributed_query_finish test.
2020-11-14 18:36:15 +03:00
Azat Khuzhin
8f42144097
Do not try to send query if it was canceled in RemoteSource
...
With optimize_distributed_group_by_sharding_key it is possible to get
enough rows even before sending query to another shard and in this case
it shouldn't send anything to others.
This reduces NETWORK_ERROR in the 01563_distributed_query_finish from 2 to 1.
2020-11-14 18:36:04 +03:00
vdimir
cd3cc329a1
Remove redundant anon namespace in ClickHouseDictionarySource.cpp
2020-11-14 18:23:48 +03:00
alexey-milovidov
9ae14d8f19
Update AvroRowInputFormat.cpp
2020-11-14 17:45:47 +03:00
alexey-milovidov
915d96fee0
Merge pull request #16955 from nikitamikhaylov/fix-typos
...
Fix typos
2020-11-14 17:17:37 +03:00
alexey-milovidov
8ef4bfc0b5
Merge pull request #16968 from amosbird/blocktypemismatch
...
Fix missing conversion of unmutated parts
2020-11-14 17:16:51 +03:00
alexey-milovidov
f6a14afe59
Merge pull request #16938 from ClickHouse/filimonov-support-sni-for-native-client
...
SNI for tcp secure
2020-11-14 17:07:27 +03:00
myrrc
2c9b77d5dd
re-merged with master
2020-11-14 16:51:38 +03:00
myrrc
4f4beab1ff
re-merged with master
2020-11-14 16:50:25 +03:00
vdimir
1dce20e5da
Default host, port and user parameters for source(clickhouse(...))
2020-11-14 16:44:45 +03:00
filimonov
7f7f66a1f1
add comment & restart CI...
2020-11-13 17:45:58 +01:00
Anton Ivashkin
15b5d3a55a
Merge master
2020-11-13 19:32:35 +03:00
Anton Ivashkin
026f7e0a27
Add 's3_max_redirects' setting
2020-11-13 19:31:51 +03:00
Grigory Buteyko
1a02ec85a5
naming issue compress_brute fixed to compressBrute
2020-11-13 19:09:59 +03:00
Grigory Buteyko
2a22941504
naming issue compress_brute fixed to compressBrute
2020-11-13 19:04:53 +03:00
Ivan Lezhankin
bef6463cb4
Implement tcpPort() function
2020-11-13 18:50:50 +03:00
Nikolai Kochetov
5ae81f4b59
Remove commented code.
2020-11-13 18:41:00 +03:00
Nikolai Kochetov
ed98b48845
Merge pull request #16618 from ClickHouse/actions-dag-f14
...
Actions dag 2
2020-11-13 18:34:51 +03:00
myrrc
2430d9d20d
fixed the UB when casting from double to int64_t
...
Corresponding upstream fix: https://github.com/cerevra/int/pull/24
2020-11-13 18:13:15 +03:00
Mikhail Filimonov
e78010c28c
Attempt to fix #16926
2020-11-13 15:21:04 +01:00
nikitamikhaylov
070d1bcdd0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parsing-constraints
2020-11-13 16:27:17 +03:00
alesapin
b2a8b6135d
then
2020-11-13 16:24:14 +03:00
alesapin
b8e33bd35b
Add comments
2020-11-13 15:42:26 +03:00
Ivan
902091cc07
Slightly better miniselect usage ( #16896 )
...
* Slightly better miniselect usage
* Update ColumnDecimal.cpp
2020-11-13 14:28:18 +03:00
filimonov
be16b4ef77
Update Connection.cpp
2020-11-13 12:04:56 +01:00
alesapin
7ea147203b
Merge branch 'master' into correctly_send_close_request
2020-11-13 14:00:05 +03:00
alesapin
8d3858fc22
Merge pull request #16895 from CurtizJ/remove-empty-parts
...
Remove empty parts after they were pruned by TTL [2]
2020-11-13 10:00:18 +03:00
Amos Bird
fdf979d5ce
Fix missing conversion of unmutated parts
2020-11-13 11:45:50 +08:00
nikitamikhaylov
c0940f2ebd
done
2020-11-13 02:27:18 +03:00
nikitamikhaylov
09db36048a
after merge
2020-11-13 00:34:34 +03:00
filimonov
178d8e9b75
Update Connection.cpp
2020-11-12 22:07:19 +01:00
Nikita Mikhaylov
33bada767c
Merge branch 'master' into parsing-constraints
2020-11-12 23:25:39 +03:00
alesapin
bbd85c3b2d
Merge pull request #16390 from ClickHouse/add_separate_pool_for_fetches
...
Add separate pool for fetches
2020-11-12 22:42:28 +03:00
Anton Popov
4cecd89e84
fix dropping of empty parts
2020-11-12 20:37:54 +03:00
filimonov
8eff47420b
Update Connection.cpp
2020-11-12 18:18:34 +01:00
alexey-milovidov
75ba096e87
Merge pull request #16842 from ClickHouse/higher-mmap-threshold-in-debug
...
Higher mmap threshold in debug build
2020-11-12 19:46:08 +03:00
alexey-milovidov
c9c8f50683
Merge pull request #16903 from azat/no-trace-collector-without-trace_log
...
Disable TraceCollector if trace_log is disabled
2020-11-12 19:43:27 +03:00
alexey-milovidov
2151365764
Merge pull request #16865 from filimonov/timeSeriesGroupSum-segfault
...
Fix for issue #16862
2020-11-12 19:39:14 +03:00
alesapin
e19d1430db
Fix livelock
2020-11-12 17:43:16 +03:00
tavplubix
e0dc004b95
Merge pull request #16885 from amosbird/dd
...
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-12 16:34:21 +03:00
Pavel Kruglov
38c126ecfd
Fix style and build error
2020-11-12 16:13:30 +03:00
Nikolai Kochetov
e27afbee2a
Don't visit functions with multiple arguments in MonotonicityCheckMatcher
2020-11-12 15:12:52 +03:00
alesapin
5e1c84e04f
Fix segfault
2020-11-12 15:11:13 +03:00
TCeason
d16cd29c83
Merge branch 'master' into add_sync_user_privs_exception
2020-11-12 19:44:48 +08:00
Anton Popov
0aa35d53c7
Merge remote-tracking branch 'upstream/master' into HEAD
2020-11-12 14:31:58 +03:00
Nikolai Kochetov
bbcd10f415
Don't visit functions with multiple arguments in MonotonicityCheckMatcher
2020-11-12 13:58:14 +03:00
alexey-milovidov
6e62108606
Merge pull request #16774 from ucasFL/agg-func-setting-null-for-empty
...
fix Aggregation Function not found error after #16123
2020-11-12 13:50:15 +03:00
Alexey Milovidov
1af28be77e
Merge branch 'master' into amosbird-fixcrash
2020-11-12 13:47:50 +03:00
alexey-milovidov
91f98d2068
Merge pull request #16834 from Avogar/enum-as-num
...
Try to treat input values as enum id in tsv/scv
2020-11-12 13:46:41 +03:00
feng lv
b1cc582668
fix conflict
2020-11-12 10:42:53 +00:00
Nikolai Kochetov
b8345f209f
Merge pull request #16921 from ClickHouse/try-fix-ci-3
...
Try to fix ci
2020-11-12 13:42:28 +03:00
alesapin
2cac5e5d97
Merge pull request #16875 from CurtizJ/refactor-alter-partition
...
Avoid code duplication in alterPartition
2020-11-12 13:19:59 +03:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
...
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
alexey-milovidov
8dd81410de
Merge pull request #16843 from azat/clickhouse-client-stage
...
Add --stage option for clickhouse-client
2020-11-12 13:09:40 +03:00
Nikolai Kochetov
75e78026de
Fty to fix ci
2020-11-12 13:03:10 +03:00
alesapin
8e5dfa15fc
Merge branch 'master' into correctly_send_close_request
2020-11-12 12:58:33 +03:00
alesapin
a8d466a645
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-12 12:51:02 +03:00
Nikolai Kochetov
85a4849756
Fty to fix ci
2020-11-12 12:21:33 +03:00
Nikolai Kochetov
1a0add5a22
Fix compile expressions
2020-11-12 11:58:36 +03:00
Nikolai Kochetov
46f70dd0de
Merge branch 'master' into actions-dag-f14
2020-11-12 11:54:44 +03:00
filimonov
ec6f092683
Update AggregateFunctionTimeSeriesGroupSum.h
2020-11-12 09:40:26 +01:00
taichong
010e12eb4b
Replace std::*stringstreams
2020-11-12 13:49:56 +08:00
feng lv
b7e5c6ed4d
fix conflict
2020-11-12 02:26:21 +00:00
TCeason
3912ed4965
Merge branch 'master' into add_sync_user_privs_exception
2020-11-12 09:34:08 +08:00
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb
2020-11-12 08:26:27 +08:00
taichong
e2a9fe44b0
modify test error
2020-11-12 08:17:13 +08:00
alexey-milovidov
34b2a460ba
Merge pull request #16578 from fibersel/issue-8828
...
add compression method for files: Xz
2020-11-12 02:58:52 +03:00
a.palagashvili
fe5800a27e
remove commented code
2020-11-12 02:12:51 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
...
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Azat Khuzhin
8c482b978b
Set thread name for the TraceCollector
2020-11-11 21:30:17 +03:00
Azat Khuzhin
719230ecd9
Disable TraceCollector if trace_log is disabled
2020-11-11 21:29:05 +03:00
Anton Popov
0a6d93d929
Update MergeTreeData.h
2020-11-11 21:17:41 +03:00
Nikolai Kochetov
9b13d0e0eb
Revert "Add ActionsDAG::updateHeader()"
...
This reverts commit b78657656c
.
2020-11-11 20:17:26 +03:00
Alexey Milovidov
57ac63ca34
Minor change in query profiler
2020-11-11 19:58:54 +03:00
Nikolai Kochetov
58c4a7b890
Some renames.
2020-11-11 19:52:27 +03:00
Anton Popov
2497598a49
Remove empty parts after they were pruned by TTL
2020-11-11 19:19:43 +03:00
Anton Popov
c01870076d
Update MergeTreeData.h
2020-11-11 19:09:01 +03:00
Nikolai Kochetov
a8ddb27c00
Remove comment.
2020-11-11 19:08:48 +03:00
Nikolai Kochetov
02770ae216
Remove comment.
2020-11-11 19:05:00 +03:00
Nikolai Kochetov
aefbc2b48b
Try fix tests.
2020-11-11 18:19:27 +03:00
Nikolai Kochetov
4618df5915
Try fix tests.
2020-11-11 18:16:46 +03:00
Amos Bird
134786afd5
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-11 23:04:49 +08:00
Nikolai Kochetov
c7f93140b4
Add more comments.
2020-11-11 17:56:56 +03:00
Nikolai Kochetov
4abcd1bcb3
Add more comments.
2020-11-11 17:26:18 +03:00
Nikolai Kochetov
d72c7dfacb
Add more comments.
2020-11-11 17:07:51 +03:00
Nikolai Kochetov
b78657656c
Add ActionsDAG::updateHeader()
2020-11-11 16:50:29 +03:00
Anton Popov
6f0dc08ba7
avoid code duplication in alterPartition
2020-11-11 16:34:07 +03:00
Alexander Tokmakov
dbac7860b1
review suggestions
2020-11-11 16:27:54 +03:00
Nikolai Kochetov
a0c18e63ce
Merge pull request #16844 from ClickHouse/try-fix-ci-2
...
Try fix ci.
2020-11-11 16:26:20 +03:00
a.palagashvili
1b06fd9373
regenerated ya.make
2020-11-11 15:57:35 +03:00
a.palagashvili
55d05c95bf
fixed style, xz check fasttest skipped, removed fast-lzma2
2020-11-11 15:34:28 +03:00
Mikhail Filimonov
3b2c681ac6
blind fix
2020-11-11 13:25:05 +01:00
Pavel Kovalenko
e311759c5d
Abort multipart upload if no data was written to WriteBufferFromS3. ( #16840 )
2020-11-11 15:15:16 +03:00
taichong
5c1a01897a
Revise the code according to the review
2020-11-11 19:27:37 +08:00
taichong
d907afa77e
throw exception when mysql sync user privs error.
2020-11-11 19:27:37 +08:00
Nikolai Kochetov
bd15b4e77f
Fix tests.
2020-11-11 14:15:25 +03:00
a.palagashvili
94790526bd
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into issue-8828
2020-11-11 14:10:02 +03:00
Pavel Kruglov
c4e0d40388
Add a comment
2020-11-11 14:01:46 +03:00
Pavel Kruglov
4b97c95d6e
Better implementation
2020-11-11 13:56:47 +03:00
feng lv
f04bd0643d
fix test
...
fix
fix
2020-11-11 10:42:37 +00:00
Alexander Tokmakov
7da5e92754
fix
2020-11-11 13:41:12 +03:00
tavplubix
bd3f9e2a22
Fix strange code in InterpreterShowAccessQuery
2020-11-11 13:09:48 +03:00
Nikolai Kochetov
1846bb3cac
Merge branch 'master' into actions-dag-f14
2020-11-11 13:08:57 +03:00
Nikolai Kochetov
57c7ad1833
Fix style.
2020-11-11 12:47:48 +03:00
Nikolai Kochetov
0410e383d9
Try fix check.
2020-11-11 12:46:36 +03:00
sundy-li
579f4c50ed
improve rocksdb-cmake build
2020-11-11 17:39:23 +08:00
alesapin
637e3dc2c2
Merge pull request #16627 from amosbird/zkc
...
reload auxiliary zookeepers configuration
2020-11-11 10:00:22 +03:00
sundy-li
d8376a2d60
Merge branch 'storage-rocksdb' of github.com:sundy-li/ClickHouse into storage-rocksdb
2020-11-11 13:19:30 +08:00
feng lv
fec4080d42
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-11 03:10:10 +00:00
feng lv
0f9065a91f
fix
...
fix
2020-11-11 02:15:40 +00:00
a.palagashvili
124ef2f5fa
added and successfully passed tests for content encoding and file() function, formatted code
2020-11-11 04:50:56 +03:00
sundy-li
c56d1212a2
rocksdb-cmake && fix iteration bug && improve tests
2020-11-11 09:39:09 +08:00
Alexey Milovidov
765c9eaeed
Fix improper error handling
2020-11-11 09:08:53 +08:00
Alexey Milovidov
07fbab9645
More normal
2020-11-11 09:08:53 +08:00
Alexey Milovidov
33599ae9b0
Remove unneeded dir
2020-11-11 09:08:53 +08:00
Alexey Milovidov
73e2f1b7ed
Improve performance two times
2020-11-11 09:08:53 +08:00
Alexey Milovidov
0001433b82
Better code
2020-11-11 09:08:53 +08:00
Alexey Milovidov
3915d65c2f
Fix bad wording
2020-11-11 09:08:53 +08:00
Alexey Milovidov
6376c8db7e
Make code slightly better
2020-11-11 09:08:53 +08:00
Alexey Milovidov
742ffdd145
Update ya.make
2020-11-11 09:08:53 +08:00
Alexey Milovidov
630aa9b0c3
Rename Rocksdb to RocksDB
2020-11-11 09:08:53 +08:00
sundy-li
46c01eb7a2
improve unbundle build
2020-11-11 09:08:53 +08:00
sundy-li
fb7066d73d
* fix fasttest and cmake && pipline for all_scan
...
* unique the keys
* add inputstream && outputstream
2020-11-11 09:08:53 +08:00
sundy-li
f95a66b584
add supportsIndexForIn && supportsParallelInsert, support parallel reading
2020-11-11 09:08:52 +08:00
sundy-li
fced1a0e28
fix extract keys
2020-11-11 09:08:52 +08:00
sundy-li
c7617173c4
add sync_file_range for glibc-compatibility
2020-11-11 09:08:52 +08:00
sundy-li
84dab52e45
skip rocksdb test in fasttest
2020-11-11 09:08:52 +08:00