Commit Graph

62723 Commits

Author SHA1 Message Date
TCeason
b4bf53dfc9 add some comment and modify a parameter type 2021-04-19 15:34:27 +08:00
Kruglov Pavel
995973bf1f
Merge pull request #22609 from pingyu/datasketches-uniq
add uniqThetaSketch
2021-04-19 10:32:29 +03:00
Vladimir
e4e2b04c53
Merge pull request #23112 from Jokser/disk-s3-restore-to-detached 2021-04-19 10:29:00 +03:00
Nikolai Kochetov
4d86f51eff Merge branch 'master' into add-read-from-mt-step 2021-04-19 10:17:21 +03:00
Maksim Kita
2f56f8d040
Merge pull request #23278 from kitaisreal/to-date-time-decimal-overflow-ubsan-fix
Function toDateTime decimal overflow ubsan fix
2021-04-19 10:12:24 +03:00
TCeason
63403c709c modify settings name to external_xxx and rewrite Storage MySQL max_block_size 2021-04-19 10:51:50 +08:00
TCeason
87aa904440 Modify according to review opinion 2021-04-19 10:51:50 +08:00
TCeason
472c131420 Add MySQL read history data bytes judgment 2021-04-19 10:51:50 +08:00
Chao Ma
6238028225 Fix integration test test_storage_kafka failed error 2021-04-19 01:38:29 +00:00
Chao Ma
8d7a53efda Fix test 00163_column_oriented_formats failed error 2021-04-19 01:38:29 +00:00
Chao Ma
2776772ac6 Read ORC file by stripe to reduce memory cost 2021-04-19 01:38:29 +00:00
Maksim Kita
1bfd4f7568 Function toDateTime decimal overflow ubsan fix 2021-04-19 02:00:33 +03:00
alexey-milovidov
f307a5dd4a
Merge pull request #23276 from ClickHouse/revert-23211-mmap-accounting
Revert "[RFC] Fix memory tracking with min_bytes_to_use_mmap_io"
2021-04-19 01:31:05 +03:00
alexey-milovidov
1d5a4cfa32
Revert "[RFC] Fix memory tracking with min_bytes_to_use_mmap_io" 2021-04-19 01:30:53 +03:00
alexey-milovidov
04fa079855
Merge pull request #23266 from kitaisreal/zlib-ng-use-constructor-for-functable-initialization
Zlib use attribute constructor for functable initialization
2021-04-19 01:29:56 +03:00
Alexey Milovidov
3030db9043 Fix integration tests for Hedged requests 2021-04-19 01:28:03 +03:00
Maksim Kita
ca93987ae9
Merge pull request #23182 from kitaisreal/system-query-reload-model
Added system query reload model
2021-04-19 00:39:31 +03:00
Maksim Kita
1f67362843
Merge pull request #23262 from kitaisreal/simple-key-dictionary-primary-key-wrong-order-fix
Simple key dictionary primary key wrong order fix
2021-04-19 00:37:52 +03:00
Azat Khuzhin
d476a4a9bd Add type conversion for optimize_skip_unused_shards_rewrite_in
MSan reports [1]:

    2021.04.17 15:20:06.665152 [ 56 ] {2336bf92-0269-4acd-8b3f-f09623223d18} <Debug> executeQuery: (from [::1]:44744, using production parser) SELECT * FROM dist_01757 WHERE dummy IN ('255', 0) FORMAT Null
    ...
    0 0x305af885 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:50:28
    ...
    Uninitialized value was created by an allocation of 'sharding_value' in the stack frame of function '_ZN12_GLOBAL__N_113shardContainsERKN2DB5FieldERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERKNS4_10shared_ptrINS0_17ExpressionActionsEEESC_RKNS0_7Cluster9ShardInfoERKNS4_6vectorImNS8_ImEEEE'
    0 0x305ae260 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:42

  [1]: https://clickhouse-test-reports.s3.yandex.net/23212/d02eb3f6b7a8dc07bbed5605e1afcf7634436b3a/fuzzer_msan/report.html#fail1

