Commit Graph

62490 Commits

Author SHA1 Message Date
sevirov
5fdb08fa90
Update docs/ru/sql-reference/functions/json-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-19 19:34:53 +03:00
sevirov
0cf58d1fb7
Update docs/ru/sql-reference/functions/json-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-19 19:34:33 +03:00
Nikolai Kochetov
93ae00bd0d Try use more mem for stack. 2021-04-19 19:25:53 +03:00
Nikolai Kochetov
c59628846c
Merge pull request #22352 from ClickHouse/add-read-from-mt-step
Special query plan step for read from MergeTree
2021-04-19 17:38:40 +03:00
Nikolai Kochetov
ff908baa06 Enable async_socket_for_remote 2021-04-19 17:31:46 +03:00
Nikolai Kochetov
0420b7bb33 Reset replica state in MultiplexedConnections in case of exception. 2021-04-19 17:25:43 +03:00
Nikolai Kochetov
0c23d44b99 Add test. 2021-04-19 17:12:08 +03:00
tavplubix
b61a24634f
Merge pull request #23304 from ClickHouse/test_print_errors_on_db_creation
Print errors on db creation in clickhouse-test
2021-04-19 17:10:23 +03:00
tavplubix
31ab3135fc
Merge pull request #22620 from adevyatova/annadevyatova-DOCSUP-5887
DOCSUP-5887: Update the SQL-statement CREATE TABLE
2021-04-19 17:09:24 +03:00
Alexander Kuzmenkov
d9d94752d1 fix broken perf test 2021-04-19 17:05:47 +03:00
Alexander Kuzmenkov
dd55fd8954
Merge pull request #23201 from ClickHouse/aku/negate-stable-formatting
more stable formatting for negate()
2021-04-19 16:48:43 +03:00
Alexander Kuzmenkov
2a4bcb6e3f
Merge pull request #23159 from ClickHouse/aku/merge-fusecount
merging sumCount fusion PR #21337
2021-04-19 16:47:13 +03:00
Nikita Mikhaylov
648b941922 done 2021-04-19 13:37:02 +00:00
alexey-milovidov
cf4449e82e
Merge pull request #23307 from SergTT/patch-1
Update cloud.md
2021-04-19 16:19:45 +03:00
Anna
f2d8b4bf63
Update table.md 2021-04-19 15:57:32 +03:00
Anna
781980159c
Update table.md 2021-04-19 15:55:28 +03:00
Serg Kulakov
25351d6490
Update cloud.md
Add SberCloud as a ClickHouse cloud provider.
2021-04-19 15:39:14 +03:00
Nikita Mikhaylov
adc103e338
Merge pull request #21852 from excitoon-favorites/s3stscredentials
Added insecure IMDS credentials provider for S3
2021-04-19 14:47:44 +03:00
Nikita Mikhaylov
6b928c4b6a
Merge pull request #23102 from godliness/read-orc-stripe
Read ORC file by stripe to reduce memory cost
2021-04-19 14:45:40 +03:00
Nikita Mikhaylov
1ead618895
Update 01818_input_format_with_names_use_header.sh 2021-04-19 14:44:23 +03:00
Alexander Tokmakov
51d2932fe8 print errors on db creation in clickhouse-test 2021-04-19 14:03:20 +03:00
Alexander Tokmakov
ecc625692e fix build 2021-04-19 13:40:20 +03:00
Raúl Marín
7f6bf6513f Link keeper-bench to clickhouse_common_zookeeper 2021-04-19 11:46:28 +02:00
Pavel Kruglov
8f1b507386 Fix test_secure_socket and remove redundant settings in hedged tests 2021-04-19 11:46:42 +03:00
Kseniia Sumarokova
e21f7695e9
Merge pull request #23139 from ka1bi4/romanzhukov-DOCSUP-7709-SeekTable-BYexpression
DOCSUP-7709: Edit and translate to Russian (SeekTable and DEDUPLICATE BY)
2021-04-19 11:39:57 +03:00
Alexander Tokmakov
9bc98771f7 fix race on replica creation 2021-04-19 11:21:42 +03:00
Vladimir Chebotarev
9d4295f261 Removed infinite retries. 2021-04-19 11:02:36 +03:00
alesapin
14800f0c52
Merge pull request #23038 from ClickHouse/keeper_bench_mark
Add tool for [Zoo]Keeper benchmark
2021-04-19 10:47:29 +03:00
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