Commit Graph

339 Commits

Author SHA1 Message Date
Alexey Zatelepin
704fe146fb update zookeeper submodule 2018-02-16 16:25:10 +03:00
Alexey Zatelepin
a4df86f6aa update zookeeper submodule 2018-02-15 19:23:15 +03:00
proller
d2f1ef686e
Misc build and test fixes (#1905)
* Misc build fixes

* Fix apple tests
2018-02-14 20:27:14 +03:00
Alexey Milovidov
271afb0301 Fixed performance regression after updating RE2 library [#CLICKHOUSE-2] 2018-02-12 06:05:14 +03:00
Alexey Milovidov
edea4456f0 Fixed performance regression after updating RE2 library [#CLICKHOUSE-2] 2018-02-12 05:41:50 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
proller
282448e67d contrib/re2 as submodule 2018-01-22 16:47:00 +03:00
proller
9ea2521944 Fix macos build 2018-01-19 20:04:32 +03:00
Alexey Milovidov
3e3d7b354a Updated re2 to the latest version [#CLICKHOUSE-2] 2018-01-19 04:18:47 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
d8a92e80d6 Use double-conversion as submodule 2018-01-16 21:58:12 +03:00
proller
3c42a24b8a Save/restore CMAKE_CXX_FLAGS around contrib/poco 2018-01-13 04:16:23 +03:00
Alexey Milovidov
010a5367f4 Updated double-conversion (it has only minor changes) #1665 2018-01-11 22:35:14 +03:00
proller
b026eb7797 Use submodule contrib/capnproto, remove include_directories (#1746)
* Add submodule contrib/capnproto

* Use contrib/capnproto, remove include_directories

* Fix include

* Clean

* Fix werror

* Update doc

* Fix

* Final fix

* Fxi
2018-01-11 21:39:52 +03:00
proller
eeffa607f4 Update librdkafka with static build fix 2018-01-09 16:41:05 +03:00
Alexey Milovidov
346b92f07a Reverted accidentially modified submodule [#CLICKHOUSE-2] 2017-12-30 07:00:39 +03:00
Alexey Milovidov
ffca152c45 Inverted dependencies in StorageFactory [#CLICKHOUSE-2]. 2017-12-30 07:00:39 +03:00
proller
0befd2f2f3 Again fix submodule librdkafka 2017-12-28 15:23:53 +03:00
Alexey Milovidov
4448766266 Merging [#CLICKHOUSE-3114] 2017-12-28 07:28:05 +03:00
Alexey Milovidov
bcfde7c6c0 Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2]. 2017-12-25 21:58:39 +03:00
proller
8bc30c8b91 Update contrib/zstd to v1.3.3 2017-12-25 21:09:15 +03:00
Alexey Zatelepin
252454906e fix build 2017-12-25 15:00:51 +03:00
Kirill Shvakov
af400da8eb add toStartOfFifteenMinutes function 2017-12-22 13:04:24 +02:00
Alexey Milovidov
7c2ce6b772 Miscellaneous [#CLICKHOUSE-2]. 2017-12-22 04:56:29 +03:00
Alexey Milovidov
a4e4d263c0 Updated changelog [#CLICKHOUSE-3513]. 2017-12-21 20:43:57 +03:00
proller
673e070418 Temporary revert librdkafka update. will wait for fix https://github.com/edenhill/librdkafka/pull/1602/ 2017-12-21 18:57:33 +03:00
Alexey Milovidov
c0b1dd9876 Returned back accidentially modified submodule [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
ac5433bfbb Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Marek Vavruša
f05eb28d50 contrib: fixed librdkafka to build with Clang 5.0 on macOS 2017-12-21 00:46:50 +03:00
Alexey Milovidov
a5668a1502 Returned back accidentially modified submodule [#CLICKHOUSE-2]. 2017-12-19 20:05:53 +03:00
Alexey Milovidov
b83142ea62 Fixed error found by M.Filimonov (generic implementation of topK aggregate function was totally wrong) [#CLICKHOUSE-2]. 2017-12-19 00:12:15 +03:00
Alexey Milovidov
8302769563 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-16 03:49:03 +03:00
Alexey Milovidov
d0ca8b2533 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-15 21:23:05 +03:00
Alexey Milovidov
8926af2ced Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-15 03:01:59 +03:00
Alexey Milovidov
d164024e3d Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-14 23:58:18 +03:00
Alexey Milovidov
fb38ef9a8e Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-14 06:56:56 +03:00
Alexey Milovidov
4a51a7bb22 Fixed bad translation [#CLICKHOUSE-2]. 2017-12-13 21:42:13 +03:00
Alexey Milovidov
f4e2698ff2 Updated submodule [#CLICKHOUSE-3458]. 2017-12-05 04:14:58 +03:00
Alexey Milovidov
54e601019c Better [#CLICKHOUSE-2]. 2017-12-02 00:40:58 +03:00
alexey-milovidov
ac25fc2eef
Merge pull request #1547 from proller/fix8
googletest as submodule
2017-12-01 19:44:56 +03:00
proller
7a32d62dad Fix compile (missing boost libs) 2017-11-30 20:52:24 +03:00
proller
a520d30a5e zlib fix flags in headers 2017-11-30 20:52:09 +03:00
proller
34eef961de ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC (#1558)
* Cmake: clang + libc++ fixes

* Cmake: fix link of some tests (missing pthread)

* Use -pthread flag for compile

* ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC
2017-11-28 22:57:15 +03:00
proller
91cddb511a googletest as submodule 2017-11-25 00:15:24 +03:00
proller
1dcc0631de Fix macos build 2017-11-24 22:24:07 +03:00
proller
4bd0549bde Fix tcmalloc cmake 2017-11-24 21:34:32 +03:00
proller
6ff1968196 Compile and likk optimize and fixes 2017-11-24 21:08:01 +03:00
Alexey Zatelepin
a665d4c723 update zookeeper submodule 2017-11-23 16:39:58 +03:00
proller
4fcb081f5b Zlib: remove unused test targets 2017-11-22 15:15:17 +03:00
proller
495156389c Remove old contrib/libzlib-ng 2017-11-22 00:21:22 +03:00
proller
411202d5ad Zlib: as submodule, fix compile options; config: add logger options: logger.flush logger.rotateOnOpen 2017-11-21 23:10:37 +03:00
Alexey Milovidov
0e12a9c881 Updated submodule to HEAD of clickhouse branch [#CLICKHOUSE-2]. 2017-11-21 03:30:27 +03:00
Alexey Milovidov
f6f77f5f0b Fixed linking [#CLICKHOUSE-2]. 2017-11-20 08:22:07 +03:00
Alexey Milovidov
4565e30339 Updated submodule [#CLICKHOUSE-2]. 2017-11-20 08:08:53 +03:00
Alexey Milovidov
a7d4fef0d2 Removed useless code [#CLICKHOUSE-2]. 2017-11-20 07:21:14 +03:00
Alexey Milovidov
01e8adbfff Removed "experimental" namespace [#CLICKHOUSE-2]. 2017-11-20 07:15:43 +03:00
Alexey Milovidov
2f2e029e73 Updated Poco submodule [#CLICKHOUSE-2]. 2017-11-19 22:50:07 +03:00
Pavel Yakunin
bb967007ff merged master 2017-11-19 10:55:46 +03:00
Alexey Milovidov
8517251ebd Improved performance of toString function of Date and DateTime arguments [#CLICKHOUSE-2]. 2017-11-18 02:45:49 +03:00
proller
829a70f256 Fix submodule contrib/poco 2017-11-18 02:23:55 +03:00
Alexey Milovidov
8e362ba641 Fixed build [#CLICKHOUSE-2]. 2017-11-17 23:48:00 +03:00
proller
ae6c7f6db9 Fix poco warnings 2017-11-17 16:13:53 +03:00
Alexey Milovidov
c060e9b87a Removed useless file [#CLICKHOUSE-2]. 2017-11-17 00:11:46 +03:00
Vitaliy Lyudvichenko
ab0aff8709 Fixed SummingMergeTree. [#CLICKHOUSE-2] 2017-11-16 23:48:39 +03:00
Alexey Milovidov
a1c0de494c Fixed build [#CLICKHOUSE-2]. 2017-11-12 21:46:38 +03:00
proller
dd1fbf9405 Poco submodule: Fix wrong no-warning option 2017-11-03 18:46:39 +03:00
proller
a6f9d190a5 Remove contrib/libcctz 2017-11-03 15:57:08 +03:00
proller
702c68959a contrib: cctz as submodule. update cctz. 2017-11-03 00:34:32 +03:00
proller
d940d1713c Cmake: silent poco warnings, use compiler version defenition by cmake (#1440)
Cmake: silent poco warnings, use compiler version definition by cmake
2017-11-03 00:30:27 +03:00
proller
dadb32d042 Fix freebsd build (#1428)
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )

* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)

* Fix freebsd build

* Fix build with installed system cityhash
2017-10-31 22:45:58 +03:00
Alexey Milovidov
af89b95f6d Purging old logs or truncating current log file when there are no space left on device with logs [#CLICKHOUSE-3387]. 2017-10-27 21:26:53 +03:00
proller
1130d479d9 Fix submodules 2017-10-27 16:33:35 +03:00
Vitaliy Lyudvichenko
2dd26349fb Update docs. [#CLICKHOUSE-3] 2017-10-27 16:07:59 +03:00
proller
e6fc02b542 Fix contrib/zstd build 2017-10-27 15:56:33 +03:00
proller
67b406dfb9 Fix contrib/zstd build 2017-10-27 15:14:03 +03:00
proller
12c518c6fa Fix submodules 2017-10-27 01:15:56 +03:00
Alexey Milovidov
a27981b4ef Get rid of double whitespaces [#CLICKHOUSE-2]. 2017-10-26 21:36:23 +03:00
proller
00c995bffc Update submodule contrib/poco 2017-10-25 01:03:37 +03:00
proller
f5853a7af6 Fix revision of submodule contrib/librdkafka 2017-10-25 00:56:24 +03:00
alexey-milovidov
8c327e9378 Revert "Make gperftools (libtcmalloc) as submodule and update. (#1381)"
This reverts commit fa2484ea90.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90 Make gperftools (libtcmalloc) as submodule and update. (#1381)
* Update tcmalloc and make submodule

* wip

* wip

* wip

* wip

* clean

* fix

* fix

* fix

* Fix tests
2017-10-24 22:11:42 +03:00
proller
2d2a4afa3f Fix stripping debug info from huge .o (-g0) 2017-10-24 16:30:44 +03:00
Marek Vavruša
a494491f47 contrib: updated librdkafka to v0.11.1@3401fa1
This is the last version with CMake fixes from @proller
2017-10-23 20:47:33 +03:00
proller
ddb0dcd2fd Increase default maximum size of brtie dictionary to 128m ips (#1364)
* Increase default maximum size of brtie dictionary to 128m ips
pbuilder: use newer cmake on ubuntu trusty

* no cmake
2017-10-23 20:19:15 +03:00
Alexey Milovidov
d77686685a Using PODArray instead of std::vector in ZooKeeper library [#CLICKHOUSE-2]. 2017-10-23 18:08:31 +03:00
proller
0eb833c433 Fix tcmalloc compile with old clang 2017-10-18 15:24:56 +03:00
proller
4c7850fdc2 Optional kafka (#1355)
* Zookeeper include fix

* Update submodule contrib/poco

* Fix zookeeper submodule ho-to-make doc

* Update zookeeper submodule

* Update submodule zookeeper

* Fix compile with external zookeeper

* Optional kafka

* fix

* Fix

* fix
2017-10-14 03:53:01 +03:00
proller
142da9550e Fix zookeeper submodule and how-to-make doc (#1354)
* Zookeeper include fix

* Update submodule contrib/poco

* Fix zookeeper submodule ho-to-make doc

* Update zookeeper submodule

* Update submodule zookeeper
2017-10-14 01:53:57 +03:00
alexey-milovidov
9ccdb5420b Merge branch 'master' into upstream-add-kafka 2017-10-13 23:52:42 +03:00
proller
5af5c8d1a7 Update submodule contrib/poco 2017-10-13 23:37:41 +03:00
Alexey Milovidov
b586e2771e Removed old files after creating a submodules [#CLICKHOUSE-2]. 2017-10-13 23:03:44 +03:00
proller
14d9a91b6e Update submodule contrib/poco (warning fixes) 2017-10-13 22:54:22 +03:00
alexey-milovidov
e1e65d7298 Update CMakeLists.txt 2017-10-13 22:24:37 +03:00
proller
4844c99d9d zookeeper 3.4.10 as submodule (#1304)
* zookeeper 3.4.10 as submodule

* fix

* Apply patch
2017-10-13 22:02:41 +03:00
proller
64194c9b03 Updating poco and making submodule (#1263)
* Updating poco part 1: use submodule

* switch to tmp submodule

* update submodule

* wip

* wip

* wip

* wip

* wip

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* test

* wip

* wip

* wip

* wip

* wip

* wip

* Remove werror

* wip

* wip

* wip

* wip

* wip

* Block pipe signal

* Update poco

* Update and fix poco

* Better sigpipe handler

* Better block sigpipe

* Update BaseDaemon.cpp
2017-10-13 21:58:19 +03:00
proller
fd072b58bb zstd, lz4 as submodule (#1214)
* Contrib: use zstd, lz4 as submodule

* fix shared build

* re-test me.

* wip

* Update CHANGELOG_RU.md

* Update CHANGELOG.md

* Update CHANGELOG_RU.md

* Whitespaces [#CLICKHOUSE-2].

* Implemented TODO [#CLICKHOUSE-2].

* Whitespaces [#CLICKHOUSE-2].

* Remove wrong test

* Implemented TODO [#CLICKHOUSE-2].

* Moved chown to correct place [#CLICKHOUSE-2].

* Resolves #1273. Exception safe users update. [#CLICKHOUSE-3]

* Less noisy logging. [#CLICKHOSUE-2]

* Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]

* Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)

* Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]

* test me

* Fixing documentation fragment about "default" user. It is not mandatory anymore.

* append yurial/clickhouse-client to docs/interfaces

* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].

* Removed tcp_ssl_port by default [#CLICKHOUSE-2].

* Update MergeTreeDataMerger.cpp

* Update ShellCommand.cpp

* Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]

* Update ExecutableDictionarySource.cpp

* Update ExecutableDictionarySource.cpp

* Miscellaneous changes after merge [#CLICKHOUSE-2].

* Improve tests: allow redefine some values (clickhouse path, ports, ...)

* Received signal Segmentation fault (#1300) (#1302)

* Received signal Segmentation fault (#1300)

* Add test

* Tests: Use new possibly redefined values from env (in 2 tests)

* Proper fix for the issue: better exception message [#CLICKHOUSE-2].

* Split GatherUtils.cpp for faster compile (#1312)

* Split GatherUtils.cpp for faster compile

* remove GatherUtils.cpp

* Fix array writing (#1314)

* changed MergedBlockOutputStream [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* added test [#CLICKHOUSE-3341]

* fixed test [#CLICKHOUSE-3341]

* refactoring and comments [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* Update ColumnArray.h

* Update ActionBlocker.h

* Fix section tabulation

* Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]

* Update ActionBlocker.h

* Improvement [#CLICKHOUSE-2].

* Try fix strange terminate (#1329)

* Tests: External: rename --use_http  => --no_http and fix

* Try fix strange terminate

* Misc [#CLICKHOUSE-2].

*  Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa) (#1333)

* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )

* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)

* Fix complex queries with GLOBAL IN and UNION ALL  (#CLICKHOUSE-3356) (#1339)

* TEST only: why initQueryAnalyzer ?

* Better tests

* missing file

* Missing file

* Add test

* Test fixes

* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].

* Removed tcp_ssl_port by default [#CLICKHOUSE-2].

* Better tests

* comment

* clean

* REmove wrong code

* clean

* dbms: Added compression level for ZSTD. [#METR-26742]

* dbms: CompressionSettingsSelector. [#METR-21516]

* dbms: Minor fix. [#METR-21516]

* Fix SummingMergeTree argument checking logic.

This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 21:52:23 +03:00
Marek Vavruša
011658bb02 contrib: include librdkafka as submodule 2017-10-10 08:33:00 -07:00
Vladimir Chebotarev
07c964ef3b contrib: Fixed unwind build under GCC 7. [#METR-21516]
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 .
2017-09-28 23:28:37 +03:00
proller
7d0e5e786e Compile fixes 2017-09-24 15:41:29 +03:00
proller
a355256dd6 Revert "Removed build of shared library and test executables for libzlib-ng [#CLICKHOUSE-2]."
This reverts commit c208220566.
2017-09-18 15:44:54 +03:00