Alexander Tokmakov
ff79be8af9
fix
2021-03-16 23:01:20 +03:00
Azat Khuzhin
9dee842b60
Distinguish remote and local error info
2021-03-16 22:31:49 +03:00
Azat Khuzhin
cc87bcfb63
Fix errorCodeToName() for signed integers
...
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_(address).html#fail1
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_(ubsan).html#fail1
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/stress_test_(address).html#fail1
2021-03-16 22:31:49 +03:00
Azat Khuzhin
efdd04c958
Drop last_ prefix for ErrorCodes::ValuePair::error_time_ms
2021-03-16 22:31:49 +03:00
Azat Khuzhin
44c9dc753d
Add system.errors.last_error_stacktrace column
2021-03-16 22:31:49 +03:00
Azat Khuzhin
775f8f7682
Add system.errors.last_error_message column
2021-03-16 22:31:49 +03:00
Azat Khuzhin
c8852331a2
Add system.errors.last_error_time column
2021-03-16 22:31:49 +03:00
Azat Khuzhin
0d01eaf94f
Guard ErrorCodes with mutex over atomic
2021-03-16 22:31:49 +03:00
Azat Khuzhin
7f73ac2b7a
Fix ErrorCodes::Value/ErrorCode types (sigh)
...
Note, that system.errors already uses correct types
2021-03-16 22:31:49 +03:00
Azat Khuzhin
259e5ba88e
Separate accounting of remote exceptions in system.errors
2021-03-16 22:31:46 +03:00
Azat Khuzhin
b39f8cc6ac
Move ErrorCodes::increment() into module part
2021-03-16 22:31:41 +03:00
Alexey Milovidov
ea049b2cc0
Merge branch 'master' into DateTime64_extended_range
2021-03-16 14:08:02 +03:00
changvvb
bba600d558
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-03-16 13:26:00 +08:00
Maksim Kita
3d1c42827b
Added FixedDeadlineHashMap
2021-03-16 01:59:04 +03:00
Alexander Kuzmenkov
e485a27dc1
some fixes
2021-03-15 22:45:45 +03:00
Anton Popov
840417c957
Merge pull request #21685 from Avogar/reload-cluster-config
...
Update clusters only if their configs were updated
2021-03-15 20:09:58 +03:00
Alexey Milovidov
eaeb4a3bf0
Merge branch 'master' into DateTime64_extended_range
2021-03-15 16:59:32 +03:00
kssenii
19de1ec457
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-03-15 06:54:02 +00:00
alexey-milovidov
afa24938bc
Merge pull request #21686 from kitaisreal/library-dictionary-source-fix-possible-leak
...
LibraryDictionarySource fix possible leak
2021-03-15 00:06:15 +03:00
kssenii
8688ae9346
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-03-14 19:32:21 +00:00
Maksim Kita
dfd2068350
Updated SharedLibrary string_view interface
2021-03-14 17:19:48 +03:00
Maksim Kita
ce20eae2a3
Added specialized CacheDictionaryStorage
2021-03-14 14:33:21 +03:00
Maksim Kita
1ac62970c4
Modified SharedLibrary interface
2021-03-14 14:29:02 +03:00
alexey-milovidov
53e21443eb
Merge branch 'master' into DateTime64_extended_range
2021-03-14 12:27:17 +03:00
kssenii
8eea6a87e9
Support replicas priority for postgres dictionary source
2021-03-14 08:51:24 +00:00
alesapin
06eb2d8dfd
Merge branch 'master' into s3_zero_copy_replication
2021-03-13 22:32:54 +03:00
alexey-milovidov
c9265b64f5
Merge pull request #21678 from ClickHouse/podarray-cleanup
...
PODArray swap fix
2021-03-13 22:28:48 +03:00
Maksim Kita
468ab258bf
Remove protect
2021-03-13 14:55:56 +03:00
Pavel Kruglov
58e415c7d4
Update clusters only if their configs were updated
2021-03-13 00:17:19 +03:00
kssenii
323fb54a8e
Fix split build finally
2021-03-12 21:12:34 +00:00
Maksim Kita
12e411f8b9
PODArray swap fix
2021-03-12 21:38:52 +03:00
kssenii
db57520369
Update ya.make
2021-03-12 14:39:24 +00:00
Alexander Kuzmenkov
122790efd1
Merge pull request #21629 from ucasFL/errorcode
...
redefine some errorcode
2021-03-12 16:25:13 +03:00
feng lv
1eba096f2a
fix conflict
2021-03-12 10:28:04 +00:00
Anton Ivashkin
ace628d565
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-12 12:58:32 +03:00
alexey-milovidov
9e0d53c0e6
Merge pull request #20058 from excitoon-favorites/remotehostfilterdisallowall
...
Fixed open behavior of remote host filter in case when there is `remote_url_allow_hosts` section in configuration but no entries there
2021-03-12 11:14:15 +03:00
alesapin
b98e27ba82
Merge branch 'master' into s3_zero_copy_replication
2021-03-12 11:07:20 +03:00
kssenii
70f8f90511
Fix split build
2021-03-12 08:04:20 +00:00
kssenii
9e0101e5fc
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-03-12 07:47:22 +00:00
Denis Glazachev
290a6d273e
Add Kerberos support for authenticating existing users when accessing over HTTP
2021-03-11 23:41:10 +03:00
changvvb
fcb238715b
Support apple m1
2021-03-12 01:12:52 +08:00
Nikolai Kochetov
cc60059b50
Merge pull request #21196 from ClickHouse/improve-performance-group-by-multiple-fixed-keys-2
...
Save packed keys for GROUP BY with multiple fixed size keys
2021-03-11 18:28:14 +03:00
Alexander Kuzmenkov
3e5447ccec
Merge pull request #21480 from Avogar/slowdown_count
...
Add slowdown_count and show actual errors_count in system.clusters
2021-03-11 17:18:05 +03:00
feng lv
083299e549
redefine some errorcode
2021-03-11 13:54:11 +00:00
alexey-milovidov
647246006a
Merge pull request #21533 from ClickHouse/podarray-cleanup
...
Cleanup PODArray
2021-03-11 04:34:25 +03:00
kssenii
4d29241d5a
Try fix build
2021-03-10 21:14:09 +00:00
kssenii
e77ff68582
Better
2021-03-10 18:26:15 +00:00
kssenii
38f7f37468
Add loadKeys method
2021-03-10 13:23:07 +00:00
Anton Ivashkin
cef0dda933
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-10 14:10:29 +03:00
Nikolai Kochetov
4c8c45b163
Refactor
2021-03-10 14:00:24 +03:00
kssenii
f6610ceaad
Try fix build
2021-03-10 08:09:05 +00:00
alexey-milovidov
f4db00bdb2
Merge pull request #21546 from kitaisreal/shell-command-wait-pid-signal-eintr-fix
...
ShellCommand waitpid eintr signal fix
2021-03-10 09:12:53 +03:00
tavplubix
5a6cc876e4
Merge pull request #20626 from ClickHouse/fix_force_drop_materialized_view
...
Make force_drop_table work with MaterializedView
2021-03-09 20:05:51 +03:00
Maksim Kita
43ba554191
Merge pull request #20595 from kitaisreal/cache-dictionaries-lru-cache
...
Cache dictionaries lru cache
2021-03-09 19:14:30 +03:00
alesapin
bcd073278d
Merge pull request #21425 from ClickHouse/persistent_nukeeper_snapshot_storage
...
Persistent nukeeper snapshot storage
2021-03-09 18:37:23 +03:00
Maksim Kita
289712f19d
Merge pull request #21532 from kitaisreal/pod-array-left-pad-not-multiple-of-element-crash-fix
...
Pod array left pad not multiple of element crash fix
2021-03-09 14:14:52 +03:00
Maksim Kita
8dd52f087e
Fixed PODArray
2021-03-09 14:14:31 +03:00
Maksim Kita
882dde56ea
ShellCommand waitpid eintr signal fix
2021-03-09 13:13:19 +03:00
alesapin
c00c8c36b7
Merge branch 'master' into ianton-ru-s3_zero_copy_replication
2021-03-09 10:59:11 +03:00
Kruglov Pavel
c464e3c57b
Merge pull request #21311 from ucasFL/fix-format
...
improve clickhouse-format
2021-03-09 02:16:05 +03:00
Alexey Milovidov
1b3043a583
Fix error (found by @kitaisreal)
2021-03-09 02:15:33 +03:00
Alexey Milovidov
d3aeb30cc0
Remove unused method
2021-03-09 02:10:26 +03:00
Alexey Milovidov
9e23d16739
Cleanup PODArray
2021-03-09 02:03:46 +03:00
Maksim Kita
9ed791fd30
Updated style check
2021-03-09 01:33:16 +03:00
Maksim Kita
642c45d769
PODArray left pad not multiple of element crash fix
2021-03-09 01:32:31 +03:00
kssenii
5ee2925123
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-03-08 19:53:48 +00:00
alesapin
f555e65cc8
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-08 22:30:17 +03:00
Alexey Milovidov
355411dfa8
Merge branch 'master' into DateTime64_extended_range
2021-03-08 02:55:14 +03:00
kssenii
8a9fa561c7
Fix style check, build, ya check
2021-03-07 20:07:42 +00:00
kssenii
b7b15fe920
Remove unused
2021-03-07 15:23:20 +00:00
kssenii
9e9bf2bb75
Common base for bridges part 3
2021-03-07 13:55:40 +00:00
Maksim Kita
92107a6ded
Fixed documentation message
2021-03-07 14:43:08 +03:00
kssenii
1c4d4c8e54
Better handlers
2021-03-07 11:31:55 +00:00
kssenii
61d8e27ea7
Common base for bridges part 2
2021-03-07 11:21:49 +00:00
alesapin
0ee7425b16
Remove redundant methods
2021-03-07 10:30:50 +03:00
Alexey Milovidov
1bb62f578b
Unit tests passing
2021-03-07 04:10:38 +03:00
Alexey Milovidov
8271cec093
Fix error
2021-03-07 02:36:24 +03:00
kssenii
25fc6a29e5
Make common BridgeHelper base class for all bridges
2021-03-06 23:22:22 +00:00
Alexey Milovidov
e33fae7625
Improve test
2021-03-07 01:35:49 +03:00
Maksim Kita
6414da73bf
Fixed code review issues
2021-03-06 21:45:51 +03:00
kssenii
f83a5d83a2
Better
2021-03-06 18:44:40 +00:00
Maksim Kita
c314de7388
Fixed documentation
2021-03-06 14:37:56 +03:00
Maksim Kita
717a9b048a
Fixed tests
2021-03-06 14:37:36 +03:00
Maksim Kita
7602c6c6cb
Fixed sanitizers errors
2021-03-06 14:36:37 +03:00
Maksim Kita
d04e707567
Fixed special build
2021-03-06 14:36:37 +03:00
Maksim Kita
a22ec65e8a
Fixed minor issues
2021-03-06 14:36:37 +03:00
Maksim Kita
b6e72334ef
Fixed DefaultHash for StringRef
2021-03-06 14:36:37 +03:00
Pavel Kruglov
dbae58f30b
Add slowdown_count and show actual information in system.clusters
2021-03-06 02:45:17 +03:00
kssenii
2c080da51b
Better
2021-03-05 15:37:43 +00:00
feng lv
1438fd20cb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-format
2021-03-05 14:33:26 +00:00
kssenii
e0cda1033a
More methods
2021-03-05 10:43:47 +00:00
Maksim Kita
cdee265378
Fix typos
2021-03-05 13:27:24 +03:00
kssenii
dd4a7b6e3d
First version
2021-03-05 10:19:01 +00:00
Maksim Kita
175c485fcb
Fix style check
2021-03-05 13:17:46 +03:00
Maksim Kita
9173544003
Added documentation
2021-03-05 13:17:46 +03:00
Maksim Kita
aa0778933c
Added BorrowedObjectPool
2021-03-05 13:17:46 +03:00
Maksim Kita
91e43a6b3b
Updated ExecutablePoolDictionarySource
2021-03-05 13:17:46 +03:00
Maksim Kita
6b69d859c1
Added ExecutablePool dictionary source
2021-03-05 13:17:45 +03:00
alesapin
c9c301e10c
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-05 10:12:09 +03:00
Alexey Milovidov
3e77c9b1c5
Merge branch 'master' into DateTime64_extended_range
2021-03-05 03:07:19 +03:00
Nikita Mikhaylov
37d4c69d3a
Merge pull request #21433 from azat/parsing-exception-message-fix
...
Fix ParsingException::displayText()
2021-03-05 01:59:06 +03:00
alesapin
aa1312ac79
Merge with master
2021-03-04 14:43:12 +03:00
alesapin
ff67860770
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-04 14:30:51 +03:00
Anton Ivashkin
bec9de7161
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-04 13:29:45 +03:00
Anton Ivashkin
e69124a0a6
Merge master
2021-03-04 13:26:40 +03:00
Alexey Milovidov
9416f59014
Some progress on tests
2021-03-04 06:48:24 +03:00
Alexey Milovidov
b9a8509f79
Adjustments
2021-03-04 05:18:17 +03:00
Alexey Milovidov
6dc21cd098
Remove discrepances
2021-03-04 03:48:37 +03:00
Alexey Milovidov
9f3760e1e3
Bad filename
2021-03-04 03:18:48 +03:00
Alexey Milovidov
3eb3830dd8
Remove trash
2021-03-04 02:13:49 +03:00
Alexey Milovidov
1096fc328a
Make some tests automated
2021-03-04 02:11:27 +03:00
Alexey Milovidov
329074bd02
Fix test
2021-03-04 01:55:56 +03:00
Alexey Milovidov
2632b568ae
Move tests to appropriate place
2021-03-04 01:34:30 +03:00
Azat Khuzhin
e7948819f9
Fix ParsingException::displayText()
...
Before it was silently try-catched for messages with additional {}, and
it is very easy to trigger, i.e.:
SELECT toDateTime(format('{}-{}-01 00:00:00', '2021', '1'))
Will print:
Code: 41. DB::Exception: Received from localhost:9000. DB::Exception: Cannot parse datetime 2021-1-01 00:00:00{}: Cannot parse DateTime from String: while executing 'FUNCTION toDateTime(format('{}-{}-01 00:00:00', '2021', '1') :: 3) -> toDateTime(format('{}-{}-01 00:00:00', '2021', '1')) DateTime : 2'.
2021-03-03 23:44:51 +03:00
Azat Khuzhin
6965ac26c3
Distributed: Add ability to delay/throttle INSERT until pending data will be reduced
...
Add two new settings for the Distributed engine:
- bytes_to_delay_insert
- max_delay_to_insert
If at the beginning of INSERT there will be too much pending data, more
then bytes_to_delay_insert, then the INSERT will wait until it will be
shrinked, and not more then max_delay_to_insert seconds.
If after this there will be still too much pending, it will throw an
exception.
Also new profile events were added (by analogy to the MergeTree):
- DistributedDelayedInserts (although you can use system.errors instead
of this, but still)
- DistributedRejectedInserts
- DistributedDelayedInsertsMilliseconds
2021-03-03 23:30:23 +03:00
Azat Khuzhin
70049db143
CurrentMetrics/Increment: Introduce add()
2021-03-03 23:30:03 +03:00
Azat Khuzhin
b5a5778589
Distributed: Add ability to limit amount of pending bytes for async INSERT
...
Right now with distributed_directory_monitor_batch_inserts=1 and
insert_distributed_sync=0 INSERT into Distributed table will store
blocks that should be sent to remote (and in case of
prefer_localhost_replica=0 to the localhost too) on the local
filesystem, and sent it in background.
However there is no limit for this storage, and if the remote is
unavailable (or some other error), these pending blocks may take
significant space, and this is not always desired behaviour.
Add new Distributed setting - bytes_to_throw_insert, that will set the
limit for how much pending bytes is allowed, if the limit will be
reached an exception will be throw.
By default was set to 0, to avoid surprises.
2021-03-03 23:30:00 +03:00
alesapin
e6083c4dc4
Fix style
2021-03-03 19:25:47 +03:00
alesapin
eb5e416fd5
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-03 19:19:02 +03:00
alesapin
e615299ae6
Fix some bugs and add snapshots validation
2021-03-03 14:10:24 +03:00
feng lv
742e5a05ff
fix conflict
2021-03-03 09:38:30 +00:00
alesapin
8e6252b25f
Use snapshot object in serialization
2021-03-02 17:30:56 +03:00
alesapin
e7399bf66f
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-02 14:03:42 +03:00
Pavel Kruglov
153bfbfc28
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-03-02 11:59:32 +03:00
alesapin
03960b1eed
Some compileable code
2021-03-01 16:33:34 +03:00
Anton Ivashkin
98065ec56e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-01 13:33:40 +03:00
alesapin
91bc4478d7
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-01 13:18:35 +03:00
Nikolai Kochetov
976dbe8077
Merge pull request #20341 from ClickHouse/filter-push-down
...
Filter push down
2021-03-01 12:35:06 +03:00
feng lv
cbeb2853fb
improve clickhouse-format
...
fix
fix error word
2021-02-28 11:34:25 +00:00
alexey-milovidov
b8fba768e5
Merge pull request #21264 from ClickHouse/fix_zookeeper_update
...
Fix several bugs with ZooKeeper client
2021-02-28 01:57:04 +03:00
alesapin
9dc3952ff3
Fix typo
2021-02-27 16:30:43 +03:00
alesapin
9e93d7f507
Fix tidy and add comments
2021-02-27 11:07:14 +03:00
Pavel Kruglov
197058dc12
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-27 00:36:33 +03:00
alesapin
a48bb7e3a0
Fix redundant zookeeper reconnect and possibility of multiple zookeeper session for a single ClickHouse server
2021-02-26 22:05:25 +03:00
Nikolai Kochetov
d91b8a3acb
Merge branch 'master' into filter-push-down
2021-02-26 19:33:27 +03:00
Nikolai Kochetov
d328bfa41f
Review fixes. Add setting max_optimizations_to_apply.
2021-02-26 19:29:56 +03:00
Nikolai Kochetov
545528917f
Fix tests.
2021-02-26 13:17:00 +03:00
Anton Ivashkin
5b267b7eec
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-02-26 13:15:18 +03:00
Anton Ivashkin
c891cf4557
Fixes by review response
2021-02-26 12:48:57 +03:00
Nikolai Kochetov
64ea1f8298
Save packet keys.
2021-02-25 18:51:01 +03:00
Maksim Kita
63173eebdb
Merge pull request #21088 from azat/__has_feature-gcc-fix
...
Fix __has_feature macros under gcc
2021-02-25 18:34:14 +03:00
alesapin
cf42824756
Experimenting
2021-02-25 17:22:51 +03:00
Azat Khuzhin
810023a65c
Do not undefine __has_feature (may break c++ headers)
...
If the order of <common/defines.h> and c++ header will be wrong the
compilation will be broken.
v2: rename __ch_has_feature to ch_has_feature to fix -Wreserved-id-macro
v3: do not fallback to 0
2021-02-23 19:46:47 +03:00
Azat Khuzhin
2ced21c837
Decrease number of stored stack frame pointers to fit into 512 PIPE_BUF
2021-02-23 07:52:01 +03:00
Azat Khuzhin
6b39e61d09
Decrease QUERY_ID_MAX_LEN for freebsd/osx (PIPE_BUF=512)
2021-02-23 07:47:58 +03:00
Azat Khuzhin
89c311981d
Fix buffer size for trace collection
...
[1]: https://clickhouse-test-reports.s3.yandex.net/0/a860e3e7582f489a640c42db3bd4bd320f97a5bc/stress_test_(debug).html#fail1
2021-02-22 22:45:04 +03:00
Kruglov Pavel
815b4ff0d9
Merge branch 'master' into hedged-requests
2021-02-21 17:10:24 +03:00
Pavel Kruglov
dd5185c779
Refactor 4.0
2021-02-21 17:03:24 +03:00
alexey-milovidov
20a7ccf5b1
Merge pull request #20174 from amosbird/alias
...
Normalized function names (lower-case case-insensitive names)
2021-02-21 16:23:51 +03:00
Alexey Milovidov
00e6b6232f
Revert "optimize aggfunc column data copy ( #19407 )"
...
This reverts commit 7e3186c826
.
2021-02-21 12:49:50 +03:00
tavplubix
103d569885
Merge branch 'master' into fix_force_drop_materialized_view
2021-02-20 20:41:03 +03:00
tavplubix
a697b578bc
Merge pull request #16193 from ClickHouse/database_replicated
...
DatabaseReplicated: continuation of #10485
2021-02-20 19:39:34 +03:00
Alexander Tokmakov
2a36d6cb55
review suggestions
2021-02-20 02:41:58 +03:00
Alexander Tokmakov
5cfd687dfb
fix
2021-02-19 19:22:47 +03:00
Ivan
414f470c79
Make Poco HTTP Server zero-copy again ( #19516 )
...
* Refactoring: part 1
* Refactoring: part 2
* Handle request using ReadBuffer interface
* Struggles with ReadBuffer's
* Fix URI parsing
* Implement parsing of multipart/form-data
* Check HTTP_LENGTH_REQUIRED before eof() or will hang
* Fix HTTPChunkedReadBuffer
* Fix build and style
* Fix test
* Resist double-eof
* Fix arcadian build
2021-02-19 15:51:26 +03:00
Alexander Tokmakov
8097532cb7
Merge branch 'master' into database_replicated
2021-02-18 17:42:06 +03:00
Amos Bird
77fd060665
Normalize function names
2021-02-18 20:20:28 +08:00
Kruglov Pavel
142a541361
Merge branch 'master' into hedged-requests
2021-02-18 14:23:00 +03:00
Vitaly Baranov
3cbb325913
Merge pull request #20506 from vitlibar/refactor-protobuf-format-io
...
Improved serialization in Protobuf format.
2021-02-18 11:31:37 +03:00
Vitaly Baranov
18e036d19b
Improved serialization for data types combined of Arrays and Tuples.
...
Improved matching enum data types to protobuf enum type.
Fixed serialization of the Map data type.
Omitted values are now set by default.
2021-02-17 20:50:09 +03:00
Kruglov Pavel
794c3449ca
Merge branch 'master' into hedged-requests
2021-02-17 20:36:36 +03:00
Pavel Kruglov
1b78de2142
Use fibers in HedgedRequests
2021-02-17 20:34:52 +03:00
Alexander Tokmakov
1aac7b3471
Merge branch 'master' into database_replicated
2021-02-17 00:39:56 +03:00
tavplubix
68b427a99d
Merge pull request #20448 from ClickHouse/better_ddl_queue_cleanup
...
Better distributed DDL queue cleanup
2021-02-16 19:29:50 +03:00
Alexander Tokmakov
bf6f64a3fb
Merge branch 'master' into database_replicated
2021-02-16 01:28:19 +03:00
Pavel Kruglov
937a3192eb
Fix data race
2021-02-16 00:06:34 +03:00
Alexander Tokmakov
cf57c3b4a2
update comments
2021-02-15 23:01:21 +03:00
Maksim Kita
e3003add57
HashTable fix bug during resize with nonstandard grower
2021-02-15 22:23:10 +03:00
Pavel Kruglov
454b1e0d60
Merge branch 'hedged-requests' of github.com:Avogar/ClickHouse into hedged-requests
2021-02-15 17:44:29 +03:00
Pavel Kruglov
eb0847e2b6
Style
2021-02-15 17:44:05 +03:00
Kruglov Pavel
598576ce70
Merge branch 'master' into hedged-requests
2021-02-15 16:51:45 +03:00
Pavel Kruglov
df09a5cac9
Refactor 3.0 and fix tests
2021-02-15 16:21:36 +03:00
Alexey Milovidov
8b7063acf4
Merge branch 'master' into improve-performance-group-by-multiple-fixed-keys
2021-02-15 04:11:01 +03:00
Alexey Milovidov
5bdc570046
Improve performance of GROUP BY multiple fixed size keys
2021-02-14 01:56:04 +03:00
Alexander Tokmakov
96cc01926c
Merge branch 'master' into better_ddl_queue_cleanup
2021-02-14 00:22:09 +03:00
Azat Khuzhin
06e8065ee6
Add missing sync of underlying files
2021-02-13 13:19:51 +03:00
alesapin
f80137626a
Merge pull request #19580 from ClickHouse/in_memory_raft
...
In memory coordination inside ClickHouse
2021-02-13 10:19:23 +03:00
Alexander Tokmakov
184ec67dac
better ddl queue cleanup
2021-02-12 22:23:50 +03:00
alexey-milovidov
f669a9f97a
Merge pull request #20348 from kitaisreal/common-types-template-instantiations
...
Common types template instantiations
2021-02-12 15:53:00 +03:00
Maksim Kita
f9527738c9
Added comments
2021-02-12 12:12:04 +03:00
alexey-milovidov
4e32dbd024
Merge pull request #19317 from abyss7/dwarf-folly
...
Print inline frames for fatal stacktraces
2021-02-12 02:38:50 +03:00
Maksim Kita
b276eac197
Common types template instantiations
2021-02-12 00:54:50 +03:00
alesapin
5f32f65211
Merge branch 'master' into in_memory_raft
2021-02-11 23:09:29 +03:00
alexey-milovidov
dc3ffd3fe2
Merge pull request #19451 from azat/safe-writes
...
Do not silently ignore write errors
2021-02-11 21:19:11 +03:00
Alexander Tokmakov
15256d86e5
better replica recovery and queue cleanup
2021-02-10 23:30:40 +03:00
Anton Popov
ece7e87cfb
Merge pull request #20079 from ClickHouse/vdimir/fix-join-used-flag
...
Split use flags and RowRef in HashJoin
2021-02-10 20:34:22 +03:00
alesapin
b4d53886a3
Add sync request/response
2021-02-10 16:01:05 +03:00
alesapin
0d179e021b
Add sync cmd
2021-02-10 13:15:42 +03:00
alesapin
9667bdcbd2
Merge branch 'master' into in_memory_raft
2021-02-09 16:06:31 +03:00
Alexander Tokmakov
5e0cbfe972
Merge branch 'master' into database_replicated
2021-02-08 23:01:12 +03:00
Alexander Tokmakov
78c1d69b8c
better code
2021-02-08 22:36:17 +03:00
tavplubix
ac477d9850
Merge pull request #19771 from ClickHouse/thread_state_improvements
...
Minor code improvements around ThreadStatus
2021-02-08 22:34:55 +03:00
Maksim Kita
ebf5868652
Merge pull request #20164 from kitaisreal/cache-dictionaries-lru-cache
...
Added LRUHashMap
2021-02-08 21:00:27 +03:00
Ivan Lezhankin
a287443438
Merge remote-tracking branch 'upstream/master' into dwarf-folly
2021-02-08 18:36:41 +03:00
templarzq
7e3186c826
optimize aggfunc column data copy ( #19407 )
...
* optimize agg column data copy
* add aggfunc col data copy test
* fix null warning
* fix style
* fix style
* fix style
* fix style
* fix copy same dat to same pos bug
* fix style
* fix style
* Update ColumnAggregateFunction.cpp
fix type check
* control record buf size
* fix performance
* fix performance
* fix destroy data speed
* decrease run time.
* fix warning
* decrease test run time
* Update aggfunc_col_data_copy.xml
* replace unordered_map with HashMap
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix hash map compile err
* fix compile err
* fix compile err
* fix format
* faster test
Co-authored-by: centos7 <templarzq@localhost.localdomain>
2021-02-08 16:18:48 +03:00
vdimir
776b682f28
Add comment for used_flags in hash join, fix build
2021-02-08 14:38:31 +03:00
Kruglov Pavel
b256bd455c
Merge pull request #19961 from ucasFL/shard-id
...
add setting insert_shard_id
2021-02-08 14:28:13 +03:00
Maksim Kita
7ee1ad6833
Fixed unit tests
2021-02-08 11:44:32 +03:00
alesapin
d5ee7d33e9
Merge branch 'master' into in_memory_raft
2021-02-08 10:30:31 +03:00
Maksim Kita
285d46bc56
Fix gcc build issues
2021-02-07 23:54:14 +03:00