Commit Graph

9951 Commits

Author SHA1 Message Date
Alexey Milovidov
94701c1d17 Addition to prev. revision [#CLICKHOUSE-2]. 2018-01-10 04:43:54 +03:00
Alexey Milovidov
f0391a6358 Addition to prev. revision [#CLICKHOUSE-2]. 2018-01-10 03:15:08 +03:00
Alexey Milovidov
d33023574b Addition to prev. revision [#CLICKHOUSE-2]. 2018-01-10 03:14:06 +03:00
Alexey Milovidov
b4674d3917 Addition to prev. revision [#CLICKHOUSE-2]. 2018-01-10 03:09:22 +03:00
Alexey Milovidov
9da64d5480 Merge branch 'master' of github.com:yandex/ClickHouse 2018-01-10 03:04:20 +03:00
Alexey Milovidov
0bfea2f52c Miscellaneous [#CLICKHOUSe-2] 2018-01-10 03:04:08 +03:00
proller
b0469def79 Remove package clickhouse-compressor, simpler pbuilder test 2018-01-10 02:43:04 +03:00
Alexey Milovidov
d5f6c8365e Fixed test [#CLICKHOUSE-2]. 2018-01-10 00:26:11 +03:00
alexey-milovidov
45c913ccc8 Update AggregateFunctionMinMaxAny.h 2018-01-09 21:51:14 +03:00
Nikolai Kochetov
aefc9210fa added perftest [#CLICKHOUSE-3503] 2018-01-09 21:51:14 +03:00
Nikolai Kochetov
8552434843 added arena in AggregateFunctionSingleValue for strings and numbers [#CLICKHOUSE-3503] 2018-01-09 21:51:14 +03:00
Nikolai Kochetov
cbeeb84999 added http_*_timeout settings [#CLICKHOUSE-3440] 2018-01-09 21:41:01 +03:00
alexey-milovidov
890ad92f90
Merge pull request #1627 from yandex/table-system-parts_columns
Table system.parts_columns
2018-01-09 21:33:55 +03:00
alexey-milovidov
2a7024ba5a Update MergeTreeData.cpp 2018-01-09 21:01:26 +03:00
alexey-milovidov
1292d14185 Update MergeTreeData.cpp 2018-01-09 21:01:26 +03:00
zhang2014
517958ab09 ISSUES-1369 fix typo 2018-01-09 21:01:26 +03:00
zhang2014
be966015c9 ISSUES-1369 add check when create Replacing & Collapsing 2018-01-09 21:01:26 +03:00
Alexey Milovidov
996eafada9 Revert "Remove hard-coded paths in Interpreters/Compiler.cpp"
This reverts commit 3a97fbd0e7.
2018-01-09 20:49:25 +03:00
Alexey Milovidov
f630e4b0a6 Revert "Update gen-compiler-includes.sh"
This reverts commit 6b758edbbc.
2018-01-09 20:49:22 +03:00
Chen Yufei
88ef42c222 Aggressive merge for ReplicatedMergeTree optimize. 2018-01-09 20:44:07 +03:00
Alexey Milovidov
c4e5f8a500 Added test for RIGHT JOIN #1731 2018-01-09 20:31:52 +03:00
Amos Bird
a3d2a4fe4d NonJoinedBlockInputStream generates duplicate records across block.
This patch fixes the iterator incrementation.
2018-01-09 20:30:07 +03:00
proller
694c6ed243 Cmake: move all gtest stuff to one place in dbms/CMakeLists.txt 2018-01-09 20:29:17 +03:00
Alexey Milovidov
d1141ff03b Merge branch 'master' of github.com:yandex/ClickHouse 2018-01-09 20:27:37 +03:00
Alexey Milovidov
fa522ea946 Addition to e505e87bb4 [#CLICKHOUSE-2]. 2018-01-09 20:27:08 +03:00
alexey-milovidov
6b758edbbc Update gen-compiler-includes.sh 2018-01-09 20:24:25 +03:00
Roman Tsisyk
3a97fbd0e7 Remove hard-coded paths in Interpreters/Compiler.cpp
Interpreters/Compiler.cpp contained hard-coded paths for system's
includes needed for query compiler. These paths were not portable
between different Linux distros and gcc/clang versions. For example,
Debian/Ubuntu use /usr/lib/gcc/x86_64-linux-gnu/*/include,
RHEL/Fedora use /usr/lib/gcc/x86_64-redhat-linux/*/include,
others use /usr/lib/gcc/*/include (without x86_64-XXX triplet).

Patch 68850012b "Embedded compiler fixes" attempted to fix this problem
by adding CMAKE_LIBRARY_ARCHITECTURE after /usr/lib. Unfortunally,
CMAKE_LIBRARY_ARCHITECTURE is not defined on RHEL/Fedora because someone
decided to omit "-gnu" from x86_64-redhat-linux (see RHBZ#1531678).

Patch 70e35d0bc "Build fixes (#1718)" added a workaround for
undefined CMAKE_LIBRARY_ARCHITECTURE on RHEL/Fedora, but hasn't fixed
problem with missing /usr/lib/gcc/x86_64-redhat-linux/*/include/
in the list of hardcoded paths.

Remove hard-coded paths and get the list of `-isystem` includes directly
from bundled clickhouse-clang.

Other changes:

- Enable RPATH for the build directory to get working binaries
  without installing them by `make install`.
2018-01-09 20:24:25 +03:00
Roman Tsisyk
5cea83a98d Unbundle contrib/googletest
Allow to use system libgtest-dev/gtest-devel when -DUNBUNDLED is ON.
2018-01-09 20:15:31 +03:00
proller
e505e87bb4 Fix format_schema_path in default config 2018-01-09 20:02:52 +03:00
robot-metrika-test
ee2ea696ba Auto version update to [54331] 2018-01-09 10:46:57 +03:00
Alexey Milovidov
e2d70943b8 Unification of Nested: development [#CLICKHOUSE-2]. 2018-01-02 12:11:13 +03:00
Alexey Milovidov
4371778144 Unification of Nested: development [#CLICKHOUSE-2]. 2018-01-02 09:13:22 +03:00
Alexey Milovidov
fffad2bb3b Added test [#CLICKHOUSE-2]. 2018-01-02 08:56:26 +03:00
Alexey Milovidov
c4687b5fb9 Unification of Nested: development [#CLICKHOUSE-2]. 2018-01-02 08:54:34 +03:00
Alexey Milovidov
005f6b96fa Added function "sleepEachRow" for testing purposes #1713 2017-12-30 07:50:12 +03:00
Alexey Milovidov
b96ae0aa0e Added function "sleepEachRow" for testing purposes #1713 2017-12-30 07:29:51 +03:00
Alexey Milovidov
68de761e6a Fixed comment [#CLICKHOUSE-2]. 2017-12-30 07:03:49 +03:00
Alexey Milovidov
993a5e44d0 Inverted dependencies in StorageFactory (continued) [#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
Alexey Milovidov
7244514859 Less dependencies in StorageFactory: development [#CLICKHOUSE-2]. 2017-12-30 07:00:39 +03:00
proller
70e35d0bcc Build fixes (#1718)
* Embedded compiler fixes

* common lib not needed for clang and lld

* Fix pthread link

* Fix shared build

* Arm fixes 1

* arm fix

* Unused fix

* Build fixes

* release --pbuilder

* release pbuilder fix

* FORCE_PBUILDER_CREATE=1 release

* release: Auto use clang with sanitizers

* Fix build without poco data odbc lib. zlib arm build fix.

* Fix freebsd build and build without mysql

* Tests: Dont eat my cpu!

* Test me
2017-12-29 18:48:20 +03:00
proller
1610abdd5c Tests: Dont eat my cpu! 2017-12-29 16:59:01 +03:00
Nikolai Kochetov
645a8d86f2 fix build 2017-12-28 21:33:07 +03:00
Nikolai Kochetov
ea41197c51 merger with master 2017-12-28 21:20:53 +03:00
Alexey Milovidov
7a2fcd3055 Fixed build on AArch64 [#CLICKHOUSE-1700] 2017-12-28 19:51:53 +03:00
robot-metrika-test
f998b0c859 Auto version update to [54330] 2017-12-28 18:27:14 +03:00
proller
7a813002aa Build fixes 2017-12-28 15:58:39 +03:00
robot-metrika-test
5baa388708 Auto version update to [54329] 2017-12-28 13:55:24 +03:00
Alexey Milovidov
4c3fba2719 Table functions MySQL and ODBC: development [#CLICKHOUSE-3114]. 2017-12-28 08:26:45 +03:00
Alexey Milovidov
cefb5b61fd Table functions MySQL and ODBC: development [#CLICKHOUSE-3114]. 2017-12-28 08:15:09 +03:00
Alexey Milovidov
10bf086397 Table functions MySQL and ODBC: development [#CLICKHOUSE-3114]. 2017-12-28 07:59:04 +03:00
Alexey Milovidov
28c6804c10 Miscellaneous [#CLICKHOUSE-2]. 2017-12-28 07:50:14 +03:00
Alexey Milovidov
fcdd5de47d Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
This reverts commit fcabe8b888.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
0fa9383d3e Revert "Addition to prev. revision [#CLICKHOUSE-2]"
This reverts commit bc4a5794d9.
2017-12-28 07:39:01 +03:00
Alexey Milovidov
798299ba89 Merge branch 'aavdonkin-master' 2017-12-28 07:33:55 +03:00
Alexey Milovidov
1fecbc3ef4 Merging [#CLICKHOUSE-3114] 2017-12-28 07:33:35 +03:00
Alexey Milovidov
9f2cd7a304 Merging [#CLICKHOUSE-3114] 2017-12-28 07:29:53 +03:00
Alexey Milovidov
4448766266 Merging [#CLICKHOUSE-3114] 2017-12-28 07:28:05 +03:00
Alexey Milovidov
4cde48fb20 Merge branch 'master' of github.com:yandex/ClickHouse 2017-12-28 01:40:42 +03:00
Alexey Milovidov
104b09604a Merging [#CLICKHOUSE-3114] 2017-12-28 00:45:05 +03:00
Alexey Milovidov
7e6a6df99e Merge branch 'master' into aavdonkin-master 2017-12-27 23:13:02 +03:00
proller
fc9c1813f8 Fix shared build 2017-12-27 23:07:16 +03:00
proller
4f894a677a Fix pthread link 2017-12-27 23:07:16 +03:00
proller
f5f976a464 common lib not needed for clang and lld 2017-12-27 23:07:16 +03:00
proller
68850012bd Embedded compiler fixes 2017-12-27 23:07:16 +03:00
proller
f9d3c01a01 Add package clickhouse-test, allow testing in pbuilder (#1709)
* Allow 32bit build (with warning)

* Add package clickhouse-test

* Test fixes

* fix

* fix

* clickhouse-test: aloow work in read-only queries dir (--tmp)

* Fix test
2017-12-27 22:01:57 +03:00
Alexey Milovidov
f5b1ad1fa2 Merge branch 'master' into aavdonkin-master 2017-12-27 21:50:01 +03:00
Alexey Milovidov
b79aa5db4e Update documentation about required ZK version; Miscellaneous #1458 2017-12-27 21:34:58 +03:00
proller
8c01852dc6 Fix test 2017-12-27 19:18:51 +03:00
proller
015a6c469b clickhouse-test: aloow work in read-only queries dir (--tmp) 2017-12-27 19:04:15 +03:00
robot-metrika-test
becb843d18 Auto version update to [54328] 2017-12-27 11:09:36 +03:00
Alexey Milovidov
09262ae0d7 Merge branch 'master' of github.com:yandex/ClickHouse 2017-12-27 01:56:30 +03:00
Alexey Milovidov
b2fcf06353 Merging [#CLICKHOUSE-3114] 2017-12-27 00:34:06 +03:00
proller
26c39af91e Allow 32bit build (with warning) 2017-12-26 22:28:41 +03:00
Alexey Zatelepin
280c147a89 remove dependency to StorageReplicatedMergeTree [#CLICKHOUSE-2] 2017-12-26 22:15:15 +03:00
proller
da1233fe3f Fix missing includes 2017-12-26 22:02:00 +03:00
Alexey Milovidov
f87761df90 Merged with master; applied clang-format with newer files [#CLICKHOUSE-3114]. 2017-12-26 21:32:17 +03:00
Alexey Milovidov
203363ea73 Merge branch 'master' of github.com:yandex/ClickHouse 2017-12-26 20:53:36 +03:00
Alexey Milovidov
7a60d773ec Fixed strange code [#CLICKHOUSE-2]. 2017-12-26 20:53:31 +03:00
alexey-milovidov
9bf06a26cc Update PODArray.h 2017-12-26 20:52:22 +03:00
chenxing.xc
e7efee8f41 fix potential memory issue 2017-12-26 20:52:22 +03:00
Alexey Milovidov
a629039b08 Revert "Disable failed test."
This reverts commit e9b3d45c06.
2017-12-26 20:40:30 +03:00
alexey-milovidov
06bc58bb7c
Merge pull request #1705 from ekonkov/master
Allow tests to be excluded from execution
2017-12-26 20:40:07 +03:00
alexey-milovidov
7a0281dd20
Update RangeHashedDictionary.cpp 2017-12-26 20:37:21 +03:00
Evgeny Konkov
e9b3d45c06 Disable failed test. 2017-12-26 17:43:00 +03:00
Evgeny Konkov
2f5ae0766e Disable tests with additional message.
By default disabled tests not running.
Add command line switch to force execution of disabled tests.
2017-12-26 17:42:41 +03:00
Nikolai Kochetov
ca77f3d861 fixed NULL value for range hased dictionary range_min and range_max keys [#CLICKHOUSE-3521] 2017-12-26 15:52:58 +03:00
Nikolai Kochetov
5a3506eada merged with master 2017-12-26 13:54:39 +03:00
Alexey Milovidov
014641a5d9 Addition to prev. revision [#CLICKHOUSE-2] 2017-12-26 01:51:11 +03:00
Alexey Milovidov
c89041ce63 Removed questionable code (2) [#CLICKHOUSE-2]. 2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00 Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
This reverts commit fcabe8b888.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
827e82efa6 Revert "Addition to prev. revision [#CLICKHOUSE-2]"
This reverts commit bc4a5794d9.
2017-12-26 00:57:19 +03:00
Alexey Milovidov
bc4a5794d9 Addition to prev. revision [#CLICKHOUSE-2] 2017-12-26 00:50:55 +03:00
Alexey Milovidov
fcabe8b888 Removed questionable code (2) [#CLICKHOUSE-2]. 2017-12-26 00:32:33 +03:00
Alexey Milovidov
5bacda2ed2 Merge branch 'master' of github.com:yandex/ClickHouse 2017-12-26 00:11:56 +03:00
Alexey Milovidov
a85b2e5a95 Removed questionable code [#CLICKHOUSE-2]. 2017-12-26 00:10:46 +03:00
Nikolai Kochetov
64fd3fe35a added test for Dictionary(range_hashed) [#CLICKHOUSE-3521] 2017-12-25 23:55:45 +03:00
Nikolai Kochetov
0c082b134d fixed engine Dictionary(range_hashed) for open interval date keys [#CLICKHOUSE-3521] 2017-12-25 23:55:37 +03:00
proller
3c54be8d5b Add hostname_in_path=true option to garaphite config (#1701)
* Add hostname_in_path=true option to garaphite config

* fix style

* Update config.xml
2017-12-25 23:36:24 +03:00
Alexey Milovidov
73ae622b12 Moved functions to work with tuples to separate file [#CLICKHOUSE-2]. 2017-12-25 22:10:25 +03:00