Commit Graph

37285 Commits

Author SHA1 Message Date
Azat Khuzhin
b89de69345 Evaluate constant expressions for optimize_skip_unused_shards 2020-03-22 19:30:36 +03:00
Azat Khuzhin
622131fc85 Cover constant expression evaluation for optimize_skip_unused_shards
v2: remove key=xxHash64() that is covered by #9804
2020-03-22 14:55:43 +03:00
Ivan Blinkov
6550aa5e6c
fix mistype 2020-03-21 09:32:52 +03:00
Ivan Blinkov
4d23e6cf2d
Update build.py 2020-03-21 09:25:59 +03:00
Ivan Blinkov
11238693b5
Trigger CI 2020-03-21 08:30:54 +03:00
Ivan Blinkov
1ce289a0c4
fix toc_es.yml 2020-03-21 08:29:42 +03:00
Ivan Blinkov
5ccf1eb1d4
Trigger CI 2020-03-21 07:57:05 +03:00
Ivan Blinkov
eda352deca
python3 in release.sh 2020-03-21 07:56:32 +03:00
imgbot[bot]
2a318d4ec5
[ImgBot] Optimize images (#9788)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-21 07:31:31 +03:00
Ivan Blinkov
2e1f6bc56d
[experimental] add "es" docs language as machine translated draft (#9787)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)
2020-03-21 07:11:51 +03:00
alexey-milovidov
6520b45588
Merge pull request #9784 from zlobober/expose_process_list_for_user_info
Expose ProcessListForUserInfo structure from ProcessList.
2020-03-21 01:36:22 +03:00
Ivan Blinkov
ec8114d75d
Trigger CI 2020-03-20 22:03:09 +03:00
imgbot[bot]
be957eeab1
[ImgBot] Optimize images (#9785)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-20 22:01:56 +03:00
alexey-milovidov
44cb1b8305
Merge pull request #9774 from ClickHouse/better_test
Fix 01045 test
2020-03-20 21:40:04 +03:00
alexey-milovidov
d335775208
Merge pull request #9767 from hczhcz/patch-0320
Fix splitByString in #9742
2020-03-20 21:36:22 +03:00
alexey-milovidov
f624bed408
Merge branch 'master' into patch-0320 2020-03-20 21:36:14 +03:00
alexey-milovidov
557ed68e77
Merge pull request #9779 from ClickHouse/fix_alters_on_mutations_for_compact_parts
Fix alter drop column for compact parts
2020-03-20 21:31:44 +03:00
Ivan Blinkov
0f17de9fbf
Temporary disable links to nowhere test 2020-03-20 21:23:08 +03:00
Ivan Blinkov
8561a026b1
WIP on docs translation/normalization tools (#9783) 2020-03-20 21:20:59 +03:00
Maxim Akhmedov
f1e1934390 Expose ProcessListForUserInfo structure from ProcessList. 2020-03-20 20:27:17 +03:00
alesapin
da76da1af7
Fix docs for .tgz install (#9780) 2020-03-20 19:00:11 +03:00
alesapin
ba3ac3df32 Fix alter drop column for compact parts 2020-03-20 15:25:24 +03:00
alesapin
1e041b8791 Fix argument 2020-03-20 14:24:17 +03:00
alesapin
dcb505b993 Fix 01045 test 2020-03-20 14:22:25 +03:00
Ivan Blinkov
d4dd5ba294
Normalization for en markdown (#9763) 2020-03-20 13:10:48 +03:00
alesapin
c41c527bdf Add options for stateful images 2020-03-20 12:38:48 +03:00
koshachy
f30465352d
Fix broken link (#9772)
Fix link to the DataLens solution based on data from ClickHouse DB
2020-03-20 11:27:08 +03:00
hcz
ae2c60d224 Update tests and docs related to splitByString 2020-03-20 13:37:46 +08:00
hcz
3c5670c0e2 Fix empty string handling in splitByString 2020-03-20 13:37:25 +08:00
Alexander Kuzmenkov
d5822e7ebe
Merge pull request #6892 from ClickHouse/aku/poco-1.9.3
Update Poco to 1.9.3.
2020-03-20 06:03:48 +03:00
Alexey Milovidov
344ad7afd5 Extra initialization for MSan 2020-03-20 05:32:28 +03:00
Alexey Milovidov
a31514baa9 Fix ugly indentation 2020-03-20 05:32:28 +03:00
Nikolai Kochetov
0fa45c3838
Merge pull request #9757 from ClickHouse/fix-rows-before-limit
Fix rows before limit
2020-03-20 00:36:36 +03:00
alexey-milovidov
fd81507a9b
Merge pull request #9753 from amosbird/ce
correct highlighting for completion prefix
2020-03-19 21:57:52 +03:00
alexey-milovidov
791dddc184
Merge pull request #9754 from ClickHouse/fix_mutations_memory_consumption
Fix mutations huge memory consumption
2020-03-19 21:56:50 +03:00
Alexey Milovidov
e25c99f219 Merge branch 'master' of github.com:yandex/ClickHouse 2020-03-19 21:30:37 +03:00
Alexey Milovidov
8d9aba4fc3 Merge branch 'ParallelInputsProcessor-GlobalThreadPool-shutdown-fix' of https://github.com/azat/ClickHouse into azat-ParallelInputsProcessor-GlobalThreadPool-shutdown-fix 2020-03-19 21:29:17 +03:00
Ivan Blinkov
03aa7894d9
Draft of docs translation helper (#9755)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation
2020-03-19 20:49:27 +03:00
Alexey Milovidov
1a3e5cfcc5 Fixed a test that may taint other tests if timed out 2020-03-19 20:31:49 +03:00
Nikolai Kochetov
175c95675b Try fix tests. 2020-03-19 20:18:33 +03:00
alesapin
72ba032348
Merge pull request #9734 from ClickHouse/fix_quoting_in_dictionary_ddl
Fix backquoting in dictionary ddl
2020-03-19 20:10:26 +03:00
Pavel Kovalenko
f2dca656f9
MergeTree full support for S3 (#9646)
* IMergeDataPart full S3 support.

* MergeTreeData full S3 support.

* Compilation fixes.

* Mutations and merges S3 support.

* Fixed removing data part.

* MergeTree for S3 integration tests and fixes.

* Code style issues.

* Enable AWS logging.

* Fixed hardlink creation for DiskLocal.

* Fixed localBackup.cpp compilation.

* Fixed attaching partition.

* Get rid of extra methods in IDisk.

* Fixed storage config reloading.

* More tests with table manipulations.

* Remove unused error codes.

* Move localBackup to MergeTree folder.

* Minor fixes.
2020-03-19 19:37:55 +03:00
Alexander Kuzmenkov
9d9ae00956 Relax a test due to Poco regression.
Poco 1.9.3 has one second precision for mtime, because of this we can
miss an update of a dictionary file if it happens in the same second
we've read the file.

Should probably be fixed by switching to std::filesystem.

Also add some logs because finding out what's going on with dictionary
reloading is borderline impossible.
2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
e38f70de65 Doesn't look like I'll ever complete this. 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
2b0b7efa8c Use the appropriate Int64 variant.
Our Int64 is int64_t, and Poco's is long long, which are distinct for
the purposes of template specialization on MacOS.
2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
10019b4cc6 Check order values in clickhouse-test 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
486c061d34 Remove global scope from sigprocmask etc.
These functions may be macros on some platforms e.g. Mac OS
2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
8b754fdcde Straighten the ODBC integration test somewhat. 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
dac83d2f9a Reset signal mask before calling exec().
It might be non-empty and the child process might not expect this. For
example, in one case we started clickhouse-odbc-bridge with blocked
SIGTERM and then it didn't shutdown properly along with the server.
2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
fbfa74e5c4 test 2020-03-19 19:05:41 +03:00