Commit Graph

71283 Commits

Author SHA1 Message Date
qianmoQ
13a96e7819 Add dbm to gui 2021-08-31 09:59:07 +08:00
qianmoQ
dba7739f48 Fix document inline errors 2021-08-31 09:53:39 +08:00
qianmoQ
af84be6009
Merge branch 'ClickHouse:master' into translation-docs-zh 2021-08-27 19:33:10 +08:00
qianmoQ
3153836b6a Fix file problems with bad links 2021-08-27 19:32:21 +08:00
tavplubix
703101fe4d
Merge pull request #27931 from ClickHouse/wait_for_all_replicas_timeouts
Avoid too long waiting for inactive replicas
2021-08-27 14:31:36 +03:00
Aimiyoo
7264efc053
Update tutorial.md (#28235) 2021-08-27 12:54:15 +03:00
alesapin
44390a88ec
Merge pull request #28152 from ClickHouse/fix_rotate_log_interval_change 2021-08-27 12:29:15 +03:00
Nikolai Kochetov
34f4bd3e72
Merge pull request #28178 from amosbird/projection-fix14
Projection bug fixes and refactoring.
2021-08-27 11:47:46 +03:00
Nikolai Kochetov
614e30e601
Merge pull request #28205 from ClickHouse/fix-lc-and-inifinite-fields
Fix insertion of fields with Infinity values in nullable low cardinality columns
2021-08-27 11:28:13 +03:00
Maksim Kita
cdfdb2cd75
Merge pull request #28213 from azat/custom-tld-eof-fix
Fix reading of custom TLD w/o new line at EOF
2021-08-27 10:57:16 +03:00
alesapin
b1d4967b88
Merge pull request #28190 from ClickHouse/fix_list_watches_semantics
More correct list watches semantics in ClickHouse Keeper
2021-08-27 10:13:25 +03:00
Maksim Kita
4a8b82232c
Merge pull request #28211 from azat/udf-lock
Guard UDF container with a lock
2021-08-27 01:33:21 +03:00
Azat Khuzhin
91621cfcd2 Fix reading of custom TLD w/o new line at EOF
Fixes: #28177
2021-08-27 00:43:21 +03:00
Azat Khuzhin
f342acc2ad Guard UDF container with a lock
Fixes TSAN report [1]:

    WARNING: ThreadSanitizer: data race (pid=436)
      Write of size 8 at 0x7b040076e450 by thread T240:
        ...
        3 DB::UserDefinedFunctionFactory::registerFunction() obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionFactory.cpp:30:56 (clickhouse+0x1500727f)
        4 DB::InterpreterCreateFunctionQuery::execute() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterCreateFunctionQuery.cpp:37:44 (clickhouse+0x14b1224a)
        5 DB::executeQueryImpl() obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:573:32 (clickhouse+0x15039241)
        6 DB::executeQuery() obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:934:30 (clickhouse+0x150376fa)
        7 DB::TCPHandler::runImpl() obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:291:24 (clickhouse+0x15a7af2a)

      Previous read of size 8 at 0x7b040076e450 by thread T1370:
        ...
        2 DB::UserDefinedFunctionFactory::tryGet() const obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionFactory.cpp:65:45 (clickhouse+0x150078a4)
        3 DB::UserDefinedFunctionsMatcher::tryToReplaceFunction() obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionsVisitor.cpp:39:73 (clickhouse+0x15007cd0)
        4 DB::UserDefinedFunctionsMatcher::visit() obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionsVisitor.cpp:27:19 (clickhouse+0x15007ba8)
        5 DB::InDepthNodeVisitor<>::visit() obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:34:13 (clickhouse+0x14fbcba4)
        ..
        24 DB::executeQueryImpl() obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:543:28 (clickhouse+0x15038f3b)

  [1]: https://clickhouse-test-reports.s3.yandex.net/0/df1fe27791f82c2a917390faa30716effbd32b8f/stress_test_(thread).html#fail1
2021-08-27 00:39:11 +03:00
Nikolai Kochetov
9c028be1e4 Fix insertion of fields with Infinity values in nullable low cardinality columns. 2021-08-26 21:19:12 +03:00
Nikita Mikhaylov
e42b029155
Merge pull request #28191 from eltociear/patch-2
Fix typo in parametric-functions.md
2021-08-26 17:52:31 +03:00
Nikita Mikhaylov
fc37817ada
Merge pull request #28150 from FArthur-cmd/fix_compression_26149
Fix `Attempt to read after eof with enabled data compression`
2021-08-26 17:17:09 +03:00
Kruglov Pavel
5bc332c40c
Merge pull request #28054 from kssenii/mysql
Add test for #13398
2021-08-26 16:39:43 +03:00
Kruglov Pavel
12b1e9ae6e
Merge pull request #27881 from azat/remote-query-cancel-fix
Fix remote query cancelation (in case of remote server abnormaly terminated)
2021-08-26 16:31:54 +03:00
Kruglov Pavel
3644f2a754
Merge pull request #28096 from CurtizJ/map-keys-conversion
Support implicit conversions between index in operator [] and key of Map
2021-08-26 16:31:12 +03:00
Kseniia Sumarokova
31afd7d09c
Merge pull request #28081 from kssenii/pg-conflict
Support `on conflict` for postgres engine
2021-08-26 16:30:30 +03:00
alexey-milovidov
25147d0c2d
Merge pull request #28186 from sdk2/patch-1
Update src/Functions/GatherUtils/Sources.h
2021-08-26 16:21:56 +03:00
Nikita Mikhaylov
349fa6c09f
Merge pull request #28157 from nikitamikhaylov/fix-arcadia-11
Updated ya.make files
2021-08-26 16:17:50 +03:00
Filatenkov Artur
eeeef3cc18
Update ZlibInflatingReadBuffer.cpp 2021-08-26 15:43:01 +03:00
Ikko Ashimine
abeb1d03f1
Fix typo in parametric-functions.md
occured -> occurred
2021-08-26 21:42:18 +09:00
Filatenkov Artur
a1240fd575
Update ZlibInflatingReadBuffer.cpp 2021-08-26 15:42:10 +03:00
alesapin
ebfac8cfbb More correct list watches semantics in ClickHouse Keeper 2021-08-26 14:50:08 +03:00
Alexey Boykov
d455cc0069
Merge pull request #27950 from sevirov/sevirov-DOCSUP-12065-document_queryid_and_initialqueryid_functions
DOCSUP-12065: Document queryID and initialQueryID functions
2021-08-26 14:35:08 +03:00
Amos Bird
0169fce78e
Projection bug fixes and refactoring. 2021-08-26 19:09:31 +08:00
sdk2
d9308749de
Update src/Functions/GatherUtils/Sources.h 2021-08-26 18:52:17 +08:00
alesapin
bcaff65457
Merge pull request #28028 from ClickHouse/replicated-tree-attach-wip
Allow attaching parts with 'compatible' enum types
2021-08-26 13:50:29 +03:00
alesapin
64bc3285e9 Fix merge with master 2021-08-26 13:14:06 +03:00
lehasm
b8296416f7
DOCSUP-13276: document print_query_id (#28106)
* EN description

* Example description updated

* Update docs/en/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Translated to ru

* Minor fixes

* Some Ru grammar and formatting fixed.

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-26 13:09:02 +03:00
Artur
f793e8af94 Merge branch 'fix_compression_26149' of https://github.com/FArthur-cmd/ClickHouse into fix_compression_26149 2021-08-26 09:44:49 +00:00
Artur
933b2e07c2 add database name in go test 2021-08-26 09:44:10 +00:00
tavplubix
774af49393
Merge pull request #27529 from ClickHouse/break_some_tests
Break some tests
2021-08-26 12:40:42 +03:00
Filatenkov Artur
1d97ae3f6a
Update ZlibInflatingReadBuffer.cpp 2021-08-26 12:15:10 +03:00
Ivan Blinkov
b13808f13a
Remove past event 2021-08-26 12:08:36 +03:00
Filatenkov Artur
a7d982198c
Update src/IO/ZlibInflatingReadBuffer.cpp
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2021-08-26 11:33:24 +03:00
Filatenkov Artur
f8eb02cb64
Update src/IO/ZlibInflatingReadBuffer.cpp
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2021-08-26 11:33:10 +03:00
Nikolai Kochetov
11d79ec24f
Merge pull request #27725 from olgarev/revolg-DOCSUP-12894-projections_translated
DOCSUP-12894: Projections settings
2021-08-26 11:26:58 +03:00
Ilya Yatsishin
0a9feade3d
Merge pull request #28079 from vdimir/fuzz-j2
Use jinja template tests in fuzzer
2021-08-26 10:53:45 +03:00
Ilya Yatsishin
5553a064be
Merge pull request #28139 from lthaooo/fix_prewhere_total_size_of_queried_columns_bug
Fix bug in MergeTreeWhereOptimizer
2021-08-26 10:42:23 +03:00
alesapin
137a3681a0 Merge branch 'master' into fix_rotate_log_interval_change 2021-08-26 10:27:56 +03:00
alesapin
47b995467e
Merge pull request #28080 from ClickHouse/some_renames_in_keeper
Clickhouse-keeper: renames and comments
2021-08-26 10:16:21 +03:00
alesapin
e182e2bad2
Merge pull request #28143 from ClickHouse/fix_keeper_jepsen
Fix clickhouse keeper jepsen tests
2021-08-26 10:16:06 +03:00
Kseniia Sumarokova
aea22ec6a1
Delete getInsertQuery.cpp 2021-08-26 08:44:50 +03:00
Nikita Mikhaylov
b505a9bf8e
Update 02013_zlib_read_after_eof.sh 2021-08-26 02:19:34 +03:00
kssenii
0b66581de2 Fix build 2021-08-25 21:51:43 +00:00
Nikita Mikhaylov
4a12a5fe91 Better 2021-08-25 21:29:28 +00:00