P.S. fuzzers are great!
2021-04-19 00:03:38 +03:00
Azat Khuzhin
2fd78b7eac Add -Wundef for gcc 2021-04-18 23:40:08 +03:00
Azat Khuzhin
2561a67fd8 Replace !__clang__ with !defined(__clang) to fix gcc builds
$ gg 'if !__clang__' | cut -d: -f1 | sort -u | xargs sed -i 's/#if !__clang__/#if !defined(__clang__)/g'
2021-04-18 23:37:50 +03:00
Azat Khuzhin
bc5d953ef6 Report an error if jemalloc.background_thread was requested 2021-04-18 23:36:42 +03:00
alesapin
912db13d75 Merge branch 'master' into keeper_bench_mark 2021-04-18 21:46:20 +03:00
Dmitriy
49c458d6f6 Document the -SimpleState combinator
Задокументировал комбинатор -SimpleState.
2021-04-18 21:40:34 +03:00
Dmitriy
d844b7bb2f Update json-functions.md
Внес небольшие поправки в формулировки.
2021-04-18 18:23:01 +03:00
Maksim Kita
aac96de051 Zlib use attribute constructor for functable initialization 2021-04-18 17:29:27 +03:00
alexey-milovidov
6d3df1e02f
Merge pull request #23263 from alexe13/patch-1
Translate to Russian (clickhouse-client documentation)
2021-04-18 16:31:02 +03:00
Alex
62ee3915fe
Translate to Russian (clickhouse-client documentation)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

Documentation
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Added to RU documentation:

--queries-file command-line option
--history_file command-line option
2021-04-18 15:37:46 +03:00
Maksim Kita
b26dfcd514 Simple key dictionary primary key wrong order fix 2021-04-18 15:19:44 +03:00
alexey-milovidov
366ef28d66
Merge pull request #23261 from ClickHouse/disable-hedged-requests-2
Disable hedged requests
2021-04-18 15:16:49 +03:00
Alexey Milovidov
21ff5d85d9 Disable hedged requests 2021-04-18 15:13:57 +03:00
Maksim Kita
aa42150ebd Added integration test 2021-04-18 13:38:36 +03:00
Dmitriy
154da6c1db Translate to Russian
Перевел на русский язык.
2021-04-18 13:21:54 +03:00
alesapin
2035fb3edc Merge branch 'master' into keeper_bench_mark 2021-04-18 12:29:16 +03:00
Azat Khuzhin
3f156b83c9 Add some comments in OptimizeShardingKeyRewriteInVisitor 2021-04-18 09:07:51 +03:00
benbiti
e1ff6b5629 add a libuv.cmake 2021-04-18 09:51:08 +08:00
benbiti
0b0093fa4d updated: process libuv as cassandra 2021-04-18 09:50:56 +08:00
benbiti
a5b332b536 fix build with AMQP 2021-04-18 09:50:50 +08:00
alexey-milovidov
8b3c37e648
Merge pull request #23248 from ClickHouse/revert-21589-dmalkr/arrayFold
Revert "Function `arrayFold` for folding over array with accumulator"
2021-04-18 03:34:20 +03:00
alexey-milovidov
83038f84af
Revert "Function arrayFold for folding over array with accumulator" 2021-04-18 03:34:05 +03:00
alexey-milovidov
d492beea9f
Merge pull request #23154 from vitlibar/fix-waiting-for-all-connection-closed-on-shutdown
Fix waiting for all connections closed on shutdown.
2021-04-18 03:19:07 +03:00
alexey-milovidov
723c8c10be
Merge pull request #23217 from kssenii/default-q
Use double quote identifier in odbc as default in case of error
2021-04-18 03:18:49 +03:00
alexey-milovidov
96fced4c3c
Merge pull request #23211 from azat/mmap-accounting
[RFC] Fix memory tracking with min_bytes_to_use_mmap_io
2021-04-18 03:17:30 +03:00
alexey-milovidov
834a41e6a0
Merge pull request #23218 from azat/perf-extra-port
Disable postgresql_port in perf tests
2021-04-18 03:14:30 +03:00
alexey-milovidov
7f3a40e1b0
Merge pull request #22237 from ClickHouse/protocol-compression-auto
Autodetect compression #22234
2021-04-18 03:13:54 +03:00
Olga Revyakina
f4f5e5c09e Start 2021-04-18 02:28:47 +03:00
Olga Revyakina
310632d602 One more link added 2021-04-18 02:05:32 +03:00
Olga Revyakina
8e573c41e6 Start 2021-04-18 01:47:43 +03:00
Dmitriy
24319b3cdd Add aliases to russian text
Выполнил перевод на русский язык.
2021-04-18 01:12:33 +03:00
Dmitriy
d12db2374f Fix note
Поправил примечание.
2021-04-18 00:42:36 +03:00