Commit Graph

7459 Commits

Author SHA1 Message Date
Alexey Zatelepin
1ce0300c51 better detection of local timezone id [#CLICKHOUSE-2852] 2017-03-23 20:13:04 +04:00
Alexey Milovidov
7fa4459f56 Fixed error in config [#CLICKHOUSE-2762]. 2017-03-23 18:38:49 +03:00
George3d6
f338a747b0 Update Client.cpp (#615)
* Update Client.cpp

* Update Client.cpp

Added a check before displaying the % completed to see if progress.total_rows is equal to zero (in order not to display faulty information for table where the % can't be computed). Also added the "elapsed_ns > 500000000" check so that the % still renders in sync with the progress bar.
2017-03-23 04:57:11 +04:00
proller
670e98fa92 allow several <graphite> targets (#603)
* allow several <graphite> targets

* fix

* fix

* Adjustable parts

* changelog version

* fix

* changelog

* Style fixes

* attachSystemTables

* config describe

* fixes

* fixes
2017-03-21 23:08:09 +04:00
robot-metrika-test
daefb877df Auto version update to [54190] 2017-03-21 21:41:01 +03:00
Alexey Milovidov
c21b4c52c5 Misc [#CLICKHOUSE-3]. 2017-03-21 21:39:07 +03:00
Alexey Milovidov
9d5ea2163c Fixed error with FixedString filtering [#CLICKHOUSE-2898]. 2017-03-21 21:37:35 +03:00
Vitaliy Lyudvichenko
349c96ec8f Resolved #619. Eliminated copy paste from benchmark util. [#CLICKHOUSE-3] 2017-03-21 15:18:56 +03:00
robot-metrika-test
f1a66ab2ef Auto version update to [54189] 2017-03-21 14:34:27 +03:00
Alexey Milovidov
d3ae1267eb Fixed error when parts of unlimited total size could be selected for merge in case of low free disk space [#CLICKHOUSE-2895]. 2017-03-20 23:29:12 +03:00
Alexey Milovidov
910c542994 Added more bitwise functions [#CLICKHOUSE-2884]. 2017-03-20 22:16:02 +03:00
Alexey Zatelepin
fccbc82c24 translate comments 2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034 Allow including config elements from ZooKeeper [#CLICKHOUSE-2794] 2017-03-19 21:58:12 +04:00
robot-metrika-test
72f4236656 Auto version update to [54187] 2017-03-17 00:04:41 +03:00
robot-metrika-test
24ae6cb539 Auto version update to [54185] 2017-03-16 19:47:27 +03:00
proller
4271ef80ea fix moveing cmake files 2017-03-16 19:46:05 +03:00
Vitaliy Lyudvichenko
3bdb1b6bb0 Merge pull request #600 from yandex/CLICKHOUSE-2886
Fix Vertical merge in case of OPTIMIZE FINAL with single part.
2017-03-16 18:31:01 +03:00
proller
5b8ed657f9 fix build (#602)
* fix build

* fix freebsd
2017-03-16 18:04:05 +03:00
Vitaliy Lyudvichenko
d7d22b80e5 Fix Vertical merge in case of OPTIMIZE FINAL with single part. [#CLICKHOUSE-2886] 2017-03-16 13:42:00 +03:00
proller
8ea8b8a215 add missing file 2017-03-16 13:51:41 +04:00
proller
a08714105b Simpler vercorclass 2017-03-16 13:51:41 +04:00
proller
930ac5b2ce move ClickHouseRevision to dbms 2017-03-16 13:51:41 +04:00
proller
28ed324702 add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs 2017-03-16 13:51:41 +04:00
proller
9a1169fef6 fix tests 2017-03-16 13:51:21 +04:00
Bogdan Voronin
a3ff193fe3 Add log merge for replicas 2017-03-16 00:23:02 +04:00
proller
d777cab172 link Storages/System via lib 2017-03-15 23:43:02 +04:00
proller
25caed0c03 move all attaches of system tables to attach_system_tables.cpp 2017-03-15 23:43:02 +04:00
Alexander Prudaev
227312875c fix PODArray::resize_fill 2017-03-15 23:42:37 +04:00
Alexey Milovidov
dd0b0205a1 More verbose error message [#CLICKHOUSE-2885]. 2017-03-14 22:31:15 +03:00
Alexey Milovidov
701f69de6b More specific error code [#CLICKHOUSE-2]. 2017-03-14 22:06:25 +03:00
Ravengg
b47cc72701 Fix part log (#591)
* fix_part_log

* fixed language back

* add reset part_log back

* reset part_log when don't need more

* Fix header

* fix
2017-03-14 19:58:34 +04:00
Alexey Milovidov
4e67e05835 Fixed error [#CLICKHOUSE-2]. 2017-03-14 03:14:19 +03:00
Alexey Milovidov
d877718bb6 Fixed error [#CLICKHOUSE-2]. 2017-03-14 02:13:49 +03:00
Alexey Milovidov
df81e7458f Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-14 00:50:15 +03:00
Alexey Milovidov
0a914b41a8 Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-14 00:48:58 +03:00
Alexey Milovidov
8f9a915fef Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-14 00:46:18 +03:00
Alexey Milovidov
79dd801348 Fixed error [#CLICKHOUSE-2]. 2017-03-14 00:37:53 +03:00
Alexey Milovidov
bd34b62f4a Avoid most of cases when server is aborted after exception 'Memory limit (for user) exceeded' [#CLICKHOUSE-2863]. 2017-03-13 23:38:42 +03:00
Alexey Milovidov
ef5b9a8c5c Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-13 22:26:31 +03:00
Alexey Milovidov
1c6c751108 Better overloads [#CLICKHOUSE-2]. 2017-03-13 22:23:56 +03:00
Alexey Milovidov
f9b4b2012f Removed zero-width spaces [#CLICKHOUSE-2]. 2017-03-13 21:02:45 +03:00
Alexey Milovidov
26788e3938 Formatting [#CLICKHOUSE-2]. 2017-03-13 21:01:46 +03:00
Alexey Milovidov
a6a18db6da Merge branch 'translate/comments' of https://github.com/f1yegor/ClickHouse into f1yegor-translate/comments 2017-03-13 20:51:22 +03:00
Alexey Milovidov
7606eef20c Style [#CLICKHOUSE-2]. 2017-03-13 20:37:20 +03:00
Alexey Milovidov
07f256015b Revert "Update Client.cpp"
This reverts commit 4eb969087d.
2017-03-13 20:35:17 +03:00
alexey-milovidov
4eb969087d Update Client.cpp 2017-03-13 21:33:18 +04:00
ks1322
afbd2f78d8 pager for command line client 2017-03-13 00:10:52 +03:00
f1yegor
401425bb89 translate comments 2017-03-12 20:18:07 +01:00
Alexey Milovidov
9dc1f93427 Fixed error [#CLICKHOUSE-2]. 2017-03-12 19:20:12 +03:00
Alexey Milovidov
59613e1da4 Fixed build [#CLICKHOUSE-2882]. 2017-03-12 19:09:39 +03:00
Alexey Milovidov
a79eb483a2 Added test [#CLICKHOUSE-2882]. 2017-03-12 18:54:40 +03:00
Alexey Milovidov
870d36ed5c Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 18:39:49 +03:00
Alexey Milovidov
8f6966de5a Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:27:25 +03:00
Alexey Milovidov
8184846ee0 Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:16:48 +03:00
Alexey Milovidov
65beb6f961 Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:03:07 +03:00
Alexey Milovidov
a564fa1872 Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:01:19 +03:00
Alexey Milovidov
7532a1d564 Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882]. 2017-03-12 15:56:59 +03:00
Alexey Milovidov
a380fa88da Fixed debug build [#CLICKHOUSE-2]. 2017-03-12 14:09:25 +03:00
Alexey Milovidov
8912e5ea2b DataTypeNull: move code to cpp [#CLICKHOUSE-2]. 2017-03-12 13:38:46 +03:00
Alexey Milovidov
13e1cdc7b5 DataTypeNull: move code to cpp [#CLICKHOUSE-2]. 2017-03-12 13:35:26 +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
03d525942a Added generic version for comparison operators [#CLICKHOUSE-2881]. 2017-03-12 07:22:52 +03:00
Alexey Milovidov
ef3e44e1bc Comments [#CLICKHOUSE-2881]. 2017-03-12 07:18:17 +03:00
Alexey Milovidov
290717a88c Revert "Removed useless code [#CLICKHOUSE-2877]."
This reverts commit bd70653fc6.
2017-03-11 08:23:18 +03:00
Alexey Milovidov
612194d53a Miscellaneous [#CLICKHOUSE-2]. 2017-03-11 08:23:01 +03:00
Alexey Milovidov
37d6ee8d49 Attempt to improve performance for comparisons of FixedString(16) [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
724599a369 Added test [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
4311a09a9f Enabled fater equality/inequality comparisons for FixedString(16) [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
66fa4b9e39 Faster comparison operations for FixedString(16), development [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
3c38ba1f1c Improved performance of ColumnFixedString::filter [#CLICKHOUSE-2877]. 2017-03-11 07:41:28 +03:00
Alexey Milovidov
30aae40300 Removed usage of iconv [#CLICKHOUSE-2879]. 2017-03-11 07:39:16 +03:00
Alexey Milovidov
93bb49cecd Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879]. 2017-03-11 07:36:14 +03:00
Alexey Milovidov
bd70653fc6 Removed useless code [#CLICKHOUSE-2877]. 2017-03-11 04:36:07 +03:00
Alexey Milovidov
a3584e5a57 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:29:45 +03:00
Alexey Milovidov
f15efc4e63 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:25:27 +03:00
Alexey Milovidov
5441fd6ac6 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:20:14 +03:00
Alexey Milovidov
61add0f252 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:18:13 +03:00
Alexey Milovidov
785e32197c Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:15:25 +03:00
Alexey Milovidov
533a103c3a Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:15:03 +03:00
Alexey Milovidov
4871ff8ef5 Moved code to cpp [#CLICKHOUSE-2877]. 2017-03-11 04:12:51 +03:00
Alexey Milovidov
2d6d90a2cc ColumnFixedString: better 'replicate' method [#CLICKHOUSE-2877]. 2017-03-11 04:12:14 +03:00
Alexey Milovidov
93a930859e Fixed error [#CLICKHOUSE-2877]. 2017-03-11 03:52:20 +03:00
Alexey Milovidov
48de103e0e Fixed error [#CLICKHOUSE-2877]. 2017-03-11 03:49:25 +03:00
Alexey Milovidov
7b33308853 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 03:44:07 +03:00
Alexey Milovidov
e8d2a5ece8 Moved code to .cpp [#CLICKHOUSE-2877]. 2017-03-11 03:38:30 +03:00
proller
b6e01cd47e Fix isolated usage of all .h files, move some code to .cpp (#578)
* split ColumnAggregateFunction.h

* format

* Allow use re2_st without cmake

* use std type in find_first_symbols.h

* fix ArrayEvaluator.h

* include fixes

* split ColumnConstAggregateFunction.h

* fix StorageMaterializedView.h

* split AddingDefaultBlockOutputStream.h

* move CSVRowInputStream::updateDiagnosticInfo to .cpp

* split ParserEnumElement.h

* format

* split DB/Parsers/ParserUseQuery.h

* clean
2017-03-11 04:27:59 +04:00
proller
81594df4d6 split FunctionsString.h (#571)
* split FunctionsString.h

* wip

* wip

* format

* wip
2017-03-10 21:53:32 +04:00
proller
cfdff04a34 try enable https dictionaries test 2017-03-10 21:53:07 +04:00
proller
a2d78e674f split FunctionsStringSearch.h (#572)
* split FunctionsStringSearch.h

* wip

* includes

* format
2017-03-10 21:52:36 +04:00
proller
3284133169 better split FunctionsMiscellaneous.cpp 2017-03-10 16:13:32 +03:00
Alexey Milovidov
75f1d7b820 Added test [#CLICKHOUSE-2789]. 2017-03-09 23:40:36 +03:00
Alexey Milovidov
abe0fca1a4 Better coalesce [#CLICKHOUSE-2789]. 2017-03-09 23:39:20 +03:00
Alexey Milovidov
1abf959722 Added test [#CLICKHOUSE-2789]. 2017-03-09 22:49:11 +03:00
Alexey Milovidov
3107156fd9 Added tests [#CLICKHOUSE-2789]. 2017-03-09 22:45:22 +03:00
Alexey Milovidov
ee0f0a8818 Fixed ifNull function [#CLICKHOUSE-4]. 2017-03-09 22:39:51 +03:00
Alexey Milovidov
82ae603426 Added function toNullable [#CLICKHOUSE-4]. 2017-03-09 22:31:16 +03:00
Alexey Milovidov
8da4e576a9 Make function ifNull to allow to return non-Nullable result [#CLICKHOUSE-2789]. 2017-03-09 21:58:44 +03:00
Alexey Milovidov
19354bef87 Renamed test [#CLICKHOUSE-4]. 2017-03-09 21:57:53 +03:00
Alexey Milovidov
01d2498bb6 Renamed test [#CLICKHOUSE-4]. 2017-03-09 21:56:38 +03:00
Alexey Milovidov
235dbe6183 Fixed error with PartLog [#CLICKHOUSE-2703]. 2017-03-09 19:46:11 +03:00
Alexey Milovidov
093d5b8d36 Disabled tests for https source of external dictionaries because test environment has not been prepared yet [#CLICKHOUSE-2]. 2017-03-09 07:58:48 +03:00
Alexey Milovidov
caebb93995 Merge remote-tracking branch 'origin/master' into if-support-nulls
Conflicts:
	dbms/include/DB/Columns/ColumnArray.h
	dbms/include/DB/Columns/ColumnString.h
	dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
5546f7f75b Normalized formatting [#CLICKHOUSE-3]. 2017-03-09 07:26:17 +03:00
Alexey Milovidov
f24df4b648 Removed zero-width spaces [#CLICKHOUSE-3]. 2017-03-09 07:18:41 +03:00
Alexey Milovidov
9d37698e70 Updated test [#CLICKHOUSE-2789]. 2017-03-09 07:06:41 +03:00
Alexey Milovidov
9c928a5b67 Fixed error [#CLICKHOUSE-2789]. 2017-03-09 06:57:51 +03:00
Alexey Milovidov
f9a5902e76 Support for NULLs in function if: continued [#CLICKHOUSE-2873]. 2017-03-09 06:34:09 +03:00
f1yegor
48bd5b696c translate comments 2017-03-09 01:56:38 +01:00
Alexey Milovidov
169fc988b7 Added comment [#CLICKHOUSE-4]. 2017-03-08 00:45:52 +03:00
Alexey Milovidov
520e891190 Added test [#CLICKHOUSE-2873]. 2017-03-08 00:45:25 +03:00
Alexey Milovidov
f88b46c259 If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-08 00:40:46 +03:00
Alexey Milovidov
9224161223 If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-08 00:40:03 +03:00
Alexey Milovidov
130166ea0b If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-08 00:35:34 +03:00
Alexey Milovidov
7a3c2789c5 If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-08 00:32:36 +03:00
Alexey Milovidov
8314262f25 If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-07 23:52:09 +03:00
Alexey Milovidov
fe24bb25a0 If for Nullable types: additions [#CLICKHOUSE-2873]. 2017-03-07 23:42:01 +03:00
Alexey Milovidov
e20441eee6 Fixed error [#CLICKHOUSE-2873]. 2017-03-07 23:11:39 +03:00
Alexey Milovidov
cfbf2ea94d Fixed totally wrong code [#CLICKHOUSE-4]. 2017-03-07 23:03:45 +03:00
proller
1af6311a99 https server (#561)
* https support in dictionaries

* Style

* Update README.md

* https server wip

* wip

* cf

* wip

* add test

* wip

* wip

* wip

* wip

* clean

* cmt
2017-03-07 23:01:37 +04:00
proller
b3ea06ac12 Split FunctionsMiscellaneous.h (#564)
* Move funcs from .h to FunctionsMiscellaneous.cpp

* Move funcs from .h to FunctionsMiscellaneous.cpp - templates

* format

* clean includes

* newlines

* cmath
2017-03-07 22:57:15 +04:00
Ravengg
b079dacfd1 Added part_log with statistics scripts (#549)
* Added part_log

* first_test

* filter and hits_res

* Add renamer and drawer

* Add columns database and table into PartLog

* Add normal way to get table_name and database_name from part

* improve drawer

* add stats for random size parts

* Merge converter and drawer

* make drawer more informative

* add new data

* add new data

* new data

* add long range stats

* for checking best way

* Add add_parts script

* Good style for global merge

* delete commented code

* Fixed spaces to tabs

* Note that Stopwatch is started automatically.

* Style

* Update StorageMergeTree.cpp

* Update StorageReplicatedMergeTree.cpp

* Switch act_time_ms to duration_ms

* Added ability to disable part_log

* fixed getPartLog

* fix usage getPartLog

* fix
2017-03-07 21:13:54 +04:00
Alexey Milovidov
3d9d74e994 Merge branch 'master' into if-support-nulls 2017-03-07 19:11:22 +03:00
proller
293b8b958c Allow use external re2 with re2_st=re2 (#547)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix
2017-03-07 20:10:04 +04:00
alexey-milovidov
b6d3230185 Merge pull request #562 from yandex/issue-390
insert values by their positions instead of names
2017-03-07 20:08:11 +04:00
artpaul
457900cbb5 move EnrichedDataTypePtr to DataTypes 2017-03-07 19:34:49 +05:00
artpaul
0ef749839c issue #390: insert values by their positions instead of name 2017-03-07 15:30:05 +05:00
Alexey Milovidov
8eeeea200a Better [#CLICKHOUSE-2872]. 2017-03-07 04:35:36 +03:00
Alexey Milovidov
0a8d89e4ba More safe [#CLICKHOUSE-4]. 2017-03-07 00:36:33 +03:00
Alexey Milovidov
3d01985d55 Fixed error [#CLICKHOUSE-4]. 2017-03-07 00:33:10 +03:00
artpaul
1d8da3f8aa allow compiler to catch inconsistency 2017-03-06 18:39:29 +05:00
Alexey Milovidov
dc78586115 Added support for NULLs for function if [#CLICKHOUSE-4]. 2017-03-06 10:16:29 +03:00
Alexey Milovidov
d7ad0f9fac Added support for NULLs for function if [#CLICKHOUSE-4]. 2017-03-06 10:08:27 +03:00
Alexey Milovidov
76e3c6076e Added support for NULLs for function if [#CLICKHOUSE-4]. 2017-03-06 09:46:45 +03:00
artpaul
f9a08d74a5 remove unused include 2017-03-06 10:58:29 +05:00
artpaul
7f8c41dd1e remove unused includes 2017-03-06 02:20:02 +05:00
artpaul
91f5e7ae5c add priority and is_default columns [#CLICKHOUSE-2084] 2017-03-05 16:00:25 +05:00
Alexey Milovidov
7934475779 Added missing line [#CLICKHOUSE-2871]. 2017-03-05 06:37:34 +03:00
Alexey Milovidov
a706e96bc4 Added more metrics for StorageBuffer [#CLICKHOUSE-2871]. 2017-03-05 04:23:10 +03:00
Alexey Milovidov
5f6f301d9b Removed useless code [#CLICKHOUSE-2084]. 2017-03-05 04:04:35 +03:00
artpaul
aed028eb96 remove meaningless comment 2017-03-05 04:45:35 +04:00
artpaul
76e9213141 system table with graphite configuration [#CLICKHOUSE-2084] 2017-03-05 04:45:35 +04:00
artpaul
1e13e68028 blank for system.graphite 2017-03-05 04:45:35 +04:00
proller
3e835a455f http server: allow custom root response (#553)
* http server: allow custom root responce

* fix configs

* Update Server.cpp
2017-03-04 06:00:21 +04:00
alexey-milovidov
1ddc262eb8 Merge pull request #554 from proller/fix1
fix scope_exit formatting
2017-03-04 05:59:05 +04:00
proller
e96092c66c Freebsd fixes (#555)
* freebsd fixes

* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
Alexey Milovidov
d3b22774c9 Comments [#CLICKHOUSE-2788]. 2017-03-04 00:15:46 +03:00
proller
05e87ad7a2 fix scope_exit formatting 2017-03-04 00:10:41 +03:00
proller
2252864b3a clang-format Server.cpp (#550)
* clang-format Server.cpp

* SCOPE_EXIT

* fix sort includes

* format
2017-03-03 22:59:42 +04:00
artpaul
d43d692414 fix build 2017-03-03 12:38:30 +05:00
Alexey Milovidov
6635f50f75 Indentation [#CLICKHOUSE-2]. 2017-03-03 03:39:42 +03:00
proller
107fb86a40 Support multiplie listen addresses, set listen_host to local only (#545)
* Support multiplie listen addresses, set listen_host to local only

* set correct default

* better config

* no include

* Update Server.cpp
2017-03-03 04:24:56 +04:00
proller
067ff7a5c7 Customizable internal compiler 2017-03-02 16:34:43 +03:00
alexey-milovidov
35215d077e Merge pull request #544 from serebrserg/METR-23630
METR-23630: add pointInEllipses function
2017-03-02 17:05:26 +04:00
alexey-milovidov
5ee48f9f33 Update FunctionsGeo.h 2017-03-02 16:13:02 +04:00
serebrserg
6b3135959d add test for pointInEllipses 2017-03-02 14:33:38 +03:00
artpaul
be7c70da5c fix IN with nested tuples [#CLICKHOUSE-1999] 2017-03-01 19:48:21 +05:00
serebrserg
42ce089aa6 add pointInEllipses function 2017-03-01 12:23:49 +03:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
proller
5cf6f4d8c1 Fix host header in http request to dictionaries (#526)
* Tests: dictionaries: allow completely disable mongo and mysql

* Fix host header in http request to dictionaries
2017-02-28 01:09:57 +04:00
proller
57c336f267 HTTPDictionarySource support HTTPS (#510)
* https support in dictionaries

* Style
2017-02-28 01:07:57 +04:00
proller
deb956ce97 Tests: dictionaries: allow completely disable mongo and mysql (#519) 2017-02-26 21:45:46 +04:00
proller
1c1b6ce9f5 Mongo: support new sha1 auth with new external poco 1.7.8 (#518)
* Mongo: support new sha1 auth with new external poco 1.7.8

* add test

* disable test
2017-02-21 23:24:02 +04:00
proller
3e824b3b4f add test (Not found column date in block. There are only columns: x.) [#CLICKHOUSE-1993] 2017-02-21 22:45:37 +04:00
Alexey Zatelepin
7090d0861a reinitialize primary key after ALTER [#CLICKHOUSE-2853] 2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
3ee4e6b79b Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845] 2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
411ba82a24 Fix after PR merge. 2017-02-18 03:26:32 +03:00
proller
7df722d731 Speedup of CacheDictionary (part2: complex) [#CLICKHOUSE-2176] (#502)
* Auto version update to [54146]

* Fixing dictionaries [#CLICKHOUSE-2176]

* fix

* Auto version update to [54194]

* Revert "Auto version update to [54194]"

This reverts commit 3367678a04.

* wip

* wip

* clean

* const

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* Fixing dictionaries [#CLICKHOUSE-2176]

* style

* style

* style

* wip

* wip

* struct

* clean

* clean

* clean

* wip

* wip broken

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* clean

* space

* tester

* wip

* fix

* clean

* style
2017-02-18 00:37:03 +04:00
alexey-milovidov
1fa8c17f9f Update ColumnConstAggregateFunction.h 2017-02-18 00:36:31 +04:00
alexey-milovidov
5755891325 Update PODArray.h 2017-02-18 00:36:31 +04:00
alexey-milovidov
554688bd89 Update evaluateConstantExpression.h 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
453ab0423c Fixed compiler errors after rebase. 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
1572cf39fb Translate doc comments in IColumn.h to English. [#CLICKHOUSE-3] 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
8bcb1fe970 Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845] 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
f1b5e927a5 Fixed typo in test. 2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
97c4211409 Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
alexey-milovidov
c52670776c Merge pull request #507 from proller/fix1
Tests: external: add more options to script
2017-02-17 18:52:57 +04:00
Alexey Milovidov
96449a2bc9 Changed default implementation of COUNT(DISTINCT ...) to avoid confusion [#CLICKHOUSE-3]. 2017-02-17 17:12:23 +03:00
proller
fdf634125e Tests: external: add more options to script 2017-02-17 17:12:02 +03:00
Artemkin Pavel
cc62477403 extra distinct pass was eliminated in case of single stream mode [#METR-23942] (#492) 2017-02-16 00:17:46 +04:00
Alexey Zatelepin
93a9e64624 fix usage of possibly invalidated iterator [#CLICKHOUSE-2] 2017-02-15 22:39:18 +03:00
proller
2ec141d5e9 Speedup of CacheDictionary (part1) [#CLICKHOUSE-2176] (#474)
* Auto version update to [54146]

* Fixing dictionaries [#CLICKHOUSE-2176]

* fix

* Auto version update to [54194]

* Revert "Auto version update to [54194]"

This reverts commit 3367678a04.

* wip

* wip

* clean

* const

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* Fixing dictionaries [#CLICKHOUSE-2176]

* style

* style

* style

* struct

* clean

* clean

* clean
2017-02-14 22:06:21 +04:00
proller
b5b64ceb2b Fix apple .so version (#490)
* Cmake: fix fallback to internal libs if no external found

* wip

* style

* fix

* Fix apple .so version
2017-02-14 16:34:32 +04:00
Alexey Milovidov
354bed5bd7 Merge branch 'master' of github.com:yandex/ClickHouse 2017-02-13 19:12:46 +03:00
Alexey Milovidov
db9935337c Misc [#CLICKHOUSE-2]. 2017-02-13 19:12:34 +03:00
proller
f8d2f19280 Fix odbc include, clang-format fixes, misc (#484)
* Cmake: fix fallback to internal libs if no external found

* wip

* style

* fix
2017-02-13 17:59:34 +04:00
Alexey Milovidov
8f9b70a1d7 Style [#CLICKHOUSE-2]. 2017-02-13 13:38:50 +03:00
Alexey Milovidov
bb7247993a Merge branch 'uncompressed-size-in-system-tables' 2017-02-13 01:08:31 +03:00
Alexey Milovidov
7bf5373390 Added comments [#CLICKHOUSE-2831]. 2017-02-13 01:07:38 +03:00
Alexey Milovidov
792bcbb5af Merge branch 'master' into uncompressed-size-in-system-tables 2017-02-13 01:06:21 +03:00
Alexey Milovidov
1073c39cb3 Translated comments [#CLICKHOUSE-3]. 2017-02-13 00:13:14 +03:00
proller
f84833f69b fix missing includes (#483) 2017-02-12 14:40:47 +03:00
artpaul
f8a0f55335 #360 explicit types 2017-02-12 16:09:55 +05:00
artpaul
0c1dab92a3 #360 ordinary 2017-02-12 15:34:08 +05:00
Alexey Milovidov
c9b4a163be Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831]. 2017-02-12 01:31:22 +04:00
alexey-milovidov
4593d363d1 Fix poor distributed insertion scalability (#481)
* Fix poor scalability of INSERT into Distributed table [#CLICKHOUSE-2791].

* Fix poor scalability of INSERT into Distributed table (continued) [#CLICKHOUSE-2791].

* Misc [#CLICKHOUSE-2791].

* Fixed error [#CLICKHOUSE-2791].
2017-02-12 00:20:57 +04:00
Alexey Milovidov
6a24e21f77 Renamed test [#CLICKHOUSE-2]. 2017-02-11 23:03:23 +03:00
Alexey Milovidov
30737aa7a1 Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831]. 2017-02-11 20:43:28 +03:00
alexey-milovidov
9f243d1637 Merge pull request #477 from yandex/merge_with_metrika
Merge with metrika
2017-02-11 00:32:34 +04:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
ivanzhukov
2b725f87c4 Translate comments to English 2017-02-11 00:22:08 +04:00
Alexey Zatelepin
66501c8026 ALTER primary key tests [#CLICKHOUSE-2027] 2017-02-10 22:19:40 +04:00
Alexey Zatelepin
9918965c5f Allow metadata-only ALTER of primary key columns [#CLICKHOUSE-2027] 2017-02-10 22:19:40 +04:00
Alexey Zatelepin
7b57402291 allow ALTERing Enum types in primary key columns [#CLICKHOUSE-2795] 2017-02-10 22:19:40 +04:00
Alexey Milovidov
d065087506 Fixed timeouts of ALTER [#CLICKHOUSE-2836]. 2017-02-10 21:09:49 +03:00
Alexey Milovidov
a39f333c1b Fixed test [#CLICKHOUSE-2755]. 2017-02-10 19:57:12 +03:00
Alexey Milovidov
0673f75265 Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755]. 2017-02-10 13:20:06 +03:00
Alexey Milovidov
74cef1d69e Miscellaneous [#CLICKHOUSE-2]. 2017-02-10 12:07:27 +03:00
Alexey Milovidov
c4ff9b52e9 Miscellaneous [#CLICKHOUSE-2]. 2017-02-10 12:04:31 +03:00
Alexey Milovidov
17e3a4ff1f Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833]. 2017-02-10 12:02:10 +03:00
Alexey Milovidov
1ad4e2752e Block::unshareColumns: more complete implementation [#CLICKHOUSE-2]. 2017-02-10 09:12:22 +03:00
Alexey Milovidov
0d903dbf07 Addition to prev. revision; added test [#CLICKHOUSE-2832]. 2017-02-10 09:03:09 +03:00
Alexey Zatelepin
6b47ac1fc0 translate comments [#CLICKHOUSE-3] 2017-02-10 09:05:33 +04:00
Alexey Zatelepin
aace171ef6 forbid multidimensional array columns in MergeTree tables [#CLICKHOUSE-2803] 2017-02-10 09:05:33 +04:00
Alexey Zatelepin
8d001db5d5 forbid altering of date column in MergeTree engines 2017-02-10 09:05:33 +04:00
alexey-milovidov
0d5c0b8350 Proper behaviour of aggregate functions of nullable arguments (#473)
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].

* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
2017-02-10 09:03:42 +04:00
Alexey Milovidov
434500e98d More tests [#CLICKHOUSE-2804]. 2017-02-09 09:58:18 +03:00
Alexey Milovidov
abdb714b35 Added test [#CLICKHOUSE-2804]. 2017-02-09 09:53:51 +03:00
Alexey Milovidov
82f3f5ad66 Fixed error with GraphiteMergeTree [#CLICKHOUSE-2804]. 2017-02-09 09:45:29 +03:00
Alexey Milovidov
f4cb4cafb1 Fixed error with usage of 'version' column in GraphiteMergeTree [#CLICKHOUSE-2804]. 2017-02-09 07:21:56 +03:00
Alexey Milovidov
d95663865f Miscellaneous [#CLICKHOUSE-2]. 2017-02-09 02:56:40 +03:00
Alexey Milovidov
297d5653ae Merge remote-tracking branch 'origin/better-graphite-merge-tree' 2017-02-09 02:49:47 +03:00
Alexey Milovidov
b9a96b480d Added test [#CLICKHOUSE-2825]. 2017-02-09 00:49:15 +03:00
Alexey Milovidov
2e9ab88cb7 Fixed error by removal of obsolete optimization [#CLICKHOUSE-2825]. 2017-02-09 00:45:19 +03:00
Alexey Milovidov
40e71651e5 Allowed hash functions to be constant expressions [#CLICKHOUSE-2819]. 2017-02-08 23:33:50 +03:00
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
Pavel Kartavyy
b28f41250c RegionNames: add ability to set directory without config 2017-02-08 20:39:20 +03:00
proller
131283de5b Fix external poco and empty http responce 2017-02-08 20:54:32 +04:00
Pavel Kartavyy
730f23793e add missed header 2017-02-08 18:46:20 +03:00
proller
045fd6f55d fix build without readline 2017-02-08 01:40:08 +03:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
b2b16b407f More include fixes (#462)
* More include fixes

* fix
2017-02-08 01:26:32 +04:00
Alexey Milovidov
f0ca756f52 GraphiteMergeTree: fixed handling of 'version' column [#CLICKHOUSE-2804]. 2017-02-08 00:20:28 +03:00
proller
083e9cc3aa Correct fix of building with external poco with disabled sending progress (#461)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix
2017-02-07 23:45:55 +04:00
Vitaliy Lyudvichenko
38c900bf2f Add request changes for #436 PR. 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
d6385af19b Add test for _table index in storage Merge. [#CLICKHOUSE-2758] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
98af273cbc Fixed and refactored storage Merge. [#CLICKHOUSE-2758] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
e92862a7d7 Use intuitive side-by-side diff if test failed. [#CLICKHOUSE-2] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
df9ada58fb Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
11b3aad985 Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
67d8ce3568 Fast SIGINT handling and correct exception handling in Benchmark. [#CLICKHOUSE-2774] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
240a6c242f Fixed clickhouse-local options. [#CLICKHOUSE-2779] 2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
76916739e2 Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787] 2017-02-07 23:43:31 +04:00
Alexey Milovidov
1302c3958a Comments [#CLICKHOUSE-3]. 2017-02-07 22:21:59 +03:00
artpaul
4c57c9731e #437 encode name of default_database so it's can be passed through connection 2017-02-07 20:11:02 +04:00
Vitaliy Lyudvichenko
d6e9af834a Refined comments and status codes. [#CLICKHOUSE-2799] 2017-02-07 20:08:43 +04:00
Vitaliy Lyudvichenko
7e5a075ef3 Fixed long ProcessList lock in case of remote server timeout. [#CLICKHOUSE-2799] 2017-02-07 20:08:43 +04:00
proller
326e382387 Include fixes (#454)
* Fix some includes and missing definitions

* fix
2017-02-07 19:38:57 +04:00
Pavel Kartavyy
fb5ff00c4a RegionsHierarchies add missed ctor for tests 2017-02-07 15:25:18 +03:00
Pavel Kartavyy
1ec7e349ac add missed header 2017-02-07 13:41:44 +03:00
Alexey Milovidov
33f9917f53 Removed wrong code [#CLICKHOUSE-2]. 2017-02-07 09:24:23 +03:00