Azat Khuzhin
7514f3a0e3
Cover distributed_aggregation_memory_efficient/group_by_two_level_threshold
2020-03-30 21:29:22 +03:00
Azat Khuzhin
e26f0147f4
Add a test for known bug with GLOBAL IN and Distributed-on-Distributed
...
The stacktrace looks like:
[ 1393930 ] {61e2952b-5039-497a-8f8c-923644541261} <Debug> executeQuery: (from [::1]:28770) SELECT DISTINCT * FROM dist_01224 WHERE key GLOBAL IN (1) SETTINGS distributed_group_by_no_merge = 1
[ 1393930 ] {61e2952b-5039-497a-8f8c-923644541261} <Error> : Logical error: 'Table expression is undefined, Method: ExpressionAnalyzer::interpretSubquery.'.
src/Common/Exception.cpp:37: DB::Exception::Exception(const string&, int): Assertion `false' failed.
[ 1393906 ] {} <Trace> BaseDaemon: Received signal 6
[ 1421018 ] {} <Fatal> BaseDaemon: ########################################
[ 1421018 ] {} <Fatal> BaseDaemon: (version 20.4.1.1) (from thread 1393930) (query_id: 61e2952b-5039-497a-8f8c-923644541261) Received signal Aborted (6).
[ 1421018 ] {} <Fatal> BaseDaemon:
[ 1421018 ] {} <Fatal> BaseDaemon: Stack trace: 0x7ffff6f22ce5 0x7ffff6f0c857 0x7ffff6f0c727 0x7ffff6f1b426 0x7ffff7bc5094 0x7fffeae131e6 0x7fffeae12f8b 0x7fffea7697a1 0x7fffea769f26 0x7fffea769e1f 0x7fffea76bc21 0x7fffea76e612 0x7fffea76bc0b 0x7fffea76078b 0x7fffea75fa5f 0x7fffea88742a 0x7fffea89ffa4 0x7fffea872162 0x7fffea8740e1 0x7fffea8715ef 0x7fffea8fcd4d 0x7fffea8facd1 0x7fffea8414b9 0x7fffea83f8a9 0x7fffeae04914 0x7fffeae05f39 0x7ffff7f68506 0x7ffff7f6f4d9
[ 1421018 ] {} <Fatal> BaseDaemon: 4. gsignal @ 0x3bce5 in /usr/lib/libc-2.31.so
[ 1421018 ] {} <Fatal> BaseDaemon: 5. abort @ 0x25857 in /usr/lib/libc-2.31.so
[ 1421018 ] {} <Fatal> BaseDaemon: 6. _nl_load_domain.cold @ 0x25727 in /usr/lib/libc-2.31.so
[ 1421018 ] {} <Fatal> BaseDaemon: 7. ? @ 0x34426 in /usr/lib/libc-2.31.so
[ 1421018 ] {} <Fatal> BaseDaemon: 8. /ch-cmake/../dbms/src/Common/Exception.cpp:37: DB::Exception::Exception(...) @ 0x1c1094 in /ch-cmake/dbms/libclickhouse_common_iod.so
[ 1421018 ] {} <Fatal> BaseDaemon: 9. /ch-cmake/../dbms/src/Interpreters/interpretSubquery.cpp:52: DB::interpretSubquery() [clone .localalias] @ 0x1d831e6 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 10. /ch-cmake/../dbms/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr<DB::IAST> const&, DB::Context const&, unsigned long, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) @ 0x1d82f8b in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 11. /ch-cmake/../dbms/src/Interpreters/GlobalSubqueriesVisitor.h💯 DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr<DB::IAST>&, bool) @ 0x16d97a1 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 12. /ch-cmake/../dbms/src/Interpreters/GlobalSubqueriesVisitor.h:170: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr<DB::IAST>&, DB::GlobalSubqueriesMatcher::Data&) @ 0x16d9f26 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 13. /ch-cmake/../dbms/src/Interpreters/GlobalSubqueriesVisitor.h:151: DB::GlobalSubqueriesMatcher::visit(std::shared_ptr<DB::IAST>&, DB::GlobalSubqueriesMatcher::Data&) @ 0x16d9e1f in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 14. /ch-cmake/../dbms/src/Interpreters/InDepthNodeVisitor.h:27: DB::InDepthNodeVisitor<DB::GlobalSubqueriesMatcher, false, std::shared_ptr<DB::IAST> >::visit(std::shared_ptr<DB::IAST>&) @ 0x16dbc21 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 15. /ch-cmake/../dbms/src/Interpreters/InDepthNodeVisitor.h:45: DB::InDepthNodeVisitor<DB::GlobalSubqueriesMatcher, false, std::shared_ptr<DB::IAST> >::visitChildren(std::shared_ptr<DB::IAST>&) @ 0x16de612 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 16. /ch-cmake/../dbms/src/Interpreters/InDepthNodeVisitor.h:32: DB::InDepthNodeVisitor<DB::GlobalSubqueriesMatcher, false, std::shared_ptr<DB::IAST> >::visit(std::shared_ptr<DB::IAST>&) @ 0x16dbc0b in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 17. /ch-cmake/../dbms/src/Interpreters/ExpressionAnalyzer.cpp:265: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool) @ 0x16d078b in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 18. /ch-cmake/../dbms/src/Interpreters/ExpressionAnalyzer.cpp:140: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr<DB::IAST> const&, std::shared_ptr<DB::SyntaxAnalyzerResult const> const&, DB::Context const&, unsigned long, bool) @ 0x16cfa5f in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 19. /ch-cmake/../dbms/src/Interpreters/ExpressionAnalyzer.h:235: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer() @ 0x17f742a in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 20. /usr/include/c++/9.3.0/bits/unique_ptr.h:857: std::_MakeUniq<DB::SelectQueryExpressionAnalyzer>::__single_object std::make_unique<..>(std::shared_ptr<DB::IAST>&, std::shared_ptr<DB::SyntaxAnalyzerResult const>&, DB::Context&, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&&, bool&&, DB::SelectQueryOptions&) @ 0x180ffa4 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 21. /ch-cmake/../dbms/src/Interpreters/InterpreterSelectQuery.cpp:320: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr<DB::IAST> const&, DB::Context const&, std::shared_ptr<DB::IBlockInputStream> const&, std::optional<DB::Pipe>, std::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)::{}::operator()(bool) const @ 0x17e2162 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 22. /ch-cmake/../dbms/src/Interpreters/InterpreterSelectQuery.cpp:383: DB::InterpreterSelectQuery::InterpreterSelectQuery(...) @ 0x17e40e1 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 23. /ch-cmake/../dbms/src/Interpreters/InterpreterSelectQuery.cpp:167: DB::InterpreterSelectQuery::InterpreterSelectQuery(...) @ 0x17e15ef in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 24. /usr/include/c++/9.3.0/bits/unique_ptr.h:857: std::_MakeUniq<DB::InterpreterSelectQuery>::__single_object std::make_unique<...>(...) @ 0x186cd4d in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 25. /ch-cmake/../dbms/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:94: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(...) @ 0x186acd1 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 26. /usr/include/c++/9.3.0/bits/unique_ptr.h:857: std::_MakeUniq<DB::InterpreterSelectWithUnionQuery>::__single_object std::make_unique<...>(std::shared_ptr<DB::IAST>&, DB::Context&, DB::SelectQueryOptions&&) @ 0x17b14b9 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 27. /ch-cmake/../dbms/src/Interpreters/InterpreterFactory.cpp💯 DB::InterpreterFactory::get(std::shared_ptr<DB::IAST>&, DB::Context&, DB::QueryProcessingStage::Enum) @ 0x17af8a9 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 28. /ch-cmake/../dbms/src/Interpreters/executeQuery.cpp:310: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x1d74914 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 29. /ch-cmake/../dbms/src/Interpreters/executeQuery.cpp:578: DB::executeQuery(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x1d75f39 in /ch-cmake/dbms/libclickhouse_interpretersd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 30. /ch-cmake/../dbms/programs/server/TCPHandler.cpp:249: DB::TCPHandler::runImpl() @ 0x23a506 in /ch-cmake/dbms/programs/server/libclickhouse-server-libd.so
[ 1421018 ] {} <Fatal> BaseDaemon: 31. /ch-cmake/../dbms/programs/server/TCPHandler.cpp:1239: DB::TCPHandler::run() @ 0x2414d9 in /ch-cmake/dbms/programs/server/libclickhouse-server-libd.so
Aborted (core dumped)
2020-03-30 21:29:22 +03:00
Azat Khuzhin
3a5ea0e443
Cover group_by_two_level_threshold/distributed_aggregation_memory_efficient
2020-03-30 21:29:22 +03:00
Azat Khuzhin
fe3b068d22
More test cases for Distibuted-on-Distributed (LEFT JOIN/RIGHT JOIN)
2020-03-30 21:29:22 +03:00
Azat Khuzhin
63e86bcfc4
Allow to use Distributed on Distributed
2020-03-30 21:29:22 +03:00
Azat Khuzhin
e447e52326
Update documentation that Distributed over Distributed is allowed now
2020-03-30 21:29:22 +03:00
Azat Khuzhin
29adda97be
Cover Distributed-on-Distributed
2020-03-30 21:29:22 +03:00
Vitaliy Zakaznikov
b22060b30d
Fixing 00964_live_view_watch_events_heartbeat.py test to avoid
...
potential race condition.
2020-03-30 15:55:10 +02:00
alexey-milovidov
3d42a5a874
Merge branch 'master' into nv/getStructureOfRemoteTable-try-all-shards
2020-03-30 16:33:36 +03:00
alexey-milovidov
621bcaf2eb
Merge pull request #9922 from ClickHouse/every_function_in_own_file_12
...
Every function in its own file, part 12
2020-03-30 16:22:15 +03:00
Alexey Milovidov
4a74e9c112
Fixed style
2020-03-30 16:21:54 +03:00
Ivan Blinkov
8820f8c7fa
Update tips.md
2020-03-30 16:20:50 +03:00
Ivan Blinkov
ebac76884f
Update roadmap.md
2020-03-30 16:19:58 +03:00
imgbot[bot]
64fa567007
[ImgBot] Optimize images ( #9943 )
...
/website/images/flags/fr.svg -- 0.24kb -> 0.20kb (16.06%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-30 16:16:29 +03:00
Ivan Blinkov
61cf32f8ac
Update build.py
2020-03-30 16:07:08 +03:00
Ivan Blinkov
5ad4e0a7c8
Add try-finally block
2020-03-30 16:05:47 +03:00
Alexander Kuzmenkov
be331e3e9c
Make table names in some stateless tests unique.
...
Hoping this fixes strange failures we've been seeing under MemorySanitizer.
2020-03-30 15:59:01 +03:00
Sergei Shtykov
7a7dffd00b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-138-regionToTopContinent
2020-03-30 15:51:25 +03:00
Ivan Blinkov
197033dceb
[docs] draft of fr version ( #9942 )
2020-03-30 15:48:55 +03:00
Sergei Shtykov
5adc5a51dc
Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-138-regionToTopContinent
2020-03-30 15:31:44 +03:00
Sergei Shtykov
14d078d7fb
CLICKHOUSEDOCS-138: Fixed lang.
2020-03-30 15:25:54 +03:00
AsiaKorushkina
19c3939b62
asiana21 DOCSUP-658 ( #93 )
...
* docs(regionToTopContinent): part of the function description
* docs(regionToTopContinent): some shanges are added in the description
* Update docs/en/query_language/functions/ym_dict_functions.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/query_language/functions/ym_dict_functions.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/query_language/functions/ym_dict_functions.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/query_language/functions/ym_dict_functions.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* docs(regionToTopContinent): some shanges
* docs(regionToTopContinent): added translation of the function description
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-03-30 15:23:54 +03:00
Ivan Lezhankin
db6e374d39
Fix build for ancient CMake
2020-03-30 15:06:30 +03:00
Ivan Blinkov
700c27a99d
Refactor docs print/pdf ( #9934 )
2020-03-30 14:39:26 +03:00
alexey-milovidov
9436a136b6
Merge pull request #9919 from azat/system.tables
...
system.tables improvements (total_rows/total_bytes/storage_policy)
2020-03-30 14:21:49 +03:00
Vitaly Baranov
cf8c722c91
Add test_random_inserts/__init__.py
2020-03-30 14:07:56 +03:00
alesapin
49a0b99c51
Add missed file
2020-03-30 13:40:23 +03:00
philip.han
210024cd3a
Fix a corner case of windowFunnel with 'strict_order'
2020-03-30 19:35:54 +09:00
philip.han
d8ff25d364
Fix a bug that windowFunnel() returns null.
2020-03-30 19:29:13 +09:00
alesapin
8d19f9f7d7
Add hard timeouts to alter tests
2020-03-30 13:21:08 +03:00
imgbot[bot]
8087751453
[ImgBot] Optimize images ( #9930 )
...
/website/images/flags/es.svg -- 58.45kb -> 57.89kb (0.95%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-30 12:37:06 +03:00
Ivan Blinkov
99979a29df
Update README.md
2020-03-30 11:36:24 +03:00
Ivan Blinkov
2cb1939dce
Update es.svg
2020-03-30 11:33:19 +03:00
imgbot[bot]
eab2829812
[ImgBot] Optimize images ( #9929 )
...
*Total -- 128.15kb -> 127.56kb (0.45%)
/website/images/flags/es.svg -- 119.33kb -> 118.77kb (0.48%)
/website/images/mkdocs/single.svg -- 0.63kb -> 0.63kb (0.46%)
/website/images/mkdocs/search.svg -- 0.96kb -> 0.95kb (0.31%)
/website/images/mkdocs/edit.svg -- 0.97kb -> 0.96kb (0.3%)
/website/images/mkdocs/pdf.svg -- 1.79kb -> 1.78kb (0.16%)
/website/images/mkdocs/multi.svg -- 3.05kb -> 3.05kb (0.1%)
/website/images/index/github.svg -- 1.42kb -> 1.42kb (0.07%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-30 11:31:35 +03:00
Ivan Blinkov
cc60f0edaf
Custom mkdocs theme ( #9874 )
2020-03-30 11:25:29 +03:00
Vitaly Baranov
119b16a2a5
Merge pull request #9924 from vitlibar/fix-multiple-hosts-in-create-user
...
Fix parsing multiple hosts in CREATE USER command.
2020-03-30 05:40:10 +03:00
Gagan Arneja
1d1070af71
Fix a race between DDLWorker and DDLWorkerClnr during startup that causes DDLWorker to exit because of ZooKeeper NONODE error
2020-03-29 18:12:29 -07:00
Vitaly Baranov
d2edeb7be4
Fix parsing multiple hosts in CREATE USER command.
2020-03-30 02:22:06 +03:00
Azat Khuzhin
3d3a82543a
Fix optimize_trivial_count_query for queries with GROUP BY
...
Fixes: 00341_squashing_insert_select2
2020-03-30 00:37:54 +03:00
Azat Khuzhin
85df027651
Update 00693_max_block_size_system_tables_columns for total_rows/total_bytes
2020-03-30 00:37:54 +03:00
Azat Khuzhin
40f0acfd52
Update 00753_system_columns_and_system_tables for total_bytes
2020-03-30 00:37:54 +03:00
Azat Khuzhin
997c4682aa
Add total_bytes to the system.tables
2020-03-30 00:37:54 +03:00
Azat Khuzhin
fe9a638540
Implement totalBytes() for StorageNull
2020-03-30 00:37:54 +03:00
Azat Khuzhin
ee89dfc92b
Implement totalBytes() for StorageBuffer
2020-03-30 00:37:54 +03:00
Azat Khuzhin
bc32865e22
Implement totalBytes() for StorageMemory
2020-03-30 00:37:54 +03:00
Azat Khuzhin
08d5872d90
Implement totalBytes() for MergeTree/ReplicatedMergeTree
2020-03-30 00:37:54 +03:00
Azat Khuzhin
4a7ee947b2
Add IStorage::totalBytes() interface
2020-03-30 00:37:54 +03:00
Azat Khuzhin
c2fbba7b9c
Update 00753_system_columns_and_system_tables for storage_policy/total_rows
2020-03-30 00:37:54 +03:00
Azat Khuzhin
2489481a46
Add total_rows to the system.tables
2020-03-30 00:37:54 +03:00
Azat Khuzhin
b66f2efc9e
Implement totalRows() for StorageNull
2020-03-29 23:28:49 +03:00