Commit Graph

4726 Commits

Author SHA1 Message Date
Alexey Milovidov
bb61f917b8 Memory leak in Field: investigation [#CLICKHOUSE-2763]. 2017-01-20 05:34:35 +03:00
Alexey Milovidov
5c1ae060a4 Miscellaneous [#CLICKHOUSE-2761]. 2017-01-20 05:22:18 +03:00
Alexey Milovidov
7a971df887 Fixed error in function multiIf [#CLICKHOUSE-2763]. 2017-01-20 04:41:30 +03:00
Alexey Milovidov
904ac284da Fixed error with multiIf function [#CLICKHOUSE-2763]. 2017-01-20 04:18:57 +03:00
Alexey Zatelepin
0eb48dc84e cosmetic fixes [#CLICKHOUSE-2133] 2017-01-19 15:02:30 +03: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
proller
04e2baebed Cmake (#358)
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
db0fce346a Freebsd clang3.8 compile fixes (#352)
* Freebsd clang3.8 compile fixes

* clean
2017-01-18 01:00:23 +04:00
Alexey Milovidov
ffed6b1d5e Added one more column to system.parts [#CLICKHOUSE-2757]. 2017-01-17 23:54:32 +03:00
Alexey Milovidov
e407bf879c system.parts: added a column for primary key size in bytes in RAM [#CLICKHOUSE-2757]. 2017-01-17 23:49:16 +03:00
Alexey Milovidov
c74d585b0b Merge branch 'master' of github.com:yandex/ClickHouse 2017-01-17 23:48:14 +03:00
Alexey Milovidov
9f48890a8e NULLs: added missing method [#CLICKHOUSE-4]. 2017-01-17 23:47:37 +03:00
proller
2fe033d00e Fix compiling in freebsd/clang 2017-01-17 18:03:32 +00:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
Alexey Milovidov
7a526b88d4 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:17:40 +03: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
335a69d79c Added type inference for lambdas [#CLICKHOUSE-11]. 2017-01-14 10:19:47 +03:00
Alexey Milovidov
0493c3ff77 Added missing file [#CLICKHOUSE-11]. 2017-01-14 09:22:28 +03:00
Alexey Milovidov
c83ae92d41 Analyzers: added AnalyzeLambdas step [#CLICKHOUSE-11]. 2017-01-14 08:19:48 +03:00
Alexey Milovidov
d99a642b9b Fixed error in 'distributed_product_mode' setting, which breaks 'allow_databases' option [#CLICKHOUSE-2718]. 2017-01-14 06:10:16 +03:00
Alexey Milovidov
4fe2a4432a External dictionaries: MySQL source: Allow columns with names from reserved words [#CLICKHOUSE-2717]. 2017-01-14 05:30:03 +03:00
Alexey Milovidov
b16c9a3e12 Fixed error with 'max_memory_usage_for_user' setting during distributed query execution [#METR-24117]. 2017-01-14 04:55:35 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
alexey-milovidov
915495634c Merge pull request #327 from proller/freebsd
Freebsd: preparing port, misc build/install chandes
2017-01-12 23:26:10 +04:00
artpaul
3292ca81cb fix distinct on single string field [#CLICKHOUSE-28] 2017-01-12 20:34:41 +05:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
Alexey Milovidov
eb2c8196fd Analyzers: development [#METR-23947]. 2017-01-12 05:08:33 +03:00
Alexey Milovidov
522e96d4bf Analyzers: added support for lambda expressions when searching for columns [#METR-23947]. 2017-01-12 05:06:50 +03:00
Alexey Milovidov
916552f175 Improved formatting of lambda expressions [#METR-23947]. 2017-01-12 04:55:14 +03:00
Alexey Milovidov
e8855c6f0f Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079]. 2017-01-12 03:26:39 +03:00
Alexey Milovidov
0f03a7bbdc Fixed error with checking number of arguments of functions [#METR-24078]. 2017-01-11 05:47:43 +03:00
artpaul
402f974fb7 fix where <const> in (<const>) expression; [#METR-24043] 2017-01-10 19:16:37 +05:00
alexey-milovidov
c58cb0ccf2 Merge pull request #295 from proller/METR-23811
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
proller
1649b003a0 Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811] 2017-01-09 16:42:29 +03:00
artpaul
79eb282eda fix formatting of LIMIT BY; add tests with remote() [#METR-23881] 2017-01-09 18:24:54 +05:00
alexey-milovidov
a07898cc5a Merge pull request #306 from yandex/issue-200
#200: remove dependency to the view if backend storage can't be created
2017-01-09 02:34:00 +04:00
artpaul
903e1eab98 #200: remove dependency to the view if backend storage can't be created 2017-01-09 01:34:40 +05:00
Alexey Zatelepin
502864b40a Merge branch 'master' into METR-23582
Conflicts:
	dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
	dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a [#METR-23582]
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
Alexey Milovidov
6e5dd26dda Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-07 02:47:16 +03:00
Alexey Milovidov
2436d43637 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-07 01:54:05 +03:00
Alexey Milovidov
d89ee33ce2 Squashed commit of the following:
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:35:01 2017 +0300

    Style [#METR-2944].

commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:33:11 2017 +0300

    Miscellaneous [#METR-2944].

commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:30:19 2017 +0300

    Miscellaneous [#METR-2944].

commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:11:41 2017 +0300

    Miscellaneous [#METR-2944].

commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:56:15 2017 +0300

    Miscellaneous [#METR-2944].

commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:47:52 2017 +0300

    Miscellaneous [#METR-2944].

commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:46:05 2017 +0300

    Miscellaneous [#METR-2944].

commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:39:46 2017 +0300

    Miscellaneous [#METR-2944].

commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:38:03 2017 +0300

    Miscellaneous [#METR-2944].

commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:34:15 2017 +0300

    Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
2f7ff07e1f Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-06 19:33:05 +03:00
Alexey Milovidov
89d4873b9e Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-06 16:36:08 +03:00
Alexey Milovidov
a1a6ddd01e Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 19:34:05 +03:00
Alexey Milovidov
76b06c3d42 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 14:03:59 +03:00
Alexey Milovidov
c63882f048 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 14:03:24 +03:00
Alexey Milovidov
0f7d0c3969 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 12:26:49 +03:00
Alexey Milovidov
51df4e19e2 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 10:25:23 +03:00
Alexey Milovidov
96e1ed3412 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 21:16:18 +03:00
Alexey Milovidov
f553cb5197 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 21:13:41 +03:00
Alexey Milovidov
60623e7ca5 Preparations [#METR-20307]. 2017-01-04 20:34:45 +03:00
Alexey Milovidov
ed107f675a Preparations [#METR-20307]. 2017-01-04 20:25:07 +03:00
Alexey Milovidov
779d549d3d Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 18:05:31 +03:00
Alexey Milovidov
a1ebd7f103 Added support for qualified asterisk in parser [#METR-20307]. 2017-01-04 14:23:27 +03:00
Alexey Milovidov
25dd3affb3 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 12:05:23 +03:00
Alexey Milovidov
9acd77d985 Miscellaneous [#METR-2944]. 2017-01-04 12:04:01 +03:00
Alexey Milovidov
a4d9d766b6 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 09:52:02 +03:00
Alexey Milovidov
3af6d65c2b Miscellaneous [#METR-2944]. 2017-01-04 09:51:01 +03:00
Alexey Milovidov
8074f2de59 Implemented TODO [#METR-19266]. 2017-01-04 07:30:18 +03:00
Alexey Milovidov
f7fa5b73b9 Changed names of files with NULL-related data to be more consistent [#METR-19266]. 2017-01-04 07:15:38 +03:00
Alexey Milovidov
625b6c6050 Function "sleep": do not sleep during query analyze (continued) [#METR-21574]. 2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23 Function "sleep": do not sleep during query analyze [#METR-21574]. 2017-01-04 06:37:59 +03:00
Alexey Milovidov
77a0159ff8 Miscellaneous [#METR-2944]. 2017-01-04 06:35:05 +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
Alexey Milovidov
604bd6c5a3 Less const_casts [#METR-2944]. 2017-01-03 04:42:17 +03:00
Alexey Milovidov
9dc44c1a3a Renamed methods for bulk binary serialization (continued) [#METR-2944]. 2017-01-03 02:31:26 +03:00
Alexey Milovidov
1f3aeb066a Renamed methods for bulk binary serialization (continued) [#METR-2944]. 2017-01-03 02:08:09 +03:00
Alexey Milovidov
701ca28c85 Renamed methods for bulk binary serialization [#METR-2944]. 2017-01-03 01:47:28 +03:00
Alexey Milovidov
3fbb597694 Addition to prev. revision [#METR-2944]. 2017-01-02 23:52:30 +03:00
Alexey Milovidov
5460a13d58 Addition to prev. revision [#METR-2944]. 2017-01-02 23:47:59 +03:00
Alexey Milovidov
ca37f28b5f Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944]. 2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34 Renamed method (less confusion) [#METR-2944]. 2017-01-02 23:12:12 +03:00
Alexey Milovidov
de845f7801 Fixed style [#METR-23933]. 2016-12-31 05:05:37 +03:00
alexey-milovidov
376db5785b Merge pull request #297 from proller/METR-23933
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87 Merge branch 'master' into issue-111 2016-12-31 05:53:52 +04:00
Vitaliy Lyudvichenko
694b0fad97 Reverted system.events changes. Added docs for system.metrics. [#METR-239111] 2016-12-31 03:06:23 +03:00
Vitaliy Lyudvichenko
07d720565c Added profile events for INSERTs. [#METR-23930]
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e Added memory tracking events and columns for merges. [#METR-23911] 2016-12-31 02:39:53 +03:00
proller
c2a6681522 Add header Keep-Alive: timeout=.. to http server responce [#METR-23933] 2016-12-30 23:52:56 +03:00
Vitaliy Lyudvichenko
35485c03d9 Fixed race condition during dictionaries' config file update. [#METR-22224] 2016-12-30 21:30:29 +03:00
artpaul
c74b8e2366 add comments; count exact number of inserted rows [#METR-23881] 2016-12-30 18:40:12 +05:00
artpaul
333d47ee2e don't allow partial sort in case if LIMIT BY is present [#METR-23881] 2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12 fix calculation of condition for skipping all block [#METR-23881] 2016-12-30 16:15:17 +05:00
Alexey Milovidov
1c9d06638e Removed function that was in a wrong place [#METR-2944]. 2016-12-30 09:48:11 +03:00
Alexey Milovidov
81a08bcd87 Addition to prev. revision [#METR-19266]. 2016-12-30 08:55:23 +03:00
Alexey Milovidov
3f9fc77e22 Fixed most cases of misleading messages "Could not print diagnostic info because two last rows aren't in buffer (rare case)" [#METR-20000]. 2016-12-30 08:40:49 +03:00
Alexey Milovidov
3336a66161 Addition to prev. revision [#METR-19266]. 2016-12-30 08:31:52 +03:00
Alexey Milovidov
80937d8226 Addition to prev. revision [#METR-19266]. 2016-12-30 08:31:14 +03:00
Alexey Milovidov
1dd26b4487 Addition to prev. revision [#METR-19266]. 2016-12-30 08:22:45 +03:00
Alexey Milovidov
baf29f5c48 NULLs support: fixed totally wrong code [#METR-19266]. 2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a Great simplification [#METR-2944]. 2016-12-30 04:53:21 +03:00
Alexey Milovidov
e3849124f1 Fixed wrong code [#METR-19266]. 2016-12-30 03:31:38 +03:00
Alexey Milovidov
ee2c5f0d65 Fixed error in format PrettySpace [#METR-2944]. 2016-12-30 03:24:56 +03:00
Alexey Milovidov
a4a77d8bc0 Function visibleWidth: fixed error [#METR-2944]. 2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840 Addition to prev. revision [#METR-2944]. 2016-12-30 03:19:05 +03:00
Alexey Milovidov
b4e18e2222 Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944]. 2016-12-30 03:15:50 +03:00
Alexey Milovidov
f71c49ff6f Addition to prev. revision [#METR-22189]. 2016-12-30 02:12:56 +03:00