Commit Graph

62506 Commits

Author SHA1 Message Date
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
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
alexey-milovidov
75c4728787
Merge pull request #23229 from ClickHouse/unhex-case-insensitive1
Make function `unhex` case insensitive for compatibility
2021-04-17 23:32:03 +03:00
Dmitriy
e7a044c4c2 Fix link
Исправил ссылку.
2021-04-17 22:52:27 +03:00
Alexander Tokmakov
0354312294 minor fixes in attach query 2021-04-17 22:43:02 +03:00
Vitaly Baranov
ac290b728c
Merge pull request #23238 from vitlibar/docs-grant-hierarchies
Fix documentation for the GRANT command.
2021-04-17 22:34:18 +03:00
Vitaly Baranov
fe0b76b105 Fix documentation for the GRANT command. 2021-04-17 22:33:46 +03:00
alexey-milovidov
571911a0f2
Merge pull request #23215 from kssenii/fix-odbc
Fix reading from odbc with many long column names
2021-04-17 21:29:09 +03:00
alexey-milovidov
212f68e279
Merge branch 'master' into fix-odbc 2021-04-17 21:29:03 +03:00
Kseniia Sumarokova
b0f6f214a2
Merge pull request #23216 from kssenii/test-odbc
Add test for fixed issue #9363
2021-04-17 21:27:50 +03:00
Dmitriy
200925c318 Update column.md
Поправил формулировку.
2021-04-17 21:18:18 +03:00