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