Commit Graph

62274 Commits

Author SHA1 Message Date
Denny Crane
1dbbe2d075
add check that p.pruning works 2021-04-19 18:06:54 -03:00
Alexey Milovidov
4ad4dbbc09 Regenerate Arcadia 2021-04-19 23:26:23 +03:00
alexey-milovidov
c87f846816
Merge pull request #21938 from azat/connection-settings
Apply idle_connnection_timeout/poll_interval after each query
2021-04-19 22:58:21 +03:00
alexey-milovidov
5b66086bc9
Merge pull request #23219 from azat/optimize_skip_unused_shards_rewrite_in-fix
Add type conversion for optimize_skip_unused_shards_rewrite_in
2021-04-19 22:45:35 +03:00
alexey-milovidov
4cef8c68f7
Merge pull request #23258 from azat/wundef
Add -Wundef for gcc builds
2021-04-19 22:45:22 +03:00
alexey-milovidov
f69f11e6cd
Merge pull request #23259 from azat/jemalloc-background_thread
Report an error if jemalloc.background_thread was requested
2021-04-19 22:37:16 +03:00
Kseniia Sumarokova
2d3b4af67a
Merge pull request #23231 from sevirov/sevirov-DOCSUP-8215-add_aliases_to_functions
DOCSUP-8215: Add aliases to functions
2021-04-19 22:27:26 +03:00
alexey-milovidov
f1706223be
Merge pull request #23275 from ClickHouse/fix-tests-hedged-requests
Fix integration tests for Hedged requests
2021-04-19 21:10:23 +03:00
Alexander Kuzmenkov
5a050f0573
Merge pull request #23246 from olgarev/revolg-DOCSUP-8224-remove_temporary_tables_from_system_tables
DOCSUP-8224: Fix showing temporary tables in system tables
2021-04-19 20:55:28 +03:00
Alexander Kuzmenkov
e2077bc38d
Merge pull request #23247 from olgarev/revolg-DOCSUP-8655-Update_paths_to_the_catboost_model_configs
DOCSUP-8655: Update paths to the CatBoost model configs
2021-04-19 20:52:29 +03:00
Alexander Kuzmenkov
6f90fc449b
Merge pull request #23308 from ClickHouse/aku/fix-perf
fix broken perf test
2021-04-19 20:31:38 +03:00
Anton Popov
04c432f631
Merge pull request #23235 from sevirov/sevirov-DOCSUP-8222-forbid_to_drop_column
DOCSUP-8222: Forbid to drop a column if it's referenced by materialized view
2021-04-19 20:25:57 +03:00
olgarev
6abe37b13e
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-19 20:04:51 +03:00
olgarev
6f5144a2e7
Update docs/ru/guides/apply-catboost-model.md 2021-04-19 20:01:58 +03:00
sevirov
7af6229418
Update docs/ru/sql-reference/functions/json-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-19 19:35:20 +03:00
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
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
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
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
Alexander Tokmakov
51d2932fe8 print errors on db creation in clickhouse-test 2021-04-19 14:03:20 +03: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
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
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
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