Commit Graph

55116 Commits

Author SHA1 Message Date
alexey-milovidov
fe1c153c6f
Merge pull request #18817 from ucasFL/wf
replace PODArray with PODArrayWithStackMemory in AggregateFunctionWindowFunnelData
2021-01-10 00:11:57 +03:00
alexey-milovidov
d593b1faf2
Merge pull request #18876 from ClickHouse/external-queries-in-with-table
External queries: fix the case of expr IN table #9756
2021-01-10 00:10:56 +03:00
alexey-milovidov
7dd7ded605
Merge pull request #18880 from ClickHouse/fuzzer-fail-fast
Query Fuzzer: return fail fast semantics
2021-01-10 00:10:20 +03:00
Ivan Lezhankin
321f65a649 Merge remote-tracking branch 'upstream/master' into antlr-test 2021-01-09 19:38:09 +03:00
feng lv
94e1bc05d2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-09 16:07:52 +00:00
HuFuwang
8e63328221 refine naming. 2021-01-09 23:13:03 +08:00
Azat Khuzhin
471deab63a Rename fsync_tmp_directory to fsync_directories for Distributed engine 2021-01-09 17:51:30 +03:00
HuFuwang
dd52f88e54 fix the inconsistent result of windowFunnel in case of same timestamp for different events. 2021-01-09 22:37:49 +08:00
Azat Khuzhin
9cdb1d4ae6 Simple coverage of fsync_after_insert/fsync_tmp_directory with batching 2021-01-09 16:31:52 +03:00
Azat Khuzhin
ae0b15455f Add fsync_tmp_directory support into DirectoryMonitor 2021-01-09 16:31:52 +03:00
Azat Khuzhin
2e55bd2285 Accept IDisk in DirectoryMonitor (for further fsync) 2021-01-09 16:31:42 +03:00
Azat Khuzhin
dd669cb2b6 Add fsync support for Distributed/DirectoryMonitor
Note that there is no fsync_tmp_directory support in DirectoryMonitor
since you cannot propagate the error to user anyway.
2021-01-09 15:26:25 +03:00
Azat Khuzhin
fbe5df809b Sync other temporary directories for Distributed fsync_tmp_directories 2021-01-09 11:36:04 +03:00
Mikhail Filimonov
4cabfa356e Update documentation for Distributed fsync settings. 2021-01-09 11:31:32 +03:00
Azat Khuzhin
b5ace27014 Add fsync support for Distributed engine.
Two new settings (by analogy with MergeTree family) has been added:

- `fsync_after_insert` - Do fsync for every inserted. Will decreases
  performance of inserts.

- `fsync_tmp_directory` - Do fsync for temporary directory (that is used
  for async INSERT only) after all part operations (writes, renames,
  etc.).

