Commit Graph

14915 Commits

Author SHA1 Message Date
alexey-milovidov
db53190854
Update ColumnString.h 2018-03-29 23:21:40 +03:00
Brett Hoerner
fef91af96f Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
Before adding this ignore you would receive the following when using GCC
7.3.1:

[ 82%] Building CXX object dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o
In file included from /ClickHouse/dbms/src/Storages/System/StorageSystemAsynchronousMetrics.cpp:5:0:
/ClickHouse/dbms/src/Columns/ColumnString.h: In member function ‘virtual DB::BlockInputStreams DB::StorageSystemAsynchronousMetrics::read(const Names&, const DB::SelectQueryInfo&, const DB::Context&, DB::QueryProcessingStage::Enum&, size_t, unsigned int)’:
/ClickHouse/dbms/src/Columns/ColumnString.h:96:45: error: ‘*((void*)&<anonymous> +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         const size_t size_to_append = s.size() + 1;
                                       ~~~~~~^~
cc1plus: all warnings being treated as errors
make[2]: *** [dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/build.make:63: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9105: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
2018-03-29 12:02:09 -05:00
Kirill Shvakov
3b09d2dab3 Docs: add Ninja build to the required libraries (#2136)
* Added Ninja build to the required libraries

* remove ninja from required libraries
2018-03-29 05:59:30 -07:00
proller
62b27b539a Debian make: Do not use ninja if not installed 2018-03-29 15:58:22 +03:00
proller
a6f9df105c Allow use encryption for distributed tables (#2065)
* Allow use encryption for distributed tables

* wip

* fix

* rename encryption to secure

* Fix DirectoryMonitor with +secure

* fix

* fix

* Update DirectoryMonitor.cpp

* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
alexey-milovidov
54986af313
Merge pull request #2122 from proller/fix14
CLICKHOUSE-3630: Fix race on logger reload, enable reload
2018-03-29 04:30:30 +03:00
alexey-milovidov
4126c7767d
Merge pull request #2130 from yandex/fix-distributed-batch-inserts
More aggressively move files to broken/ when doing distributed batch inserts
2018-03-29 03:12:28 +03:00
alexey-milovidov
2e15ce6791
Merge pull request #2132 from yandex/small-enhancements
Small enhancements
2018-03-29 03:07:49 +03:00
alexey-milovidov
a2bc046202
Merge pull request #2102 from yandex/fix-detach-database
Shutdown storages when DETACHing a database
2018-03-29 03:02:45 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database 2018-03-29 03:01:07 +03:00
Vitaliy Lyudvichenko
de3791dbda Accpet client-side send and recieve timeouts. [#CLICKHOUSE-2] 2018-03-28 17:10:11 +03:00
Vitaliy Lyudvichenko
701b58b4ff Faster DROP PARTITION. [#CLICKHOUSE-2] 2018-03-28 15:48:40 +03:00
Alexey Zatelepin
aa4f4e62fe mark failed batches as broken [#CLICKHOUSE-3594] 2018-03-28 15:28:15 +03:00
Alexey Zatelepin
00da8a477c report broken files more accurately [#CLICKHOUSE-3594] 2018-03-28 15:28:15 +03:00
proller
239f0974fa CLICKHOUSE-3630: Fix race on logger reload, enable reload 2018-03-28 15:20:45 +03:00
proller
0d70314ead
Fix package make with ninja (#2129)
* Fix package make with ninja
2018-03-28 05:17:23 -07:00
Alexey Zatelepin
f2db72a5e5 move squashing to read side #2084 [#CLICKHOUSE-3540]
This way there is a clear correspondence between blocks inserted into the parent table
and blocks inserted into the materialized view.
2018-03-28 14:41:20 +03:00
alexey-milovidov
0f9501b21f Update clickhouse-server-base.postinst 2018-03-28 05:38:27 +03:00
proller
c0aa85436c METRIQA-2349 centos package: fix adduser: unrecognized option '--disabled-login' 2018-03-28 05:38:27 +03:00
proller
5877498c4a Add clickhouse-report script to server package (#2123)
* Add clickhouse-report script to server package

* fix

* fix

* fix

* Revert "fix"

This reverts commit ef3ded0920.
2018-03-28 05:32:54 +03:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
Show create database
2018-03-28 05:29:36 +03:00
alexey-milovidov
e3cbd3306c
Merge pull request #2081 from yandex/stricter-mutable-column-semantic-2
&& - qualified IColumn::mutate
2018-03-28 05:27:35 +03:00
alexey-milovidov
f48caff360
Update COWPtr.h 2018-03-28 05:27:25 +03:00
alexey-milovidov
72a62ab185
Merge pull request #2128 from proller/fix16
Use ninja for package build
2018-03-28 05:25:24 +03:00
Alex Zatelepin
1be7c09702 add readPrefix()/readSuffix() calls for completeness #2084 [#CLICKHOUSE-3540] 2018-03-27 22:25:50 +00:00
Alexey Zatelepin
88a9b7de91 fix calls to writeSuffix() in PushingToViewsBlockOutputStream #2084 [#CLICKHOUSE-3540]
don't use copyData because it calls writeSuffix() prematurely.
2018-03-27 23:04:40 +03:00
proller
9744ddf70f Use ninja for package build 2018-03-27 21:36:50 +03:00
Alexey Zatelepin
d58483b084 squash blocks when inserting into materialized views #2084 [#CLICKHOUSE-3540] 2018-03-27 20:08:41 +03:00
proller
348b7c3bda clickhouse-test: Fix run without server config 2018-03-27 18:08:51 +03:00
alexey-milovidov
03b01fc249
Merge pull request #2118 from yandex/faster-sync-insert
Faster distributed sync insert
2018-03-26 22:23:41 +03:00
Vitaliy Lyudvichenko
190964f98e Avoid extra waits in copier. [#CLICKHOUSE-2] 2018-03-26 21:39:28 +03:00
Nikolai Kochetov
d63d9a4ffb fix test [#CLICKHOUSE-3590] 2018-03-26 18:48:19 +03:00
KochetovNicolai
d25c244946
Merge pull request #1882 from zhang2014/support/simd_for_lengthUTF-8
ISSUES-1885 UTF8 countCodePoints use SIMD
2018-03-26 18:27:07 +03:00
Alex Zatelepin
c5b04f7f17 Add info about total uncompressed part size to system tables (#2052)
* column size calculating routines now take into account multiple streams [#CLICKHOUSE-2831]

* rename for clarity

* use more appropriate method for calculating table size

* add info about total uncompressed part size to system.parts and system.parts_columns [#CLICKHOUSE-2831]

* rename columns for clarity [#CLICKHOUSE-2831]

* count shared substreams only once [#CLICKHOUSE-2831]
2018-03-26 17:18:04 +03:00
alexey-milovidov
ce5d926492
Merge pull request #2117 from yandex/revert-2110-master
Revert "English translation is updated"
2018-03-26 17:01:10 +03:00
alexey-milovidov
26df2f7a85
Revert "English translation is updated" 2018-03-26 17:00:55 +03:00
alexey-milovidov
f1887fe033
Merge pull request #2105 from elBroom/add-query-id-to-client
Added query_id to client
2018-03-26 01:45:29 +03:00
alexey-milovidov
9ba28666e1
Update Client.cpp 2018-03-26 01:44:54 +03:00
alexey-milovidov
db4944508f
Merge pull request #2100 from tobad357/bugfix/fix-subscribe-multiple-topics
#2095 Make sure to split the topics args list on ','
2018-03-26 01:43:21 +03:00
alexey-milovidov
237c530b4e
Update StorageKafka.cpp 2018-03-26 01:42:36 +03:00
alexey-milovidov
2e5b9b69d6
Merge pull request #2106 from jonatasfreitasv/missing_slash_on_config
Added missing slash on graphite monitoring section
2018-03-26 01:40:25 +03:00
alexey-milovidov
8be06f930b
Merge pull request #2110 from BayoNet/master
English translation is updated
2018-03-26 01:38:45 +03:00
Jonatas Freitas
e07cde4363 Added missing slash on graphite monitoring section 2018-03-25 01:43:12 -03:00
BayoNet
ec86ecbcdc Some typos are fixed. 2018-03-25 05:37:07 +03:00
BayoNet
cd59ff0d54 mysql.md is not translated yet 2018-03-25 05:16:13 +03:00
BayoNet
4d0582f5cf Merge remote-tracking branch 'upstream/master' 2018-03-25 05:14:13 +03:00
BayoNet
a011a466ab English translation update. 2018-03-25 05:04:22 +03:00
elBroom
b80f5ed875 ignoring query_id in interactive mode 2018-03-25 02:50:30 +03:00
elBroom
d406454f39 Added query_id to client 2018-03-25 02:22:58 +03:00
Alexey Zatelepin
2a366afbf5 add shutdowns everywhere [#CLICKHOUSE-3664] 2018-03-24 12:08:32 +00:00