CurtizJ
1bec5a8241
refactor MergeTree select streams
2019-07-19 17:56:00 +03:00
Alexander Kuzmenkov
de72d117ce
Fix a race condition in parallel table loading.
...
ThreadSanitizer reported that a data race occurs when we attach to a
database and load its tables concurrently. Remove the custom code that
waits for all tables to load, and replace it with a local thread pool
and its wait() method.
This changes observable behavior: before, we would load the tables
sequentially when loading the system database, or performing an ATTACH
DATABASE query. Now we always load tables of ordinary databases in
parallel.
2019-07-19 17:35:02 +03:00
Dmitry Rubashkin
6ba4408741
Tests added
2019-07-19 16:30:22 +03:00
Dmitry Rubashkin
1aca3da121
Fixed inegration
2019-07-19 16:28:28 +03:00
Alexey Milovidov
98b0d08bf3
Added missing header #5981
2019-07-19 15:57:23 +03:00
alesapin
6752a862a3
Merge pull request #6053 from vitlibar/improve-util-zookeeper-adjust-block-numbers-to-parts
...
Improve utility zookeeper-adjust-block-numbers-to-parts.
2019-07-19 14:33:29 +03:00
CurtizJ
2797c16930
fix prewhere at fetching columns
2019-07-19 13:14:27 +03:00
Guillaume Tassery
7063ab3c38
Set max CIDR for IPV6 cidr function
2019-07-19 11:39:25 +02:00
Vitaly Baranov
e6aebb5b13
Fix after review.
2019-07-19 12:19:47 +03:00
Vitaly Baranov
9fb3135c23
Improve utility zookeeper-adjust-block-numbers-to-parts.
...
Add filter on shards and tables.
Add flag --dry-run.
The utility now checks cversion before doing anything.
2019-07-19 03:39:22 +03:00
Weiqing Xu
ec3c5a369d
support reading from HA mode HDSF
...
the driver libhdfs3 can support HA mode. When the uri doesn't contain
port num, the libhdfs3 will handle it in HA mode, treat the uri as
nameservice name and read the real host and port from configuration file
as the origin Java client.
the default configuration file is hdfs-client.xml in the working
directory, it also can be set in env variable "LIBHDFS3_CONF".
the format of the configuration file is same with hdfs-site.xml.
2019-07-19 07:32:59 +08:00
CurtizJ
b9dc472071
Merge remote-tracking branch 'upstream/master' into order-by-efficient
2019-07-19 01:09:59 +03:00
Ivan Blinkov
d0f65bd5b0
Merge pull request #6059 from izebit/russian-documentation
...
Russian documentation about functions for working with external dictionaries
2019-07-19 01:08:28 +03:00
Artem Konovalov
86d421cee6
changes after code review
2019-07-19 00:42:48 +03:00
Artem Konovalov
0a3bd5ed00
changes after code review
2019-07-19 00:41:06 +03:00
Artem Konovalov
7808f944e9
changes after code review
2019-07-19 00:36:25 +03:00
Artem Konovalov
c2fee7345d
fix typos
2019-07-19 00:21:16 +03:00
Artem Konovalov
8e93b500fd
fix typos
2019-07-19 00:16:45 +03:00
Artem Konovalov
43c13d8283
fix typos
2019-07-19 00:15:34 +03:00
Artem Konovalov
60f3e4dd8c
fix typos
2019-07-19 00:11:00 +03:00
Artem Konovalov
1cb5b77fa8
fix typos
2019-07-19 00:09:56 +03:00
Artem Konovalov
a5196861ff
fix typos
2019-07-19 00:05:38 +03:00
Artem Konovalov
dcc0433dd6
fix typos
2019-07-18 23:59:01 +03:00
Artem Konovalov
839acc948e
add russian documentation about functions for working with external dictionaries
2019-07-18 23:44:05 +03:00
Alexey Milovidov
a8caf269ca
Better rehash loop
2019-07-18 23:28:47 +03:00
Alexey Milovidov
268854d14e
Fix non-deterministic result of "uniq" aggregate function in extreme rare cases
2019-07-18 23:21:24 +03:00
Alexey Milovidov
71eed6507e
Removed manual memory tracking when appropriate
2019-07-18 23:10:31 +03:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
...
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
alexey-milovidov
d78bdd37d5
Merge pull request #6056 from amosbird/c4
...
fix clang build with certain toolchain
2019-07-18 22:58:44 +03:00
dimarub2000
d1e6e6ed4b
fix json
2019-07-18 22:17:02 +03:00
dimarub2000
c9ec16987e
minor fixes
2019-07-18 22:09:45 +03:00
dimarub2000
1ab0893432
minor fixes
2019-07-18 21:59:31 +03:00
dimarub2000
20a846d753
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-18 21:52:18 +03:00
CurtizJ
12b3560def
build fixes
2019-07-18 21:34:15 +03:00
Dmitry Rubashkin
7382cb41fa
CREATE TABLE AS table_function()
2019-07-18 21:29:49 +03:00
alexey-milovidov
d3449e118f
Update TaskStatsInfoGetter.cpp
2019-07-18 21:24:38 +03:00
Amos Bird
9d5693bd69
fix clang build with certain toolchain
2019-07-19 02:17:26 +08:00
chertus
8f168005d9
disable (not working) defaults for table functions in HTTP
2019-07-18 19:54:31 +03:00
Artem Konovalov
7d4ebe576d
fix name of a parameter
2019-07-18 18:59:22 +03:00
Artem Konovalov
30ca545b09
fix name of a parameter
2019-07-18 18:56:58 +03:00
chertus
d8579714b8
trying to speedup Allocator::realloc() (attempt 2)
2019-07-18 18:25:23 +03:00
CurtizJ
4380404604
skip block with zero rows in MergingSortedBlockInputStream
2019-07-18 18:09:08 +03:00
chertus
34e1b81f84
trying to speedup Allocator::realloc()
2019-07-18 18:07:41 +03:00
CurtizJ
a3d25790bd
basic implementation of reading in pk order and 'order by' optimization
2019-07-18 17:41:11 +03:00
chertus
6885e892ae
do not damage ColumnsDescription in TTLBlockInputStream (appempt 2)
2019-07-18 16:44:29 +03:00
chertus
5f510d5657
fix damage ColumnsDescription in TTLBlockInputStream
2019-07-18 16:30:02 +03:00
Nik
514851f0f8
Added verification of the length of the protobuff message
2019-07-18 15:58:03 +04:00
proller
3aaa87171f
Debian post install: remove dot from Password for default user.
2019-07-18 14:55:14 +03:00
Alexander Kuzmenkov
9df09f3506
Do not access shared arenas in aggregate function columns.
...
These arenas may be updated concurrently, so it is unsafe to
access them, as illustrated by issue #4402 . Store them separately
and use a different arena for the updates. Change some callers
to accomodate for this.
2019-07-18 14:21:37 +03:00
BayoNet
d48995f1e7
DOCAPI-7444: RU <-> EN docs regular sync. ( #5944 )
...
* DOCAPI-7444: RU <-> EN docs regular sync.
2019-07-18 14:04:45 +03:00