Commit Graph

7459 Commits

Author SHA1 Message Date
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
alexey-milovidov
9e94066e98 Merge pull request #418 from ludv1x/query-kill
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-31 00:50:33 +04:00
Vladimir Chebotarev
995a773865 dbms: More customizable HyperLogLogCounter. [#METR-24057] 2017-01-30 22:17:00 +03:00
Alexey Milovidov
48ed301e56 Revert "Revert "KILL QUERY""
This reverts commit 720781a7bc.
2017-01-30 18:43:20 +03:00
Vitaliy Lyudvichenko
9f8a967e6c Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120] 2017-01-30 16:24:42 +03:00
alexey-milovidov
720781a7bc Revert "KILL QUERY" 2017-01-30 16:20:11 +04:00
Alexey Milovidov
4ae2bed9b6 Fixed wrong test [#CLICKHOUSE-2785]. 2017-01-30 11:28:42 +03:00
Alexey Milovidov
d4d3d36ff0 Removed useless code; improved performance [#CLICKHOUSE-2785]. 2017-01-30 09:48:10 +03:00
Alexey Milovidov
ecc6d2a7b9 Moved a function to header for inlining [#CLICKHOUSE-2]. 2017-01-30 08:22:49 +03:00
Alexey Milovidov
3b0900e6cf Moved code to .cpp [#CLICKHOUSE-2027]. 2017-01-30 08:13:58 +03:00
Alexey Milovidov
3552de49ea Added comment; fixed uninitialized read [#CLICKHOUSE-20227]. 2017-01-30 01:53:29 +03:00
Vitaliy Lyudvichenko
7f73f91705 Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283] 2017-01-28 02:30:19 +03:00
Alexey Milovidov
ff54b9466d Fixed error [#CLICKHOUSE-2191]. 2017-01-28 00:46:15 +03:00
proller
46037bb670 Allow link with jemalloc (#404)
* Allow link with jemalloc

* wip

* fix

* fix
2017-01-28 00:00:02 +04: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
bff12c5f93 Fix clang 4.0 2017-01-27 20:30:23 +03:00
proller
9462f568fa Fix external http test: move server start from run.sh to generate_and_test.py (#409)
* Fix external http test: move server start from run.sh to generate_and_test.py

* fix
2017-01-27 17:40:23 +03:00
alexey-milovidov
de9bc1dc75 Text formats allow to skip errors (#407)
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
Vitaliy Lyudvichenko
55390715b1 Add requested changes. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
891437e531 Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
649fd1922b Add TOO_MUCH_SIMULTANEOUS_QUERIES exception. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
6bd306ca8c Improve KILL QUERY. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
b1bccb0bb2 Query KILL QUERY. [#CLICKHOUSE-2120] 2017-01-27 03:59:39 +04:00
Alexey Milovidov
a106520a0d Added requested change [#CLICKHOUSE-2191]. 2017-01-27 00:51:30 +03:00
Artemkin Pavel
06d1509da1 check that sharding_key exists in the table and has numeric type (#392)
* check that sharding_key exists in the table and has numeric type [#CLICKHOUSE-2191]

* style

* infer type of sharding expression [#CLICKHOUSE-2191]
2017-01-27 01:47:33 +04:00
proller
20d6c20a72 Dont throw if setrlimit failed (just print warning), Little build_options fix (#403)
* Little improve system.build_options

* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
Alexey Milovidov
43971faf32 Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost 2017-01-27 00:42:56 +03:00
alexey-milovidov
0e38fdcbf3 Remove stringstream performance on very short queries (#406)
* 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].

* Renamed variable in test [#CLICKHOUSE-2].

* Benchmark: whitespace [#CLICKHOUSE-2].

* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
Alexey Milovidov
1e2553afed Enabled vertical merge [#CLICKHOUSE-2069]. 2017-01-26 23:09:06 +03:00
proller
d319d97bb6 Merge remote-tracking branch 'upstream/master' into localhost 2017-01-26 17:36:38 +03:00
proller
51e17fc6c5 Tests: Allow change http port in http_server.py 2017-01-26 17:29:13 +03:00
proller
35dce017a2 Merge remote-tracking branch 'upstream/master' into localhost 2017-01-26 15:07:29 +03:00
proller
987e8833b5 test http server: listen on ipv6 2017-01-26 03:22:40 +03:00
proller
e715ddd72a SELECT * FROM system.build_options [#METR-24175] (#398)
* start [#METR-24175]

* missing

* wip

* add spaces

* wip

* wip

* fix

* fix

* missing

* style fix
2017-01-26 02:24:36 +04:00
proller
70e641f58a Fix readline finding on mac; use config for readline vars (#397)
* Fix readline finding on mac; use config for readline vars

* fix
2017-01-26 00:14:41 +04:00
proller
f8d1573946 Various arm64 compile fixes on utils (#394) 2017-01-25 23:17:13 +04:00
Alex Zatelepin
543b6ee757 ensure that all streams point to to_mark after reading even if max_rows_to_read is zero [#CLICKHOUSE-2775] (#396) 2017-01-25 23:16:31 +04:00
proller
4f00b3833d Merge remote-tracking branch 'upstream/master' into localhost 2017-01-25 22:08:56 +03:00
proller
f04dffc05c External dictionary profiling [#CLICKHOUSE-2197] (#381)
* Profiling external cached dictonaries [#CLICKHOUSE-2197]

* style
2017-01-25 22:40:44 +04:00
proller
3fc4998a01 Merge remote-tracking branch 'upstream/master' into localhost 2017-01-25 21:27:23 +03:00
proller
59a4a94b9e fix 2017-01-25 21:27:16 +03:00
proller
f890af1f8d Remove code and includes from Collator.h, fix including <unicode/...> in dbms (#395) 2017-01-25 22:19:15 +04:00
proller
7982d84904 wip 2017-01-25 18:14:39 +03:00
proller
3219d20df8 Group all tests with 127.0.0.{1,2} into 'shard' tag 2017-01-25 17:00:08 +03:00
proller
b7cedc1ad2 wip 2017-01-25 16:21:35 +03:00
proller
9c3133deac wip 2017-01-25 16:17:13 +03:00
proller
1b7054e15b Merge remote-tracking branch 'upstream/master' into localhost 2017-01-25 15:38:46 +03: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
281744667d use common cur_mark_idx for all streams [#CLICKHOUSE-2116] 2017-01-25 00:48:58 +04:00
Alexey Zatelepin
dc1f0d96bd add clarifying comment [#CLICKHOUSE-2116] 2017-01-25 00:48:58 +04:00
Alexey Zatelepin
f7ca39da77 translate comments [#CLICKHOUSE-3] 2017-01-25 00:48:58 +04:00
Alexey Zatelepin
32e5713822 do not load marks when reading the whole part [#CLICKHOUSE-2116] 2017-01-25 00:48:58 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9 Add requested PR changes. [#CLICKHOUSE-2145] [issue #325] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4 Add protection from accidental DROP queries. [#CLICKHOUSE-2184] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
74cd2c2334 Add more docs for OPTIMIZE. [#CLICKHOUSE-3] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
ef6a4e08db Resolved #325. Add 401 HTTP status code if auth failed. [#CLICKHOUSE-3] 2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
1c38a89785 Add source_part_names column into system.merges. [#CLICKHOUSE-2145] 2017-01-24 22:26:29 +04:00
Alexey Milovidov
0c31684721 Addition to prev. revision [#CLICKHOUSE-32]. 2017-01-24 00:33:46 +03:00
Alexey Milovidov
f51f52e0df Added test [#CLICKHOUSE-32]. 2017-01-24 00:29:05 +03:00
Alexey Milovidov
8282998f5c Fixed error with progress in HTTP headers [#CLICKHOUSE-32]. 2017-01-24 00:21:38 +03:00
alexey-milovidov
17a4ead1ef Setting fsync metadata (#380)
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
791198e619 Comments [#CLICKHOUSE-3]. 2017-01-23 20:10:31 +03:00
Alexey Milovidov
38d25022c6 Comments [#CLICKHOUSE-3]. 2017-01-23 19:00:26 +03:00
Alexey Milovidov
e527980799 Comments [#CLICKHOUSE-3]. 2017-01-23 18:55:56 +03:00
Alexey Milovidov
18782e1473 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-23 11:22:46 +03:00
Alexey Milovidov
6894df0304 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 20:26:55 +03:00
Alexey Milovidov
c9b761f7b6 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 20:09:00 +03:00
Alexey Milovidov
48ae82e1c7 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:34:17 +03:00
Alexey Milovidov
4aa90e908d Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:19:24 +03:00
Alexey Milovidov
c903a23864 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:12:30 +03:00
Alexey Milovidov
3476e4d4c4 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:42:42 +03:00
Alexey Milovidov
f1eb84bd48 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:20:37 +03:00
Alexey Milovidov
e56ccc9754 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:13:50 +03:00
Alexey Milovidov
bfa46f9dff Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:13:04 +03:00
Alexey Milovidov
2d324ed4df Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:12:18 +03:00
Alexey Milovidov
f29f6b787d Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:11:34 +03:00
Alexey Milovidov
22527f52f3 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:10:09 +03:00
Alexey Milovidov
d8b95e6d2a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:06:04 +03:00
Alexey Milovidov
00475da25e Sending progress in HTTP headers [#CLICKHOUSE-32]. 2017-01-22 18:03:55 +03:00
Alexey Milovidov
579667cef3 Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018 2017-01-22 16:24:50 +03:00
Alexey Milovidov
25d87ff135 Updated test according to changed semantic of some time zone functions [#CLICKHOUSE-2765]. 2017-01-22 16:21:59 +03:00
Alexey Milovidov
6ec9380510 Allow to set server timezone from configuration file [#CLICKHOUSE-2765]. 2017-01-22 15:53:24 +03:00
Alexey Milovidov
b1a5efffc0 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:45:41 +03:00
Alexey Milovidov
cf84e8e646 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:40:03 +03:00
Alexey Milovidov
0197e4dd3d Fixed error [#CLICKHOUSE-2765]. 2017-01-22 14:37:38 +03:00
Alexey Milovidov
8f79ee0f87 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 14:36:10 +03:00
Alexey Milovidov
e7976421a2 Fixed error in test [#CLICKHOUSE-2]. 2017-01-22 14:25:45 +03:00
Alexey Milovidov
989e76b16c Fixed test [#CLICKHOUSE-2]. 2017-01-22 14:10:11 +03:00
Alexey Milovidov
812fd4fe87 Added function 'timezone' for introspection [#CLICKHOUSE-2765]. 2017-01-22 14:07:45 +03:00
Alexey Milovidov
8ce006aa69 Fixed error in prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:56:48 +03:00
Alexey Milovidov
bcdf3ce82c Translated comment [#CLICKHOUSE-3]. 2017-01-22 12:07:34 +03:00
Alexey Milovidov
641faac912 More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765]. 2017-01-22 11:57:34 +03:00
alexey-milovidov
ed5b521110 Less dependencies 2 (#378)
* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Alexey Milovidov
28f4efa461 Allowed one test to take less time under valgrind [#CLICKHOUSE-2]. 2017-01-21 05:55:23 +03:00
proller
1adf0bb3e1 Remove -metrika-yandex postfix from package names (#377) 2017-01-20 23:58:13 +04:00
proller
2688f4563f cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config (#375)
* Manual version update to [54135]

* Temporary release script fix [#METRIQA-732]

* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
89190cfdd0 fix external dictionary tests (use forking http server) [#CLICKHOUSE-22] (#373)
* renamed:    debian/compressor-metrika-yandex.install -> debian/clickhouse-compressor-metrika-yandex.install

* fix external dictionary tests (use forking http server) [#CLICKHOUSE-22]
2017-01-20 15:44:21 +03:00
Alexey Milovidov
fde7ef7d6c Field: exception safety [#CLICKHOUSE-2756]. 2017-01-20 11:28:44 +03:00
Alexey Milovidov
94bfc2ee4b Added test [#CLICKHOUSE-2761]. 2017-01-20 09:05:27 +03:00
Alexey Milovidov
4d1ac56ba9 Fixed rare memory leak [#CLICKHOUSE-2761]. 2017-01-20 08:25:25 +03:00
Alexey Milovidov
459db30c29 Preparations [#CLICKHOUSE-2761]. 2017-01-20 08:00:04 +03:00
Alexey Milovidov
63c3870fd0 Modified test [#CLICKHOUSE-2756]. 2017-01-20 07:27:51 +03:00
Alexey Milovidov
2468021bbb Addition to prev. revision [#CLICKHOUSE-2756]. 2017-01-20 07:10:41 +03:00
Alexey Milovidov
d95edafa96 Addition to prev. revision [#CLICKHOUSE-2756]. 2017-01-20 07:08:31 +03:00
Alexey Milovidov
89fd071e1c Addition to prev. revision [#CLICKHOUSE-2756]. 2017-01-20 07:06:05 +03:00
Alexey Milovidov
7fa73c5462 Field: fixed memory leak [#CLICKHOUSE-2756]. 2017-01-20 06:36:04 +03:00
Alexey Milovidov
6226132be0 Modified test [#CLICKHOUSE-2756]. 2017-01-20 06:24:57 +03:00
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 Milovidov
7f0e61bfbd Misc [#CLICKHOUSE-2]. 2017-01-20 04:05:09 +03:00
Alexey Milovidov
039914dfa4 Fixed error with replaceRegexp functions [#CLICKHOUSE-2763]. 2017-01-20 04:00:13 +03:00
Alexey Milovidov
f9d0b94c62 replaceRegexp: fixed bad code and error [#CLICKHOUSE-2763]. 2017-01-20 00:31:51 +03:00
proller
04d2149e8a enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… (#372)
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1'  option

* add -Werror for utils
2017-01-19 23:30:58 +04:00
Alexey Zatelepin
2184d4d51b stabilize flappy test [#CLICKHOUSE-2133] 2017-01-19 17:01:11 +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
cafc2fbbb1 Fix ENABLE_LIBTCMALLOC=0 build (#359)
Again fix ENABLE_LIBTCMALLOC=0 build
2017-01-18 18:09:10 +03:00
proller
04e2baebed Cmake (#358)
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
7e21f1dd14 Fix build with -D NO_TCMALLOC, better sanitizers calls (#355)
* Fix generate includes for clang

* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04: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
0fc364165f fix space 2017-01-17 19:00:24 +00:00
proller
2fe033d00e Fix compiling in freebsd/clang 2017-01-17 18:03:32 +00:00
Alexey Milovidov
2730267bdc Fixed test, that was dependent on time zones [#CLICKHOUSE-3]. 2017-01-17 15:58:10 +03:00
Alexey Milovidov
00d848d927 Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3]. 2017-01-17 15:58:10 +03:00
Alexey Milovidov
930b947393 Make 'formats' test time-zone independent [#CLICKHOUSE-3]. 2017-01-17 15:58:10 +03:00
Alexey Milovidov
4e6125c92b Fixed test, that was dependent on time zones [#CLICKHOUSE-3]. 2017-01-17 08:00:49 +03:00
Alexey Milovidov
e86c46d937 Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3]. 2017-01-17 07:53:37 +03:00
Alexey Milovidov
7934a6e259 Make 'formats' test time-zone independent [#CLICKHOUSE-3]. 2017-01-17 07:45:30 +03:00
Alexey Milovidov
06b2404e6a Merge branch 'master' into hierarchical-dictionaries-performance
Conflicts:
	dbms/include/DB/Functions/FunctionsDictionaries.h
2017-01-17 03:31:31 +03:00
Alexey Milovidov
01c2caef8c Miscellaneous [#CLICKHOUSE-11]. 2017-01-17 03:25:43 +03: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
5c89153e5e Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:11:11 +03:00
Alexey Milovidov
7c4010441c Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:09:38 +03:00
Alexey Milovidov
530796a5f8 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:07:26 +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
0440e031c5 Translated comments [#CLICKHOUSE-3]. 2017-01-14 05:53:40 +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
Vitaliy Lyudvichenko
c56d3724e4 Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194] 2017-01-13 23:01:24 +03:00
proller
821121fe3f Use localhost by name 2017-01-13 18:43:43 +00:00
Vitaliy Lyudvichenko
a1dcd24a76 New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29] 2017-01-13 21:17:50 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
Alexey Milovidov
c3b69f1052 Removed fragile (over-complicated) test [#CLICKHOUSE-2]. 2017-01-13 04:07:02 +03:00
Alexey Milovidov
012c5f1079 Disabled flappy tests [#CLICKHOUSE-2]. 2017-01-13 02:31:04 +03:00
alexey-milovidov
9808a5ab9e Merge pull request #323 from ludv1x/accurate-compare
Accurate numbers comparison
2017-01-12 23:31:07 +04: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
Vitaliy Lyudvichenko
0807fb6d86 Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
9dd3bc3b60 Removed old code. [#CLICKHOUSE-194] 2017-01-12 18:21:29 +03:00
Vitaliy Lyudvichenko
3e53e3268a Add test for accurate numbers comparisons. [#CLICKHOUSE-194] 2017-01-12 18:21:24 +03:00
Vitaliy Lyudvichenko
7d86246b46 Add safe_convervsion case optimization. Fixed MIN_INT64 comparison. Fixed NaN comparisons between floats. [#CLICKHOUSE-194] 2017-01-12 18:21:17 +03:00