Commit Graph

53814 Commits

Author SHA1 Message Date
Amos Bird
6fc225e676
Distributed insertion to one random shard (#18294)
* Distributed insertion to one random shard

* add some tests

* add some documentation

* Respect shards' weights

* fine locking

Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2020-12-23 19:04:05 +03:00
Ivan
51481c9c5f
Add ANTLR test config to another json 2020-12-23 18:25:05 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
Alexey Milovidov
e169b39fa7 Fix website 2020-12-23 17:19:51 +03:00
Alexey Milovidov
34b6b8407a Fix website 2020-12-23 15:56:05 +03:00
alexey-milovidov
0f98fe3c0c
Merge pull request #18365 from CurtizJ/fix-group-by-distinct
Fix race in aggregation with combinator distinct
2020-12-23 15:41:20 +03:00
alexey-milovidov
568119535a
Merge pull request #18378 from azat/ccache-fix
Do not override RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK in rocksdb
2020-12-23 15:35:25 +03:00
alexey-milovidov
2c7979dd64
Merge pull request #18379 from vitlibar/fix-filling-table-system-settings-profile-elements
Fix filling table system.settings_profile_elements.
2020-12-23 15:34:00 +03:00
Alexey Milovidov
ddfe9f61e0 Fix website 2020-12-23 13:57:17 +03:00
Nikolai Kochetov
3fd0b69fab
Merge pull request #7649 from ucasFL/master
Add simhash, minhash, and hammingdistance function
2020-12-23 12:22:38 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
Async read from socket
2020-12-23 12:20:42 +03:00
Alexander Kuzmenkov
5b0b3b4551
Merge pull request #18222 from ClickHouse/aku/window-prototype
[wip] a prototype for window functions
2020-12-23 11:24:20 +03:00
Alexander Kuzmenkov
22a0edc596
Update IStorage.cpp 2020-12-23 09:44:44 +03:00
Alexander Kuzmenkov
51b2329295
Merge branch 'master' into aku/window-prototype 2020-12-23 09:26:11 +03:00
Alexey Milovidov
4d34ea2309 Attempt to debug docs 2020-12-23 06:33:09 +03:00
alexey-milovidov
29ad7b6d94
Merge pull request #13516 from ClickHouse/watchdog
If server was terminated by OOM killer, print message in log.
2020-12-23 05:35:44 +03:00
alexey-milovidov
8e48a25607
Merge pull request #18299 from ClickHouse/enable_thread_fuzzer_for_flaky_check
Trying to enable thread fuzzer in flaky check
2020-12-23 05:32:19 +03:00
alexey-milovidov
75289d8713
Merge pull request #18335 from azat/fix-memory-tracking-drift-message
Fix log message for memory tracking drift
2020-12-23 05:31:31 +03:00
alexey-milovidov
99ac275d69
Merge pull request #18375 from azat/drop-libnsl-dependency
Drop libnsl dependency (because of gRPC -> c-ares)
2020-12-23 05:29:09 +03:00
Nikita Mikhaylov
e1fc9122cc
Update ParallelParsingBlockInputStream.cpp 2020-12-23 05:28:53 +03:00
Nikita Mikhaylov
54d2fe847f
Update src/DataStreams/ParallelParsingBlockInputStream.cpp
Co-authored-by: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com>
2020-12-23 05:02:54 +03:00
Nikita Mikhaylov
dae1e9ba31
Merge pull request #17857 from fastio/feature_hints_for_column_names
hints for column names
2020-12-23 04:55:41 +03:00
Nikita Mikhaylov
9d8948657c
Update TreeRewriter.cpp 2020-12-23 04:54:49 +03:00
alexey-milovidov
c72a480d89
Merge pull request #17630 from amosbird/stacktracefix
Fix system.stack_trace when running in daemon mode
2020-12-23 04:40:50 +03:00
alexey-milovidov
aedb1874af
Fix clang-tidy 2020-12-23 04:40:23 +03:00
alexey-milovidov
c4bfce8dfd
Merge pull request #18374 from dkxiaohei/patch-2
Update datetime64.md
2020-12-23 04:39:31 +03:00
Alexander Kuzmenkov
1b82159ec9
Merge pull request #18348 from ClickHouse/aku/deb-ninja-flags
try to pass ninja flags in deb package
2020-12-23 04:30:52 +03:00
Nikita Mikhaylov
92b2f5ae98
Update 00900_parquet_load.reference 2020-12-23 03:44:23 +03:00
Anton Popov
5101804e30
Merge pull request #18366 from CurtizJ/remove-unused-code
Remove unused code
2020-12-23 02:45:33 +03:00
Nikita Mikhaylov
015bd56516
Merge pull request #18201 from nikitamikhaylov/clickhouse-install
Try to make clickhouse-install work on mac
2020-12-23 01:37:15 +03:00
Nikita Mikhailov
84d0084c1a style 2020-12-23 01:33:07 +03:00
Nikita Mikhailov
138b74aa3b better 2020-12-23 01:04:02 +03:00
nikitamikhaylov
6f30fae34e final fix 2020-12-23 01:02:45 +03:00
nikitamikhaylov
a9bd177b2e fix 2020-12-23 01:02:45 +03:00
nikitamikhaylov
35dbd2bd77 style 2020-12-23 01:02:45 +03:00
nikitamikhaylov
0dafcc38a5 better 2020-12-23 01:02:45 +03:00
nikitamikhaylov
4bb52c062a fix tests 2020-12-23 01:02:45 +03:00
nikitamikhaylov
8d4465ddeb better 2020-12-23 01:02:01 +03:00
nikitamikhaylov
a285cb83df style 2020-12-23 01:02:01 +03:00
nikitamikhaylov
c60c161168 add ParsingException 2020-12-23 01:02:01 +03:00
nikitamikhaylov
27f647f93d done 2020-12-23 01:01:05 +03:00
Vitaly Baranov
9e31800ebb Fix filling table system.settings_profile_elements. 2020-12-22 23:24:59 +03:00
Azat Khuzhin
e49021630e Do not override RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK in rocksdb
- it is already done in in find/ccache.cmake
- it does not respect disabling ccache
- it does not allow to override ccache using custom location (not in
  PATH)
2020-12-22 22:22:33 +03:00
Azat Khuzhin
5fc2c2169a Drop libnsl dependency (because of gRPC -> c-ares)
c-ares searching for gethostbyname in the libnsl library, however in the
version that shipped with gRPC it doing it wrong [1], since it uses
CHECK_LIBRARY_EXISTS(), which will return TRUE even if the function exists in
another dependent library. The upstream already contains correct macro [2],
but it is not included in gRPC (even upstream gRPC, not the one that is
shipped with clickhousee).

  [1]: e982924ace/CMakeLists.txt (L125)
  [2]: 44fbc81368/CMakeLists.txt (L146)

And because if you by some reason have libnsl [3] installed, clickhouse will
reject to start w/o it. While this is completelly different library.

  [3]: https://packages.debian.org/bullseye/libnsl2
2020-12-22 22:07:07 +03:00
Alexander Kuzmenkov
f2b25c708c review fixes 2020-12-22 22:01:15 +03:00
Anton Popov
eecd51bb75 fix for uninitialized thread pool 2020-12-22 21:29:47 +03:00
dkxiaohei
a8f3cebb42
Update datetime64.md
Refine the Chinese translation.
2020-12-23 02:05:03 +08:00
Alexander Kuzmenkov
3f33e6b3e0 some review fixes 2020-12-22 20:46:31 +03:00
Alexey Milovidov
062c226498 Fix Darwin build 2020-12-22 20:13:18 +03:00
Alexey Milovidov
674d0083d9 Remove unused code; fix clang tidy; fix old comments 2020-12-22 20:10:10 +03:00