Refs: #17380 (p1)
2021-01-09 11:31:32 +03:00
alexey-milovidov
b2577327f1
Merge pull request #18881 from ClickHouse/remove-useless-headers-2
Remove useless headers
2021-01-09 11:01:07 +03:00
alexey-milovidov
b60a37afc7
Merge pull request #18870 from azat/storage-features
Storage features improvements
2021-01-09 10:57:45 +03:00
alexey-milovidov
a7eccd2200
Merge pull request #18839 from fastio/expand_macros_for_fetchPartition
Expand macros for fetchPartition
2021-01-09 08:35:03 +03:00
Alexey Milovidov
8a57f8f42a Remove useless headers 2021-01-09 08:32:10 +03:00
Alexey Milovidov
32f10c38d9 Query Fuzzer: return fail fast semantics 2021-01-09 08:30:23 +03:00
alexey-milovidov
0e48d8fc86
Merge pull request #18873 from abyss7/backport-lts
Minor fix in backport script
2021-01-09 06:37:55 +03:00
Alexey Milovidov
8fb64472f2 External queries: fix the case of expr IN table #9756 2021-01-09 06:28:54 +03:00
feng lv
8ab2832324 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-09 02:36:25 +00:00
alexey-milovidov
9049599e36
Update optimize_window_funnel.xml 2021-01-09 05:15:40 +03:00
Azat Khuzhin
a24be01025 Drop Kafka storage from 01645_system_table_engines for fasttest 2021-01-09 00:59:03 +03:00
Ivan Lezhankin
5426eae79a Minor fix 2021-01-09 00:26:33 +03:00
alexey-milovidov
7d25c1f7f7
Merge pull request #18862 from sundy-li/update-rocksdb
Update contrib from ClickHouse-Extras/rocksdb
2021-01-08 22:54:52 +03:00
alexey-milovidov
9c6d945afc
Merge pull request #18852 from azat/bit-flip-check
Do not check bit flips for big buffers (since the size can be corrupted)
2021-01-08 22:41:33 +03:00
alexey-milovidov
6be8338584
Update CompressedReadBufferBase.cpp 2021-01-08 22:41:24 +03:00
alexey-milovidov
a55260fa5c
Merge pull request #18871 from azat/fix-integrity-check
Fix integrity check
2021-01-08 22:32:39 +03:00
alexey-milovidov
4a54916733
Merge pull request #18858 from ClickHouse/better-strsignal
Import strsignal from Musl
2021-01-08 22:26:00 +03:00
alexey-milovidov
6dcb887eed
Merge pull request #18857 from amosbird/fixmaxpartitionremotesetting
Correctly override default settings remotely
2021-01-08 22:25:43 +03:00
alexey-milovidov
f3fb2204d2
Merge pull request #18848 from ClickHouse/better-kill
Better SYSTEM KILL
2021-01-08 22:25:25 +03:00
feng lv
04c07d59bf add performance test 2021-01-08 15:43:49 +00:00
Azat Khuzhin
ed26ccf217 Do not run integrity check for cross compiled binaries
Follow-up for: #18811
Refs: #18785
2021-01-08 15:26:35 +03:00
Azat Khuzhin
6dba945a2e untrap setenv() call (used for timezone)
This will also fix integrity check (#18811), the reason it does not pops
up on CI during PR testing because CI does not set
YANDEX_OFFICIAL_BUILD, while it does set it for commits merged into
upstream commits, and hence once it was merged the special build was
failed.

Follow-up for: #16366
2021-01-08 15:26:35 +03:00
Azat Khuzhin
a8f13594ed Update documentation for system.table_engines 2021-01-08 14:57:24 +03:00
Azat Khuzhin
c312676368 Add a smoke test for system.table_engines 2021-01-08 14:57:24 +03:00
Azat Khuzhin
714d5a067a Expose supports_parallel_insert via system.table_engines 2021-01-08 14:57:24 +03:00
Azat Khuzhin
c7d0c2d075 Add some comments for StorageFeatures 2021-01-08 14:36:42 +03:00
Azat Khuzhin
64cb6405ac Drop IStorage::supportsSettings() (replaced with StorageFeatures::supports_settings) 2021-01-08 14:36:26 +03:00
zhang2014
cccafcfc3d try fix build failure 2021-01-08 18:29:51 +08:00
sundy-li
5dbda5d627 Update tests 2021-01-08 16:18:12 +08:00
sundy-li
0506d4bf47 Update contrib from ClickHouse-Extras/rocksdb 2021-01-08 15:41:15 +08:00
alexey-milovidov
6e34a0b71e
Merge pull request #17855 from spongedu/complete_sysemlog_table_doc
1. Refine documents for system log table; 2. fix a link error in config.xml
2021-01-08 09:49:01 +03:00
alexey-milovidov
4a2bf8b699
Update index.md 2021-01-08 09:06:35 +03:00
alexey-milovidov
d0352d1cd6
Update index.md 2021-01-08 08:17:02 +03:00
alexey-milovidov
b4c6052dd9
Update index.md 2021-01-08 08:16:06 +03:00
fastio
a1d0c04e68 fix build 2021-01-08 13:10:00 +08:00
Alexey Milovidov
10ea06edad Import strsignal from Musl 2021-01-08 08:09:30 +03:00