Alexey Milovidov
bdefa9248c
Removed test because it cannot run in Sandbox (CI)
2019-12-24 03:54:32 +03:00
Alexey Milovidov
badbee2385
Added another mode of diagnostic trap
2019-12-23 23:26:46 +03:00
Alexander Tokmakov
ac3f53f300
refactor StorageFile construction
2019-12-23 23:07:31 +03:00
Alexey Milovidov
3b7f3b07cd
Better handling of signals
2019-12-23 22:23:54 +03:00
Alexey Milovidov
e907ce103e
Fixed warning
2019-12-23 21:58:42 +03:00
Alexey Milovidov
9da4b63fe9
Fixed Darwin build
2019-12-23 21:56:57 +03:00
alesapin
88c05c4a1f
Merge pull request #8237 from ClickHouse/synchronous_mutations
...
Add ability to execute mutations synchronously
2019-12-23 21:55:48 +03:00
Azat Khuzhin
775b7c7395
Fix 00553_buff_exists_materlized_column after Buffer overcommit fix
2019-12-23 20:35:52 +03:00
Nikolai Kochetov
a82079ccc2
Set affinity for PipelineExecutor threads.
2019-12-23 19:55:11 +03:00
Alexey Milovidov
f04a2a5f7b
Fixed Darwin build
2019-12-23 19:54:51 +03:00
Nikolai Kochetov
9482cf2469
Enable processors by default.
2019-12-23 19:49:41 +03:00
Alexey Milovidov
56870c6b3b
Fixed -Wshadow
2019-12-23 19:49:06 +03:00
alesapin
25ecc38615
More correct separation between metadata and data alters for non replicated MergeTree.
2019-12-23 19:44:50 +03:00
Alexey Milovidov
239451a24d
Merge branch 'master' into system-stack-trace
2019-12-23 19:41:23 +03:00
Alexey Milovidov
131e1660aa
Merge remote-tracking branch 'origin/master' into compression-codec-fix
2019-12-23 18:55:45 +03:00
Alexander Tokmakov
5fab732408
use arbitrary relative path in *MergeTree
2019-12-23 18:37:55 +03:00
Alexander Tokmakov
4f58d662f7
make data path relative
2019-12-23 18:20:08 +03:00
alesapin
73c9f0e71c
Remove redundant code
2019-12-23 17:46:00 +03:00
alesapin
f168977b9a
Merge branch 'master' into synchronous_mutations
2019-12-23 16:24:50 +03:00
Vitaly Baranov
297a5fd627
Merge pull request #8342 from vitlibar/fix-checks-localhost-is-allowed
...
Fix checks if a client host is allowed in case it's the localhost.
2019-12-23 16:03:29 +03:00
alesapin
cfeaea2627
Better exception message in case of duplicate dictionary
2019-12-23 12:35:37 +03:00
Nikolai Kochetov
4f641b05d4
Added test.
2019-12-23 12:28:09 +03:00
Nikolai Kochetov
68305165d1
Create query context for clickhouse dictionary source.
2019-12-23 12:25:58 +03:00
alesapin
4555d1398c
Merge pull request #8267 from ClickHouse/fix_coverage_one_more_time
...
More strict coverage flush.
2019-12-23 11:43:49 +03:00
Azat Khuzhin
2e6d924bb5
Fix 00753_alter_destination_for_storage_buffer after Buffer overcommit fix
2019-12-23 01:58:36 +03:00
Azat Khuzhin
eae56e2d02
Fix 01019_Buffer_and_max_memory_usage flakiness
...
If within one INSERT the background worker will flush the buffer, then
it will steal the allocation, and if it will steal enough then
max_memory_usage for the INSERT query context could be exceeded.
Fix this by forcing the buffer flush from the query context.
2019-12-23 01:39:37 +03:00
Azat Khuzhin
58055e6a94
Do not overcommit Buffer memory usage
...
During INSERT the check against existing rows and rows from the INSERT
block is performed and if they exceeded threshold the Buffer should be
flushed to avoid overcommit, while before this patch the second check
(in flushBuffer()) will ignore rows from INSERT block.
2019-12-23 01:39:37 +03:00
Alexey Milovidov
4d349e9ed0
Added TODO
2019-12-23 00:01:12 +03:00
Alexey Milovidov
c78443d939
Avoid using query_id from old threads
2019-12-22 23:50:33 +03:00
Alexey Milovidov
1e83ebe521
Added test
2019-12-22 23:50:00 +03:00
Alexey Milovidov
ca25e2f30f
Added query_id to "system.stack_trace"
2019-12-22 23:37:29 +03:00
Alexey Milovidov
9c868c910a
Simplification
2019-12-22 23:17:16 +03:00
Alexey Milovidov
e0000bef98
Added "system.stack_trace" table (development)
2019-12-22 20:20:33 +03:00
Vitaly Baranov
2e4174a54c
Fix checks if a client host is allowed in case it's the localhost.
2019-12-22 23:24:43 +07:00
alexey-milovidov
fee9fda34c
Merge pull request #8130 from CurtizJ/optimize-storage-merge
...
Implement ORDER BY optimization for Storage Merge.
2019-12-22 12:43:18 +03:00
alexey-milovidov
08669e512c
Merge pull request #8332 from Vdimir/prometheus-endpoint-fixes
...
Prometheus endpoint fixes
2019-12-22 12:37:31 +03:00
alexey-milovidov
89e3793db1
Merge pull request #8311 from ClickHouse/gcc-libcxx
...
Using libc++ even with gcc
2019-12-22 12:32:27 +03:00
CurtizJ
d941643416
fix build
2019-12-22 05:44:04 +03:00
Alexey Milovidov
360c85c818
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-22 00:51:47 +03:00
Alexey Milovidov
bc845ebce5
Optimization of sorting heap
2019-12-22 00:51:22 +03:00
Alexey Milovidov
2c63baa52a
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 23:29:40 +03:00
Alexey Milovidov
8ff361eda4
Optimization of sorting heap
2019-12-21 23:28:51 +03:00
VDimir
5a84f4782f
Set prometheus default port to 9363
2019-12-21 17:56:24 +00:00
VDimir
e301c1fe59
Fix test_prometheus_endpoint
2019-12-21 20:50:02 +03:00
VDimir
cc5af3174e
Update async methics at program srartup
2019-12-21 17:48:35 +00:00
VDimir
0e9daded94
Repcale dots in prometheus metric names with underscores
2019-12-21 17:47:44 +00:00
alexey-milovidov
d52547dc75
Merge pull request #8082 from moon03432/master
...
fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap
2019-12-21 18:14:27 +03:00
tyrionhuang
caedf9d91d
add bitmapAnd sql & reference
2019-12-21 17:22:39 +08:00
Alexey Milovidov
6997e9199c
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 03:00:15 +03:00
Alexey Milovidov
6c03e1e91a
Optimization of sorting heap
2019-12-21 03:00:07 +03:00
Alexey Milovidov
b2ffab7cca
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 02:59:25 +03:00
Alexey Milovidov
0820dc0c84
Optimization of sorting heap
2019-12-21 02:59:08 +03:00
Alexey Milovidov
9638d7c4b2
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 02:58:29 +03:00
Alexey Milovidov
9960a79b36
Optimization of sorting heap
2019-12-21 02:57:57 +03:00
Alexey Milovidov
f483a32b5a
Merge commit 'dba9766575' into gcc-libcxx
2019-12-21 02:38:45 +03:00
Alexey Milovidov
dba9766575
Better priority_queue performance, part 1
2019-12-21 02:38:07 +03:00
alexey-milovidov
ea56001fc0
Merge pull request #8324 from ClickHouse/update-libcxx
...
Updated libc++
2019-12-21 00:44:48 +03:00
alexey-milovidov
980cf16873
Merge pull request #8323 from ClickHouse/minor-improvements-backquote
...
Added quoting of db and table names where appropriate
2019-12-20 22:14:35 +03:00
Alexey Milovidov
b26b8a25b6
Merge branch 'update-libcxx' into gcc-libcxx
2019-12-20 21:45:25 +03:00
Alexey Milovidov
61dbd52a3f
Fixed build after updating libcxx
2019-12-20 21:44:40 +03:00
Alexey Milovidov
5443d4a998
Merge branch 'master' into gcc-libcxx
2019-12-20 21:30:30 +03:00
alexey-milovidov
0d119a40eb
Merge pull request #8240 from vitlibar/sync-system-reload-dictionary
...
Synchronous system reload dictionary
2019-12-20 20:00:03 +03:00
Alexey Milovidov
41ed1ed471
Added quoting of db and table names where appropriate
2019-12-20 19:53:37 +03:00
proller
521e2e709e
Build fixes. Arm, minimal build
2019-12-20 17:46:00 +03:00
alexey-milovidov
993f3eacc2
Merge pull request #8281 from amosbird/patch-16
...
allow no-declared free functions
2019-12-20 16:29:02 +03:00
CurtizJ
75c5e02ec2
improve input order analyzing and turn on order by optimization with left/inner joins
2019-12-20 16:15:17 +03:00
Alexander Tokmakov
9041977bb6
InterpreterCreateQuery code cleanup
2019-12-20 15:51:51 +03:00
Alexander Tokmakov
10ad22faea
refactor InterpreterCreateQuery::createTable(...)
2019-12-20 15:51:51 +03:00
alexey-milovidov
7f10630873
Merge pull request #8308 from ClickHouse/deprecate-merge_tree_uniform_read_distribution
...
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 15:28:34 +03:00
alesapin
ee851113b8
Event better test
2019-12-20 12:18:48 +03:00
alexey-milovidov
de01dd12b5
Merge pull request #8306 from ClickHouse/fix_rename_distributed
...
Fix rename distributed
2019-12-20 04:38:21 +03:00
alexey-milovidov
3ba09ed589
Merge pull request #8298 from 4ertus2/joins
...
Fix engine join crash
2019-12-20 04:12:43 +03:00
Alexey Milovidov
0ac868ed48
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 04:11:37 +03:00
Alexey Milovidov
4104a65bab
Fixed build
2019-12-20 04:01:51 +03:00
Alexey Milovidov
371aef532c
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 02:49:41 +03:00
Alexey Milovidov
9ce8d5fe54
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 01:38:05 +03:00
Alexey Milovidov
3d2af60ad2
Minor style improvement
2019-12-20 00:29:37 +03:00
chertus
b5658ef1a3
remove qualification in StorageJoin JOIN case
2019-12-19 23:37:10 +03:00
Alexander Tokmakov
d1568c1614
fix rename distributed
2019-12-19 22:51:12 +03:00
Alexey Milovidov
5da506b67a
Fixed error in compression codecs.
2019-12-19 22:23:49 +03:00
alexey-milovidov
e83eeef731
Merge pull request #8258 from ClickHouse/update-llvm-bisect
...
Update LLVM in contrib
2019-12-19 22:22:32 +03:00
alexey-milovidov
0b70706f04
Merge pull request #8241 from vitlibar/fix-allowed-client-hosts-checks
...
Fix checking if a client host is allowed.
2019-12-19 21:09:29 +03:00
chertus
c72b0d4e2a
fix engine join crash [wip]
2019-12-19 18:50:28 +03:00
alesapin
0cc7ccfc2e
Remove unintended diff
2019-12-19 18:30:52 +03:00
alesapin
9fea941009
Make wait endless
2019-12-19 18:27:56 +03:00
Vitaly Baranov
ba328ad48e
Corrections after review.
2019-12-19 17:51:32 +03:00
alexey-milovidov
ad60f990cd
Merge pull request #8291 from Enmk/now64_crash_fix
...
Handling error from clock_gettime properly
2019-12-19 16:12:22 +03:00
alexey-milovidov
3e90352af1
Update now64.cpp
2019-12-19 16:12:13 +03:00
alesapin
88033a4333
Merge branch 'master' into synchronous_mutations
2019-12-19 15:44:02 +03:00
alesapin
e6cc87fc20
Fix broken unit test
2019-12-19 15:31:10 +03:00
Nikolai Kochetov
5f3d7cace4
Merge pull request #7898 from apbodrov/avg_weighted
...
avgWeighted
2019-12-19 12:56:38 +03:00
Vasily Nemkov
2292ec9592
Handling error from clock_gettime properly
2019-12-19 12:55:10 +03:00
alesapin
7b392d4e89
Merge pull request #8275 from ClickHouse/fix_range_dictionaries_ddl
...
DDL dictionaries Range fix
2019-12-19 12:54:39 +03:00
Amos Bird
ee2a3b4b07
allow no-declared free functions
...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Bug Fix
Changelog entry (up to few sentences, required except for Non-significant/Documentation categories):
We have free functions implemented for factories such as https://github.com/yandex/ClickHouse/blob/master/dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp#L318
2019-12-19 09:02:01 +08:00
Vitaly Baranov
902d7860da
Fix tests.
2019-12-19 03:38:30 +03:00
Vitaly Baranov
41b0ba98dd
SYSTEM RELOAD db.dict syntax is now supported.
2019-12-19 03:38:24 +03:00
Vitaly Baranov
68187b5e08
Getting from a dictionary isn't blocked until SYSTEM RELOAD is finished.
2019-12-19 03:22:58 +03:00
Vitaly Baranov
bfcd437e91
Add an integration test.
2019-12-19 03:15:14 +03:00
Vitaly Baranov
fa53f0c6ba
Fix using a custom hostname for a node in the integrations tests.
...
See https://github.com/docker/compose/issues/2925
2019-12-19 03:15:08 +03:00
Alexey Milovidov
766aced61c
Merge branch 'master' of github.com:yandex/ClickHouse into update-llvm-bisect
2019-12-19 00:36:18 +03:00