Alexey Milovidov
9940b4f8ff
Passing settings to ser/de of data types: development #1710
2018-06-08 05:26:44 +03:00
proller
347579ce46
Cmake: mark system includes as SYSTEM ( #1449 )
...
* contrib: cctz as submodule. update cctz.
* pbuilder: add ubuntu bionic, devel
* Cmake: mark system includes as SYSTEM
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
Alexey Milovidov
b9b89a5590
Less dependencies [#CLICKHOUSE-2]
2018-06-05 22:46:49 +03:00
Alexey Milovidov
734cebdf09
Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2]
2018-06-03 19:51:31 +03:00
Vitaliy Lyudvichenko
bd4d8a6766
Add profile events and settings logging. [#CLICKHOUSE-2910]
2018-05-17 19:01:41 +03:00
Alexey Milovidov
fd0ee5c6b1
Style [#CLICKHOUSE-2]
2018-05-07 05:14:24 +03:00
Nikolai Kochetov
9e05052c2a
merged with master
2018-04-16 18:35:11 +03:00
Nikolai Kochetov
7b8a306e34
minor fixes
2018-04-16 18:11:13 +03:00
Alexey Milovidov
f02239a307
Fixed linkage of tests [#CLICKHOUSE-2]
2018-04-08 07:54:23 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Alexey Zatelepin
78d92f6794
add some useful methods, rename for clarity [#CLICKHOUSE-3241]
2018-03-12 22:10:13 +03:00
proller
d6a1f8470f
CLICKHOUSE-3553 Rebuild loggers on every config change ( #1973 )
...
* Macos test fix
* Fix freebsd build
* CLICKHOUSE-3553 Rebuild loggers on every config change
* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/
* CLICKHOUSE-3553 Set new level to all loggers on reload
* Dont use hash
* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
Alexey Milovidov
fa50fe80a0
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 03:45:32 +03:00
Alexey Milovidov
7415513151
Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51
2018-02-18 08:35:48 +03:00
Alexey Milovidov
921e09b5f8
Merge branch 'master' into header-in-input-streams
2018-02-15 19:20:36 +03:00
Vitaliy Lyudvichenko
56bc773249
Fixed exception catching thrown from compiled .so files. [#CLICKHOUSE-3573]
2018-02-12 23:33:31 +03:00
proller
0c00e47930
Fix tests
2018-02-02 20:29:45 +03:00
proller
288c6c8406
Fix test in macos
2018-01-26 17:18:35 +03:00
Alexey Milovidov
9a02d4f5ff
Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams
2018-01-20 04:20:40 +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
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* 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
2018-01-15 22:07:47 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
Alexey Milovidov
9996e181e1
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-06 21:10:44 +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
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
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
62f7c25522
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:19:21 +03:00
Alexey Milovidov
f3bb24a3bf
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 04:43:19 +03:00
Alexey Milovidov
e71a6df79c
Fixed warnings [#CLICKHOUSE-2].
2017-12-03 06:22:25 +03:00
Alexey Milovidov
c748493a86
Better [#CLICKHOUSE-2].
2017-12-02 05:47:12 +03:00
Alexey Milovidov
acd78e4891
Better [#CLICKHOUSE-2].
2017-12-02 00:13:25 +03:00
Roman Lipovsky
cf6dd4e73b
abstractions: runtime components factory + security manager
2017-11-28 04:12:57 +03:00
Alexey Vasiliev
6cb97b9221
ConfigProcessor: do not create config-preprocessed before setting umask [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
Alexey Milovidov
783e812eb7
Fixed error [#CLICKHOUSE-2]
2017-11-04 19:46:14 +03:00
Alexey Milovidov
1aaff5762c
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:20:18 +03:00
Alexey Milovidov
fa8bcccdb9
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 00:50:22 +03:00
Alexey Milovidov
a27981b4ef
Get rid of double whitespaces [#CLICKHOUSE-2].
2017-10-26 21:36:23 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
495daffa16
Miscellaneous [#CLICKHOUSE-2].
2017-08-30 21:13:32 +03:00
Alexey Milovidov
ee553aac65
Updated test of string hashes [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
4eb77e6628
Updated test of string hashes [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
f8b2400a84
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
e47a29fd4b
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-2].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
ce4349b6cd
Fixed error when huge sets for IN, JOIN, DISTINCT cannot be created with exception message "Cannot mremap... Bad address" [#CLICKHOUSE-2].
2017-08-11 02:25:51 +03:00
proller
2344fe7dae
Cmake: fix tests includes ( #1090 )
...
Cmake: fix tests includes
2017-08-10 20:51:45 +03:00
Alexey Milovidov
9406b6a5aa
Get rid of ASTSet, because it is not really an AST and it lead to bugs [#CLICKHOUSE-3148].
2017-07-15 06:48:36 +03:00
Alexey Milovidov
7068d1ff81
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
Vitaliy Lyudvichenko
a098fb170a
Avoid creating multiple global Context. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Alexey Milovidov
f51db5e1f6
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:55:46 +03:00
Alexey Milovidov
d64f2beaf8
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:43:29 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Alexey Milovidov
e073b62301
Fixed build [#CLICKHOUSE-31].
2017-05-23 21:58:38 +03:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
Alexey Milovidov
bf0e64e3b4
Less dependencies [#CLICKHOUSE-2952].
2017-04-16 07:13:18 +03:00
f1yegor
b4c23f122a
Translated comments
2017-04-02 20:37:49 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
Alexey Milovidov
18ecccb856
Moved code to cpp [#CLICKHOUSE-2].
2017-03-25 08:55:49 +03:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
proller
9a1169fef6
fix tests
2017-03-16 13:51:21 +04:00
Alexey Milovidov
26788e3938
Formatting [#CLICKHOUSE-2].
2017-03-13 21:01:46 +03:00
alexey-milovidov
6d5bfc8c6f
Refactoring of numeric DataTypes ( #581 )
...
* Better code [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
proller
f8d1573946
Various arm64 compile fixes on utils ( #394 )
2017-01-25 23:17:13 +04:00
alexey-milovidov
8c0e81f8cb
Remove stringstream performance on very short queries ( #391 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +04:00
Alexey Zatelepin
f5a25c341c
translate comments [#CLICKHOUSE-3]
2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4
parse INTO OUTFILE clause [#CLICKHOUSE-2133]
2017-01-19 03:48:59 +04:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
95e9ef2fc4
Reworked InJoinSubqueriesPreprocessor [#METR-2944].
2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889
Get out garbage from AST [#METR-2944].
2017-01-03 10:37:29 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +03:00
Alexey Milovidov
21f8501ccc
Benchmark: update [#METR-2944].
2016-12-02 06:39:11 +03:00
Alexey Milovidov
43eea71930
Addition to prev. revision [#METR-2944].
2016-11-20 15:51:56 +03:00
Alexey Milovidov
3a16cd3ecc
Added string concatenation operator [#METR-23546].
2016-11-20 07:47:51 +03:00
Alexey Milovidov
eb1ae65eda
Fixed error with analyzing double-distributed subqueries [#METR-23472].
2016-11-14 04:13:56 +03:00
Alexey Milovidov
be7cc18d00
Fixing bad test [#METR-23472].
2016-11-13 05:19:38 +03:00
Vladimir Chebotarev
cdaece7dfa
: More specific usage of static libraries. [#METR-21516]
2016-11-09 21:49:01 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Yuri Dyachenko
065b02494a
add -Wold-style-cast
2016-08-26 22:55:11 +03:00
Alexey Milovidov
56a091cb6e
Throw exception when multi-statements are disabled [#METR-22252].
2016-08-17 08:38:51 +03:00
Alexey Milovidov
b51bdbd0c0
Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811].
2016-08-10 00:48:05 +03:00
Alexey Milovidov
4cf43a7e79
Fixed error when table couldn't alter itself in constructor [#METR-21479].
2016-06-10 23:46:58 +03:00
Alexey Milovidov
7ab7917d12
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:34:48 +03:00
Alexey Milovidov
fc65afb6f0
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:46:03 +03:00
Alexey Milovidov
c1eae3e234
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:37:51 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00