Commit Graph

4531 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Alexey Milovidov
5f6f301d9b Removed useless code [#CLICKHOUSE-2084]. 2017-03-05 04:04:35 +03: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
Alexey Milovidov
d3b22774c9 Comments [#CLICKHOUSE-2788]. 2017-03-04 00:15:46 +03:00
artpaul
d43d692414 fix build 2017-03-03 12:38:30 +05: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
42ce089aa6 add pointInEllipses function 2017-03-01 12:23:49 +03:00
proller
57c336f267 HTTPDictionarySource support HTTPS (#510)
* https support in dictionaries

* Style
2017-02-28 01:07:57 +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
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
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
96449a2bc9 Changed default implementation of COUNT(DISTINCT ...) to avoid confusion [#CLICKHOUSE-3]. 2017-02-17 17:12:23 +03: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
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
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
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
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
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
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
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-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
297d5653ae Merge remote-tracking branch 'origin/better-graphite-merge-tree' 2017-02-09 02:49:47 +03:00
Alexey Milovidov
40e71651e5 Allowed hash functions to be constant expressions [#CLICKHOUSE-2819]. 2017-02-08 23:33:50 +03:00
Pavel Kartavyy
b28f41250c RegionNames: add ability to set directory without config 2017-02-08 20:39:20 +03:00
Pavel Kartavyy
730f23793e add missed header 2017-02-08 18:46:20 +03: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
98af273cbc Fixed and refactored storage Merge. [#CLICKHOUSE-2758] 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
67d8ce3568 Fast SIGINT handling and correct exception handling in Benchmark. [#CLICKHOUSE-2774] 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
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
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
proller
27cde5f8c8 Fix some includes and missing definitions (#446) 2017-02-03 02:08:19 +04:00
proller
fa3467bad8 Add missing include 2017-02-02 19:30:27 +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
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
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