Alexey Milovidov
71317dd59c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 19:05:20 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
...
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
alexey-milovidov
e6ab9b969e
Merge pull request #11830 from zlobober/fix_mmap_threshold
...
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-21 14:07:07 +03:00
Alexey Milovidov
fe71a8eb8c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 13:55:11 +03:00
Alexey Milovidov
227afea032
Merge branch 'master' into decimal-cut-extra-digits-after-point
2020-06-21 13:50:06 +03:00
Alexey Milovidov
7f05d2bac0
Merge branch 'master' into print-build-id
2020-06-21 13:44:32 +03:00
Maxim Akhmedov
2ff7f34968
Make constants in cpp file extern.
2020-06-21 00:45:20 +03:00
Alexey Milovidov
961568e978
Fix false MSan report in SymbolIndex
2020-06-20 22:05:03 +03:00
alexey-milovidov
603e690c18
Update Allocator.cpp
2020-06-20 21:52:36 +03:00
alexey-milovidov
87937e580e
Update Allocator.h
2020-06-20 21:52:13 +03:00
Alexey Milovidov
147cda2581
Merge branch 'master' into print-build-id
2020-06-20 21:05:31 +03:00
Denis Glazachev
6c1b2a4831
Merge branch 'master' into ldap-per-user-authentication
...
* master: (114 commits)
Update alter.md (#11823 )
Update PODArray.h
Added a test for #6549
Update create.md
Update create.md
replacingmergetree translate into "替换合并树“ better (#11814 )
Whitespace
Fix style
Added a test
Fix another 10% of bad code #11529
Update join.md (#11798 )
Update memory.md (#11800 )
Whitespace
Check for tests with "fail" in their names
Fix 10% of bad code #11756
Update PODArray.h
avoid duplicate short system name
adapt recent result as well
[website] tune benchmark pages styling + add extra checks
Added MSan suppression for Hyperscan
...
# Conflicts:
# src/Common/ErrorCodes.cpp
2020-06-20 22:01:12 +04:00
alexey-milovidov
92d37efe18
Merge pull request #11736 from maxim-babenko/patch-1
...
Fix PODArrayBase::push_back_raw_many
2020-06-20 19:16:15 +03:00
Maxim Akhmedov
34fbc62033
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-20 19:01:16 +03:00
Alexey Milovidov
408fc241d6
Make reading of Decimal more compatible with other DBMS
2020-06-20 17:43:01 +03:00
Alexey Milovidov
7ba25bd799
Make it work
2020-06-20 14:17:15 +03:00
Alexey Milovidov
ead4a2cfd9
Print build id in crash messages
2020-06-20 12:07:05 +03:00
Azat Khuzhin
b8ee2ea7d9
Pass max_ignored_errors/fallback_to_stale_replicas to PoolWithFailoverBase::get() too
2020-06-20 11:46:13 +03:00
Azat Khuzhin
de011a6edc
Mark PoolWithFailoverBase::get() protected
2020-06-20 11:39:21 +03:00
Azat Khuzhin
dd054380bf
Drop default values for some arguments of PoolWithFailoverBase::getMany
2020-06-20 11:21:18 +03:00
Azat Khuzhin
caa195c034
Add number of errors to ignore while choosing replicas (distributed_replica_max_ignored_errors)
...
This will allow avoid switching to another replica in case of error
(since error can be temporary).
2020-06-20 11:20:16 +03:00
Azat Khuzhin
687eb24f50
Fix divizion by zero for distributed_replica_error_half_life=0
2020-06-20 11:05:39 +03:00
Azat Khuzhin
2a5a8e70f4
Drop unused PoolWithFailoverBase<>::reportError()
2020-06-20 11:05:38 +03:00
alexey-milovidov
c256682068
Update PODArray.h
2020-06-20 10:45:51 +03:00
alexey-milovidov
2e604726e0
Update PODArray.h
2020-06-20 08:39:52 +03:00
Alexander Kuzmenkov
288f217df3
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-19 23:07:53 +03:00
alexey-milovidov
08b53c1ab5
Update gtest_pod_array.cpp
2020-06-19 22:10:04 +03:00
Alexey Milovidov
5211a42c04
Remove leader election, step 3
2020-06-19 17:18:58 +03:00
Maxim Babenko
5895f25166
Styling
2020-06-19 16:30:00 +03:00
Maxim Babenko
8436688437
Add unittests for push_back_raw_many
2020-06-19 16:21:54 +03:00
Denis Glazachev
5db60202b6
Merge branch 'master' into ldap-per-user-authentication
2020-06-19 00:11:08 +04:00
maxim-babenko
c3dbf7d6bf
Fix PODArrayBase::push_back_raw_many
...
1) capacity check must be ready for overflow during memcpy
2) reserve must be called with the new size, not just delta
2020-06-17 19:38:23 +03:00
Vitaly Baranov
7011401cd4
Merge pull request #11670 from vitlibar/rbac-improve-parser-multiple-entities
...
RBAC: improve syntax
2020-06-17 16:26:02 +03:00
alexey-milovidov
e07d02015c
Merge pull request #11661 from ClickHouse/return-not-nullable-from-count-distinct-2
...
Return non-Nullable results from COUNT(DISTINCT), more complete.
2020-06-17 09:25:45 +03:00
alexey-milovidov
598fd75caf
Merge pull request #11639 from ClickHouse/remove-leader-election-2
...
Remove leader election, step 2: allow multiple leaders
2020-06-17 09:25:23 +03:00
alexey-milovidov
6e61f708d7
Merge pull request #11690 from ClickHouse/odbc-bridge-timeouts
...
Pass proper timeouts when communicating with XDBC bridge.
2020-06-17 03:18:29 +03:00
Alexey Milovidov
a655765040
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-17 01:15:57 +03:00
Alexander Kuzmenkov
9cab822718
Merge pull request #11683 from ClickHouse/aku/merge-minmap-11603
...
Merge minMap, maxMap (#11603 )
2020-06-17 00:02:33 +03:00
Alexey Milovidov
0a6054eece
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-16 22:31:33 +03:00
Alexey Milovidov
6c93016c91
Add suggestion from @alesap
2020-06-16 22:16:01 +03:00
Alexey Milovidov
b7ec5f94f2
Merge branch 'master' into odbc-bridge-timeouts
2020-06-16 22:14:43 +03:00
Ivan Blinkov
7e2bb1fd83
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-16 16:02:55 +03:00
Bharat Nallan
334c5abe9b
remove extra vertical space
2020-06-15 22:04:30 -07:00
Bharat Nallan
c43bd228ab
make max global thread pool setting configurable
...
This PR adds a server level config for overriding the default max number
of threads in global thread pool that is currently allowed (10,000).
This might be useful in scenarios where there are a large number of
distributed queries that are executing concurrently and where the
default number of max threads might not be necessarily be sufficient.
2020-06-15 22:04:30 -07:00
Alexey Milovidov
125b007360
Merge branch 'master' into remove-leader-election-2
2020-06-16 05:56:29 +03:00
Alexey Milovidov
85a7676bf4
Fix flaky unit tests with ZooKeeper.
2020-06-16 02:32:30 +03:00
Alexey Milovidov
186d336e31
Use proper timeouts when communicating with xdbc-bridge
2020-06-16 01:35:15 +03:00
Alexey Milovidov
1e73a56a77
Whitespace
2020-06-16 01:23:56 +03:00
Alexey Milovidov
bc58e22c5b
Whitespace
2020-06-16 01:23:13 +03:00
Vitaly Baranov
4bd00b02e2
Improve syntax of CREATE QUOTA. Now resource types and key types could be written with underscores.
...
Also rename columns key_type=>keys and source=>storage in table system.quotas.
2020-06-15 20:10:34 +03:00
Alexander Kuzmenkov
0743e8c15d
Merge remote-tracking branch 'origin/master' into minmap
2020-06-15 19:39:57 +03:00
alexey-milovidov
fd6115cccf
Merge pull request #11648 from ClickHouse/simplify-code-functions-comparison-3
...
Allow comparison with String in index analysis; simplify code.
2020-06-15 05:47:03 +03:00
Alexey Milovidov
b596831342
Merge branch 'master' into remove-leader-election-2
2020-06-15 03:16:41 +03:00
Alexey Milovidov
6467302ad3
Fix gcc build
2020-06-15 01:29:22 +03:00
Alexey Milovidov
07ba7ffea5
Clear password from command line #11624
2020-06-14 22:23:05 +03:00
Alexey Milovidov
8dac30ae95
Split file for better build times
2020-06-14 21:42:10 +03:00
Alexey Milovidov
067cf4cc40
Fix gcc build
2020-06-14 21:31:42 +03:00
Alexey Milovidov
f6c52fe1c2
Allow comparison with String in index analysis; simplify code #11630
2020-06-14 21:31:42 +03:00
Alexey Milovidov
394fb64a9c
Better way of implementation
2020-06-14 20:42:11 +03:00
alexey-milovidov
361cb880a3
Merge pull request #11657 from ClickHouse/dont-use-elf-if-foreign
...
Don't use debug info from ELF file if it doesn't correspond to the running binary.
2020-06-14 10:58:21 +03:00
Alexey Milovidov
4a052f60c7
Don't use debug info from ELF file if it doesn't correspond to the running binary.
2020-06-14 06:10:35 +03:00
Alexey Milovidov
30f1f88118
Allow case-insensitive regexps; added a test #11101
2020-06-14 03:43:42 +03:00
Ildus Kurbangaliev
01d903c60d
add minMap and maxMap functions
2020-06-13 08:49:00 +00:00
Alexey Milovidov
21897f2abd
Instrument
2020-06-13 04:35:49 +03:00
Alexey Milovidov
b8b55a5b99
More LeaderElection to Storage/MergeTree
2020-06-13 04:35:49 +03:00
Alexey Milovidov
902774c89c
Removed default value of constructor
2020-06-13 04:34:05 +03:00
Alexey Milovidov
a690851586
Fix style
2020-06-13 00:20:59 +03:00
Alexey Milovidov
8985d64237
Fix "Arcadia" build
2020-06-13 00:20:00 +03:00
Alexey Milovidov
f608044690
Fix error
2020-06-12 21:19:16 +03:00
Alexey Milovidov
72257061d5
Avoid errors due to implicit int<->bool conversions when using ZK API
2020-06-12 18:09:12 +03:00
Denis Glazachev
9e3a28a6b8
Merge branch 'master' into ldap-per-user-authentication
...
* master: (414 commits)
Update file.md
Update merge.md
Update dictionary.md
Update external-data.md
Update distributed.md
Update null.md
Update set.md
Update join.md
Update url.md
Update view.md
Update materializedview.md
Update memory.md
Update buffer.md
Update generate.md
removed a sentence about global lock during rename (#11577 )
greatCircleAngle en translation (#11584 )
Update configuration-files.md
try fix flacky test
Update why.html
Update rich.html
...
# Conflicts:
# src/Common/ErrorCodes.cpp
# utils/ci/jobs/quick-build/run.sh
2020-06-11 03:06:17 +04:00
alexey-milovidov
4f2ed7a5e3
Merge branch 'master' into arch-chooser
2020-06-10 22:31:19 +03:00
Ivan Blinkov
0316464ed4
fix
2020-06-10 18:30:13 +03:00
Ivan Blinkov
60b40f0403
Lost part of refactoring
2020-06-10 17:51:25 +03:00
Ivan Blinkov
6191d33bd9
Do not cache frames inside StackTrace
2020-06-10 16:30:12 +03:00
Ivan Blinkov
90ee4d52f4
merge master
2020-06-10 13:18:41 +03:00
Alexander Tokmakov
6bb68329f8
Merge branch 'master' into merging_external_source_cassandra
2020-06-09 19:51:14 +03:00
Ivan Blinkov
6f7064928f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 19:07:57 +03:00
Ivan
47ad338cb2
Refactor CMake build files ( #11390 )
...
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Ivan Blinkov
5b3fef526e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 11:51:29 +03:00
alexey-milovidov
16f0e3a467
Merge pull request #11493 from ClickHouse/kuskarov-fix_history_bugs
...
Merging #11453 (save history in clickhouse-client after every query)
2020-06-08 02:13:20 +03:00
Alexey Milovidov
df19db1509
Added a test for history in clickhouse-client
2020-06-07 20:29:34 +03:00
tavplubix
686c0539db
Merge pull request #11487 from ClickHouse/improve_dns_cache
...
Use DNSResolver to check if user is allowed to connect from an address
2020-06-07 19:55:03 +03:00
tavplubix
103f0d3ead
Update DNSResolver.cpp
2020-06-07 18:17:23 +03:00
alexey-milovidov
f804321cba
Update DNSResolver.cpp
2020-06-07 03:18:54 +03:00
Alexander Tokmakov
f620d97f9f
fix
2020-06-07 00:48:38 +03:00
Alexander Tokmakov
0cf8015f4a
use DNSResolver to check if user is allowed to connect
2020-06-07 00:02:29 +03:00
Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
...
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
Alexander Kuzmenkov
d17a435fb6
Merge pull request #11226 from ClickHouse/aku/merge-perf-events
...
Merge Perf events metrics #9545
2020-06-05 23:10:54 +03:00
Ivan Blinkov
653a9afda0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-05 22:51:28 +03:00
Alexander Kuzmenkov
5523444d91
cleanup
2020-06-05 15:53:47 +03:00
Alexander Kuzmenkov
7db8edf402
Merge pull request #11446 from ClickHouse/aku/better-error-messages
...
Improve error messages
2020-06-05 13:11:02 +03:00
Alexander Kuzmenkov
435f53e05a
Improve error messages
...
Also support fmt for exception messages, the same way we use it in
logging macros.
2020-06-04 20:50:29 +03:00
Alexander Kuzmenkov
377da4656d
cleanup
2020-06-04 18:51:34 +03:00
Alexander Kuzmenkov
60920c3077
let's be optimistic, it will build eventually
2020-06-03 16:44:36 +03:00
Alexander Kuzmenkov
1ab3201454
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-03 16:36:22 +03:00
Alexander Kuzmenkov
07e4bb7050
Remove assorted synonyms of LOGICAL_ERROR.
...
We don't need any special handling for them on the client, and, on the
contrary, have to handle them as logical errors in tests.
2020-06-03 16:18:42 +03:00
Alexander Tokmakov
e3aa20708a
Merge branch 'master' into merging_external_source_cassandra
2020-06-03 14:55:02 +03:00
Alexander Kuzmenkov
3bf9cec63b
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-03 14:49:49 +03:00
Alexander Kuzmenkov
eca69d1a56
please build already
2020-06-03 14:25:56 +03:00
Alexander Kuzmenkov
9ae46722cb
build
2020-06-03 11:48:26 +03:00
Alexander Kuzmenkov
609780c153
build fix
2020-06-02 19:52:50 +03:00
Alexander Kuzmenkov
42debdfbb2
build fixes
2020-06-02 17:09:51 +03:00
Alexander Kuzmenkov
0a5cc96b67
Fuzzing-related changes.
...
* More LOGICAL_ERROR
* Proper cloning of some Asts
* Field::safeGet for user-supplied values
2020-06-02 16:56:10 +03:00
Alexander Kuzmenkov
d9f00a8f48
fix build
2020-06-02 12:58:48 +03:00
Alexander Kuzmenkov
dc24d69566
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-02 12:56:02 +03:00
Denis Glazachev
c61cbe8e98
Merge branch 'master' into ldap-per-user-authentication
...
* master: (114 commits)
Update PushingToViewsBlockOutputStream.cpp
Update PushingToViewsBlockOutputStream.cpp
make clang-10 happy
Fix sync_async test (remove timeout)
CLICKHOUSEDOCS-631: temporary_files_codec, join_on_disk_max_files_to_merge settings. (#11242 )
Suppress output of cancelled queries in clickhouse-client #9473
Better log messages in ConfigReloader
fix select from StorageJoin
Fix unit tests under MSan
Added test.
Fix build.
Fix arguments for AggregateFunctionQuantile/
Update style.md
Add a guide on error messages.
Report dictionary name on dictionary load errors.
more types in ASOF JOIN (#11301 )
Fix part_log test
Update test.
Add perftest.
Parallel processing for PushingToViewsBlockOutputStream::writeSuffix
...
2020-06-02 12:42:29 +04:00
Ivan Blinkov
4bd678a3fd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-02 08:21:30 +03:00
Ivan Blinkov
03f4aa19aa
apply comment
2020-06-02 08:16:41 +03:00
Ivan Blinkov
35734aadde
apply comment
2020-06-02 08:15:11 +03:00
Alexey Milovidov
d34b1a8791
Merge branch 'master' into improve-performance-of-client-interactive-mode
2020-06-02 04:24:17 +03:00
Alexey Milovidov
3019ca3408
Added comments
2020-06-02 04:20:44 +03:00
Ivan Blinkov
5a32d79135
experiment
2020-06-01 23:55:32 +03:00
Ivan Blinkov
e9a04f7741
more build fixes
2020-06-01 23:48:42 +03:00
alexey-milovidov
7c83679a37
Merge pull request #11341 from ClickHouse/config-reloader-better-log
...
Better log messages in ConfigReloader
2020-06-01 23:17:02 +03:00
Ivan Blinkov
6bd4282727
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 21:49:56 +03:00
Ivan Blinkov
f6e69355fa
experiment
2020-06-01 21:10:19 +03:00
Alexey Milovidov
5bc5459628
Better log messages in ConfigReloader
2020-06-01 20:58:25 +03:00
Alexander Kuzmenkov
03d8bf9242
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-01 20:15:25 +03:00
Alexander Kuzmenkov
aa1f552a8f
build fixes
2020-06-01 20:13:54 +03:00
Alexey Milovidov
7fcfcf201d
Fix unit tests under MSan
2020-06-01 20:07:27 +03:00
Alexander Tokmakov
62761eddcc
Merge branch 'master' into merging_external_source_cassandra
2020-06-01 14:44:46 +03:00
Ivan Blinkov
fcc7ff0ef9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 08:42:03 +03:00
alexey-milovidov
166b267dcf
Merge pull request #11323 from ClickHouse/improve-performance-of-client-interactive-mode-2
...
Improve performance of client interactive mode
2020-06-01 04:21:23 +03:00
Alexey Milovidov
a76bd99e84
Added setting "output_format_pretty_max_value_width"
2020-06-01 01:12:13 +03:00
alexey-milovidov
9984e989c1
Merge pull request #11317 from ClickHouse/logger-fmt-2
...
Preparation for structured logging
2020-06-01 00:11:29 +03:00
Alexey Milovidov
eb0e28b26d
Added a function "computeBytesBeforeWidth"
2020-05-31 23:03:11 +03:00
Alexey Milovidov
ad14025b5e
Further improvement
2020-05-31 22:47:39 +03:00
Alexey Milovidov
463d2cf836
Improve performance of UTF8::computeWidth
2020-05-31 22:22:31 +03:00
alexey-milovidov
195635d1cb
Merge pull request #11316 from ClickHouse/better-not-enough-memory-message
...
Better exception message in case when there is shortage of memory mappings
2020-05-31 16:59:34 +03:00
Denis Glazachev
e8144976fe
Merge branch 'master' into ldap-per-user-authentication
2020-05-31 15:09:16 +04:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956
Preparation for structured logging
2020-05-31 00:35:52 +03:00
Dmitry
4b0d32f026
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-31 00:21:02 +03:00
Alexey Milovidov
b95b6ec0ee
Tested with "trap" function
2020-05-30 23:02:44 +03:00
Alexey Milovidov
9a41eb14a6
Fix build
2020-05-30 22:40:23 +03:00
Alexey Milovidov
09d2f19287
Better exception in case when there is shortage of memory mappings
2020-05-30 22:38:25 +03:00
Alexey Milovidov
43c2a46672
Fix very rare race condition in ThreadPool
2020-05-30 21:57:02 +03:00
MovElb
b4b5c90343
squash
2020-05-30 20:05:05 +03:00
Ivan Blinkov
77d8c9baca
Add anonymize option and version tag
2020-05-30 11:02:13 +03:00
Ivan Blinkov
6dfe44f437
style
2020-05-30 11:01:15 +03:00
Ivan Blinkov
95ca1c648d
fix __msan_unpoison
2020-05-30 10:59:43 +03:00
Ivan Blinkov
f88b85625a
style
2020-05-30 00:36:47 +03:00
Ivan Blinkov
a84123195b
adjust comments
2020-05-29 23:08:05 +03:00
Ivan Blinkov
95ee742ee7
merge master
2020-05-29 22:56:10 +03:00
Alexander Tokmakov
8921041706
Merge branch 'master' into merging_external_source_cassandra
2020-05-29 18:20:39 +03:00
alexey-milovidov
9a4fd5cf56
Merge pull request #11272 from ClickHouse/fix-usage-of-fmtlib
...
Fix potential incorrect usage of fmtlib
2020-05-29 16:22:52 +03:00
Alexander Kuzmenkov
6e3bbf83e3
thread-local perf events
2020-05-29 16:04:32 +03:00
Nikolai Kochetov
cf08299e43
Merge pull request #11249 from ClickHouse/fix-memory-tracked-description-race
...
Fix race for description in MemoryTracker.
2020-05-29 13:42:07 +03:00
Denis Glazachev
cd5d3ed618
Merge branch 'master' into ldap-per-user-authentication
...
* master:
Remove error code
Better
Remove redundant header
Fix unit tests
Better error codes
2020-05-29 14:07:42 +04:00