Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4423420c20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-31 19:00:42 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
proller
fbdcab343f
Limit fetching threads [#CLICKHOUSE-2878] ( #648 )
...
* Max parallel fetches limit
* use MergeTreeSettings.h
* clean
2017-03-31 17:46:48 +03:00
proller
f5a7498559
Fix building Server.cpp without poco NetSSL lib
2017-03-31 15:16:09 +03:00
George
1d317d994f
Fixed mistake that made % not show over 50%
2017-03-31 08:11:31 +03:00
proller
633b829ca5
Config: example how to load UI tabix.io on http://localhost:8123
2017-03-30 17:11:10 +03:00
Alexey Milovidov
40ce6f86db
Allowed JOIN to work with Nullable keys [#CLICKHOUSE-4].
2017-03-30 17:09:24 +03:00
Igor
a5937ed024
Incriment max_size in Dictionaries:RegionsNames & RegionsHierarchy up to 15M
2017-03-30 14:44:30 +03:00
Alexey Milovidov
3fdb1dd629
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-29 16:00:17 +03:00
Alexey Milovidov
cc43f989bc
Preparation [#CLICKHOUSE-4].
2017-03-29 14:33:07 +03:00
proller
8a9d9dddb4
Allow build with poco with disabled MongoDB or DataODBC or NetSSL ( #636 )
...
* partial poco support
* fix
* fix optional ssl
* servier without netssl
* fix link order
* testme
* requested changes
* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
5fe01a1e6c
requested fixes
2017-03-28 21:46:22 +03:00
proller
6b9cdd585a
On shutdown wait 5 seconds to complete queries
2017-03-28 21:46:22 +03:00
Vitaliy Lyudvichenko
60dfa8dbf3
Add requested changes. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d
Fix test, add more comments. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289
Add functional test, fixed error. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
b5b863a6f4
Better HTTPHandler and IReadableWriteBuffer. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
c73971d7ec
Split implementations to different files. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2
Improve CMakeLists.txt for tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710
Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Ravengg
a973e3898d
Add remove for part log ( #638 )
...
* Add REMOVE_PART
* fix
* fix
* fix codestyle
2017-03-28 20:18:49 +03:00
Alexey Milovidov
8cf0e87382
Unified JOIN variants (continued) [#CLICKHOUSE-4].
2017-03-28 10:00:03 +03:00
Alexey Milovidov
b859463296
Unified JOIN variants. Added all variants from Set [#CLICKHOUSE-4].
2017-03-28 09:51:22 +03:00
Alexey Milovidov
f2933e7623
Fixed double whitespace [#CLICKHOUSE-2].
2017-03-28 06:54:25 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
Alexey Milovidov
8b2f769f12
Fixed error after translated comments [#CLICKHOUSE-3].
2017-03-26 05:07:15 +03:00
Alexey Milovidov
14c8003081
Normalized formatting [#CLICKHOUSE-3].
...
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*) ' | xargs sed -i -r -e 's/^(\t*) /\1\t/'
2017-03-26 04:28:07 +03:00
Alexey Milovidov
93890423f1
Fixed zero-width spaces [#CLICKHOUSE-3].
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
2017-03-26 04:20:25 +03:00
Alexey Milovidov
edd405ef29
Merge branch 'docs/translate' of https://github.com/f1yegor/ClickHouse into f1yegor-docs/translate
2017-03-26 04:17:58 +03:00
alexey-milovidov
3d7587cb84
Update DatabaseCloud.cpp
2017-03-26 04:14:49 +03:00
Alexey Milovidov
e6ba252507
Hierarchical dictionaries performance: continued [#CLICKHOUSE-2144].
2017-03-26 03:42:01 +03:00
Alexey Milovidov
d4992da546
Implemented isIn methods for cache dictionaries [#CLICKHOUSE-2144].
2017-03-26 02:42:04 +03:00
f1yegor
bc0d9a2cae
translate comments
2017-03-25 21:12:56 +01:00
Alexey Milovidov
f5434cd2ae
Separated functions for embedded and external dictionaries [#CLICKHOUSE-2144].
2017-03-25 21:11:09 +03:00
Alexey Milovidov
9e7813686e
Merge branch 'master' into hierarchical-dictionaries-performance
2017-03-25 20:53:41 +03:00
Alexey Milovidov
18ecccb856
Moved code to cpp [#CLICKHOUSE-2].
2017-03-25 08:55:49 +03:00
Alexey Zatelepin
3f9eb5f0f9
implemented clickhouse --extract-from-config tool [#CLICKHOUSE-2876]
2017-03-25 02:31:18 +03:00
Alexey Milovidov
e6a41a0256
Fixed error with NULLs [#CLICKHOUSE-2901].
2017-03-24 07:42:36 +03:00
Vitaliy Lyudvichenko
6d1a8c7c97
Consider changes in default profile to initialize default users' settings. [#CLICKHOUSE-2906]
2017-03-23 21:30:22 +04:00
Vitaliy Lyudvichenko
84694ca269
Resolved #594 . Select least busiest buffer for insert into StorageBuffer. [#CLICKHOUSE-2892]
2017-03-23 21:25:14 +04:00
Alexey Zatelepin
1ce0300c51
better detection of local timezone id [#CLICKHOUSE-2852]
2017-03-23 20:13:04 +04:00
Alexey Milovidov
7fa4459f56
Fixed error in config [#CLICKHOUSE-2762].
2017-03-23 18:38:49 +03:00
George3d6
f338a747b0
Update Client.cpp ( #615 )
...
* Update Client.cpp
* Update Client.cpp
Added a check before displaying the % completed to see if progress.total_rows is equal to zero (in order not to display faulty information for table where the % can't be computed). Also added the "elapsed_ns > 500000000" check so that the % still renders in sync with the progress bar.
2017-03-23 04:57:11 +04:00
proller
670e98fa92
allow several <graphite> targets ( #603 )
...
* allow several <graphite> targets
* fix
* fix
* Adjustable parts
* changelog version
* fix
* changelog
* Style fixes
* attachSystemTables
* config describe
* fixes
* fixes
2017-03-21 23:08:09 +04:00
Alexey Milovidov
c21b4c52c5
Misc [#CLICKHOUSE-3].
2017-03-21 21:39:07 +03:00
Alexey Milovidov
9d5ea2163c
Fixed error with FixedString filtering [#CLICKHOUSE-2898].
2017-03-21 21:37:35 +03:00
Vitaliy Lyudvichenko
349c96ec8f
Resolved #619 . Eliminated copy paste from benchmark util. [#CLICKHOUSE-3]
2017-03-21 15:18:56 +03:00
Alexey Milovidov
d3ae1267eb
Fixed error when parts of unlimited total size could be selected for merge in case of low free disk space [#CLICKHOUSE-2895].
2017-03-20 23:29:12 +03:00
Alexey Milovidov
910c542994
Added more bitwise functions [#CLICKHOUSE-2884].
2017-03-20 22:16:02 +03:00
Alexey Zatelepin
fccbc82c24
translate comments
2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
Vitaliy Lyudvichenko
d7d22b80e5
Fix Vertical merge in case of OPTIMIZE FINAL with single part. [#CLICKHOUSE-2886]
2017-03-16 13:42:00 +03:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
proller
9a1169fef6
fix tests
2017-03-16 13:51:21 +04:00
Bogdan Voronin
a3ff193fe3
Add log merge for replicas
2017-03-16 00:23:02 +04:00
proller
d777cab172
link Storages/System via lib
2017-03-15 23:43:02 +04:00
proller
25caed0c03
move all attaches of system tables to attach_system_tables.cpp
2017-03-15 23:43:02 +04:00
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
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
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
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
ef3e44e1bc
Comments [#CLICKHOUSE-2881].
2017-03-12 07:18:17 +03:00
Alexey Milovidov
3c38ba1f1c
Improved performance of ColumnFixedString::filter [#CLICKHOUSE-2877].
2017-03-11 07:41:28 +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
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
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
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
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
abe0fca1a4
Better coalesce [#CLICKHOUSE-2789].
2017-03-09 23:39:20 +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
235dbe6183
Fixed error with PartLog [#CLICKHOUSE-2703].
2017-03-09 19:46:11 +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
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
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
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
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
artpaul
1d8da3f8aa
allow compiler to catch inconsistency
2017-03-06 18:39:29 +05: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
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
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
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
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
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
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
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
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
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
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
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
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
0673f75265
Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755].
2017-02-10 13:20:06 +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 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
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
2e9ab88cb7
Fixed error by removal of obsolete optimization [#CLICKHOUSE-2825].
2017-02-09 00:45:19 +03: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
proller
045fd6f55d
fix build without readline
2017-02-08 01:40:08 +03: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
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
Pavel Kartavyy
fb5ff00c4a
RegionsHierarchies add missed ctor for tests
2017-02-07 15:25:18 +03:00
Alexey Milovidov
33f9917f53
Removed wrong code [#CLICKHOUSE-2].
2017-02-07 09:24:23 +03:00
Alexey Milovidov
099f8038d4
Fixed error [#CLICKHOUSE-2].
2017-02-07 09:18:16 +03: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
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
b8f1ea4805
Fix reloading http dictionaries [#CLICKHOUSE-2176] ( #433 )
...
* Fixing dictionaries [#CLICKHOUSE-2176]
2017-02-01 20:53:18 +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
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
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
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
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
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
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
proller
35dce017a2
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 15:07:29 +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