Commit Graph

7322 Commits

Author SHA1 Message Date
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
Alexey Milovidov
3465997629 Merge branch 'master' of github.com:yandex/ClickHouse 2017-02-07 09:18:34 +03:00
Alexey Milovidov
099f8038d4 Fixed error [#CLICKHOUSE-2]. 2017-02-07 09:18:16 +03:00
Alexey Zatelepin
3479a5dddf fix incorrect usage of memcpySmall [#CLICKHOUSE-2808] 2017-02-07 09:33:07 +04:00
Alexey Zatelepin
7522cecd67 differentiate setrlimit error messages 2017-02-07 09:28:53 +04:00
Alexey Milovidov
26646001e3 Style [#CLICKHOUSE-2]. 2017-02-07 08:21:31 +03:00
artpaul
d85edff892 implement conversion from error codes to different http statuses 2017-02-07 09:20:20 +04:00
Pavel Kartavyy
224ba16dcb use project source and binary dirs instead of global dirs 2017-02-06 18:15:19 +03:00
artpaul
245b715723 #455 also update tmp_files_info_path when files_info_path is changed 2017-02-06 17:09:54 +05:00
proller
edd9da119f External poco fix
y
2017-02-03 03:08:42 +04:00
proller
90ab2b57c8 Fix external poco 2017-02-03 01:43:09 +03:00
proller
27cde5f8c8 Fix some includes and missing definitions (#446) 2017-02-03 02:08:19 +04:00
proller
85533eab57 Fix compiling with external poco (#445)
* Freebsd: libcctz build fix

* Fix compiling with external poco
2017-02-02 23:08:12 +04:00
proller
7b397b89cd Add missing counters [#CLICKHOUSE-2197] (#439)
* Add missing counters [#CLICKHOUSE-2197]

* ../../tests/external_dictionaries/generate_and_test.py : allow not break tests when one type fail
2017-02-02 22:11:00 +04:00
proller
4f83c8c291 Server: print info about listen address and port on start 2017-02-02 22:09:26 +04:00
proller
fa3467bad8 Add missing include 2017-02-02 19:30:27 +03:00
proller
b8f1ea4805 Fix reloading http dictionaries [#CLICKHOUSE-2176] (#433)
* Fixing dictionaries [#CLICKHOUSE-2176]
2017-02-01 20:53:18 +03:00
Alexey Milovidov
8d4a08cf9f Updated test [#CLICKHOUSE-32]. 2017-02-01 07:15:20 +03:00
Alexey Milovidov
b8ac19999c Settings 'max_memory_usage_for_user' and 'max_memory_usage_for_all_queries': do not interfere between different queries [#CLICKHOUSE-2796]. 2017-02-01 06:53:10 +03:00
Alexey Milovidov
172b385247 Added missing modification [#CLICKHOUSE-2184]. 2017-02-01 06:10:12 +03:00
Alexey Milovidov
9d04189793 Updated test [#CLICKHOUSE-32]. 2017-02-01 05:40:27 +03:00
Alexey Milovidov
1c8841b04e Fixed error [#CLICKHOUSE-2184]. 2017-02-01 05:35:06 +03:00
Alexey Milovidov
8cabe639f5 Fixed errors in exception message [#CLICKHOUSE-2184]. 2017-02-01 05:31:35 +03:00
Alexey Milovidov
6efae7240e Merge branch 'master' of github.com:yandex/ClickHouse 2017-02-01 04:20:21 +03:00
Alexey Milovidov
efbfbdc7a3 Added setting 'send_progress_in_http_headers', disabled by default [#CLICKHOUSE-32]. 2017-02-01 04:19:32 +03:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
3135ff17b6 Fix compiling utils without readline (#429)
* Fix compiling utils without readline

* fix
2017-01-31 23:34:30 +04:00
Vitaliy Lyudvichenko
abf5066618 Fix spelling errors. [#CLICKHOUSE-3] 2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
1b7b2b8373 Avoid extra current limits checks in non-root streams. [#CLICKHOUSE-2745] 2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
6500a84dd0 Fix overestimation of AggregateFunction columns size during remote aggregation. [#CLICKHOUSE-2745] 2017-01-31 23:28:37 +04:00
Alexey Zatelepin
4ecfd44015 [#CLICKHOUSE-2115] PR changes:
* do not insert produced value into the cache if the cache has been reset.
* less logging
* cosmetic fixes
2017-01-31 22:45:10 +04:00
Alexey Zatelepin
b3264620c3 translate comments [#CLICKHOUSE-3] 2017-01-31 22:45:10 +04:00
Alexey Zatelepin
0fdcdd7bdb Introduce LRUCache::getOrSet(), use it to avoid mark cache stampede [#CLICKHOUSE-2115] 2017-01-31 22:45:10 +04:00
Alexey Milovidov
48db8d121d Moved code out of header [#CLICKHOUSE-2]. 2017-01-31 21:39:01 +03:00
proller
79a7e893c7 system.build_options: move generated data to cpp, dont regenerate every compile (#423)
* system.build_options: move generated data to cpp, dont regenerate every compile

* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.

* fix
2017-01-31 22:03:56 +04:00
alexey-milovidov
bce4ea38e5 Merge pull request #428 from yandex/ch-2044
check keys inside attribute section of dictionary's config
2017-01-31 19:54:31 +04:00
artpaul
5c1d2af4d8 check keys inside attribute section of dictionary's config [#CLICKHOUSE-2044] 2017-01-31 18:27:02 +05:00
proller
9cea606881 Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.
2017-01-31 04:15:59 +03:00