Commit Graph

38213 Commits

Author SHA1 Message Date
alesapin
f1e0f15556
Merge pull request #9948 from ClickHouse/alter_rename_column
Alter rename column
2020-04-07 15:28:00 +03:00
alesapin
9bc0ab2eed Merge branch 'master' into small_fixes_in_dict_parser 2020-04-07 14:59:08 +03:00
alesapin
d0bed6b204 Merge branch 'master' into fix_check_table_with_index 2020-04-07 14:58:45 +03:00
alesapin
5f3bcf198b Merge branch 'master' into add_conversion_stream 2020-04-07 14:57:58 +03:00
Anton Popov
592093b749 add check with polymorphic parts 2020-04-07 14:48:23 +03:00
Artem Zuikov
8297683972
renames: AnalyzedJoin -> TableJoin, Join -> HashJoin (#10065) 2020-04-07 12:48:47 +03:00
Ivan
f6b31f344d
Add cross-compile build for FreeBSD (#9643)
* Add toolchain to Docker image
2020-04-07 11:33:49 +03:00
Dmitry Belyavtsev
d300a7da3c
Add ruby library clickhouse-activerecord to list in docs (#10069)
* Add ruby library clickhouse-activerecord to list in docs

* Add library clickhouse-activerecord in docsfor other locales
2020-04-07 10:48:41 +03:00
Alexander Kuzmenkov
2e804173a9 performance comparison 2020-04-07 03:29:44 +03:00
Alexander Kuzmenkov
2a8867f330 Convenient defaults for perf test runner. 2020-04-06 23:48:26 +03:00
Alexander Kuzmenkov
0642619afe
Merge pull request #9992 from ClickHouse/aku/fix-tests-for-random-order
Fix some tests for random execution order
2020-04-06 23:33:56 +03:00
alesapin
107c5b7860
Merge pull request #10063 from ClickHouse/fix-GroupingAggregatedTransform-single-level
Fix GroupingAggregatedTransform for single-level aggregation. Add test.
2020-04-06 22:13:15 +03:00
alesapin
a71b33f284
Merge pull request #10070 from vitlibar/enable-access-management-in-stateless-tests
Enable access management in stateless tests.
2020-04-06 22:12:25 +03:00
alesapin
04e3e3179c Add converting stream to localhost clickhouse dict 2020-04-06 22:09:39 +03:00
Vitaly Baranov
2296472195 Enable access management in stateless tests. 2020-04-06 21:55:25 +03:00
alesapin
f0124ffc2b Fix runner script 2020-04-06 21:30:51 +03:00
Nikolai Kochetov
4fd5ef8bad Review fixes. 2020-04-06 21:05:45 +03:00
tavplubix
ea376b9739
Merge pull request #10054 from azat/detachDatabase-on-fail-at-start-deadlock
Fix deadlock on failed database attach at start with materialized view
2020-04-06 20:37:39 +03:00
BayoNet
fd4e246f62
DOCS-448: system.settings (#10013)
* elenbaskakova-DOCSUP-847 (#92)

* "docs(system.settings): Table 'system.settings' has been edited"

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(system.settings): Table 'system.settings' has been edited"

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(system.settings): Table 'system.settings' has been edited"

* "docs(system.settings): Table 'system.settings' has been edited"

Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-448: Finalizing before pull.

* CLICKHOUSEDOCS-448: Merge fix.

* CLICKHOUSEDOCS-448: Fixed.

* CLICKHOUSEDOCS-448: Clarification.

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-04-06 20:25:59 +03:00
alesapin
c17fa34fa5 Fix bug with uncompressed checksums in CHECK TABLE query 2020-04-06 20:00:29 +03:00
alesapin
4be263c72f Clang-tidy fix 2020-04-06 17:43:36 +03:00
Ivan Blinkov
0fb6cf0a4c
Update README.md 2020-04-06 17:10:37 +03:00
BayoNet
043c86dbb5
DOCS-499: avgWeighted (#10040)
* CLICKHOUSEDOCS-499: avgWeighted description is added.

* CLICKHOUSEDOCS-499: Update.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-04-06 17:10:03 +03:00
Artem Zuikov
174136a1e0
inflating cross join (#10029) 2020-04-06 16:39:57 +03:00
Ivan Blinkov
afba01bd63
Merge pull request #10060 from ClickHouse/dependabot/pip/docs/tools/beautifulsoup4-4.9.0
Bump beautifulsoup4 from 4.8.2 to 4.9.0 in /docs/tools
2020-04-06 16:36:07 +03:00
Nikolai Kochetov
8986cf688b Added comment. 2020-04-06 16:28:46 +03:00
dependabot-preview[bot]
f678c3f611
Bump beautifulsoup4 from 4.8.2 to 4.9.0 in /docs/tools
Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.8.2 to 4.9.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 12:47:28 +00:00
Ivan Blinkov
dd18ae0991
Merge pull request #10059 from ClickHouse/dependabot/pip/docs/tools/certifi-2020.4.5.1
Bump certifi from 2019.11.28 to 2020.4.5.1 in /docs/tools
2020-04-06 15:46:20 +03:00
alesapin
848678d656 Now layout type for dictionaries DDL with no arguments can be written without brackets 2020-04-06 14:02:17 +03:00
Nikolai Kochetov
0117c194c5 Fix GroupingAggregatedTransform for single-level aggregation. Add test. 2020-04-06 13:33:59 +03:00
Pavel Kovalenko
8c1dda0105 Merge remote-tracking branch 'jokser/s3-uri-virtual-hosted-style-support' into s3-uri-virtual-hosted-style-support 2020-04-06 12:59:59 +03:00
Pavel Kovalenko
f9c98dd689 Merge remote-tracking branch 'origin/master' into s3-uri-virtual-hosted-style-support 2020-04-06 12:57:53 +03:00
alesapin
dd5ddf19d9 Rename missed files 2020-04-06 11:55:59 +03:00
alesapin
1cb072d58a Merge branch 'master' into alter_rename_column 2020-04-06 11:40:27 +03:00
dependabot-preview[bot]
71b43bfa0a
Bump certifi from 2019.11.28 to 2020.4.5.1 in /docs/tools
Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.11.28 to 2020.4.5.1.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 08:13:11 +00:00
Alexey Milovidov
110eb599c1 Fix "check style" tool 2020-04-06 02:57:24 +03:00
Alexey Milovidov
646f409b8e Fix "check style" tool 2020-04-06 02:51:26 +03:00
Azat Khuzhin
e7bbd400c7 Fix deadlock on failed database attach at start with materialized view
This is not the problem for plain DROP DATABASE query since it first
remove tables.

  (gdb) bt
  0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
  1  0x00007f353c262774 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../nptl/pthread_mutex_lock.c:80
  2  0x0000000004fd5d1e in DB::pthread_mutex_lock (arg=arg@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../src/Common/ThreadFuzzer.cpp:253
  3  0x000000000c70b3a9 in std::__1::__libcpp_mutex_lock (__m=__m@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../contrib/libcxx/include/__threading_support:322
  4  std::__1::mutex::lock (this=this@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../contrib/libcxx/src/mutex.cpp:33
  5  0x0000000008acd4e2 in std::__1::lock_guard<std::__1::mutex>::lock_guard (__m=..., this=<synthetic pointer>) at ../contrib/libcxx/include/__mutex_base:90
  6  DB::DatabaseCatalog::removeDependency (this=this@entry=0x11049280 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog>, from=..., where=...) at ../src/Interpreters/DatabaseCatalog.cpp:388
  7  0x000000000975044b in DB::StorageMaterializedView::shutdown (this=0x7f338d178a00) at ../src/Storages/StorageMaterializedView.cpp:362
  8  0x0000000008a79602 in DB::DatabaseWithOwnTablesBase::shutdown (this=0x7f353be3cc60) at ../contrib/libcxx/include/__tree:184
  9  0x0000000009546196 in DB::DatabaseWithDictionaries::shutdown (this=0x7f353be3cc60) at ../src/Databases/DatabaseWithDictionaries.cpp:265
  10 0x0000000008acecdb in DB::DatabaseCatalog::detachDatabase (this=0x11049280 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog>, database_name=..., drop=drop@entry=false, check_empty=check_empty@entry=false) at ../contrib/libcxx/include/memory:3826
  11 0x0000000004bf0aa5 in DB::InterpreterCreateQuery::createDatabase (this=0x7ffd6e1bab80, create=...) at ../src/Interpreters/InterpreterCreateQuery.cpp:162
  12 0x0000000008b04327 in DB::InterpreterCreateQuery::execute (this=this@entry=0x7ffd6e1bab80) at ../src/Interpreters/InterpreterCreateQuery.cpp:722
  13 0x0000000008d0fdaa in DB::executeCreateQuery (has_force_restore_data_flag=false, file_name=..., database=..., context=..., query=...) at ../src/Interpreters/loadMetadata.cpp:48
  14 DB::loadDatabase (context=..., database=..., database_path=..., force_restore_data=<optimized out>) at ../src/Interpreters/loadMetadata.cpp:72
  15 0x0000000008d103c3 in DB::loadMetadata (context=...) at ../src/Interpreters/loadMetadata.cpp:111
  16 0x0000000004f4d25e in DB::Server::main (this=<optimized out>) at ../contrib/libcxx/include/memory:2582
  17 0x000000000bbc8963 in Poco::Util::Application::run (this=this@entry=0x7ffd6e1bcc60) at ../contrib/poco/Util/src/Application.cpp:334
  18 0x0000000004ffe1de in DB::Server::run (this=0x7ffd6e1bcc60) at ../programs/server/Server.cpp:178
  19 0x0000000004ff36cc in mainEntryClickHouseServer (argc=3, argv=0x7f353be58bc0) at ../programs/server/Server.cpp:1060
  20 0x0000000004f49b99 in main (argc_=<optimized out>, argv_=<optimized out>) at ../contrib/libcxx/include/vector:655
2020-04-05 14:16:16 +03:00
Alexey Milovidov
73b0f8db8c Added results from Denis Glazachev 2020-04-04 19:17:01 +03:00
Azat Khuzhin
1232760f78 Fix Distributed-over-Distributed when nested table has only one shard 2020-04-04 13:47:35 +03:00
Azat Khuzhin
8d372b0be7 Call getQueryProcessingStage() once, since it is heavy for StorageDistributed
Refs: #9808
2020-04-04 13:47:34 +03:00
Azat Khuzhin
1777e2fd6b Regression for Distributed-over-Distributed when nested table has only one shard 2020-04-04 13:47:34 +03:00
Vasily Nemkov
b441e8a408 Integration test for Distributed over Distributed (from #8640) 2020-04-04 13:47:34 +03:00
Ivan Blinkov
765dd7c495
Update some docs translations (#10044) 2020-04-04 12:15:31 +03:00
Ivan Blinkov
65c317e4ca
Update quotas.md 2020-04-04 09:35:35 +03:00
Ivan Blinkov
6a2a29a579
Update requirements.md 2020-04-04 09:33:00 +03:00
Ivan Blinkov
e32c761e59
Update docs.js 2020-04-04 08:30:40 +03:00
Ivan Lezhankin
9b590a1edf Trigger rebuild after rename 2020-04-04 03:04:46 +03:00
alexey-milovidov
ea6f90b4f2
Merge pull request #10042 from abyss7/dbms2src
dbms/ → src/
2020-04-04 02:44:20 +03:00
Ivan Blinkov
815f7448d0
Update docs.js 2020-04-03 23:08:27 +03:00