Alexey Milovidov
4e67e05835
Fixed error [#CLICKHOUSE-2].
2017-03-14 03:14:19 +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
f1yegor
401425bb89
translate comments
2017-03-12 20:18:07 +01:00
Alexey Milovidov
59613e1da4
Fixed build [#CLICKHOUSE-2882].
2017-03-12 19:09:39 +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
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +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
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
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
f9a5902e76
Support for NULLs in function if: continued [#CLICKHOUSE-2873].
2017-03-09 06:34:09 +03: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
artpaul
91f5e7ae5c
add priority and is_default columns [#CLICKHOUSE-2084]
2017-03-05 16:00:25 +05: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
05e87ad7a2
fix scope_exit formatting
2017-03-04 00:10:41 +03:00
Alexey Zatelepin
7090d0861a
reinitialize primary key after ALTER [#CLICKHOUSE-2853]
2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +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
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 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 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
d95663865f
Miscellaneous [#CLICKHOUSE-2].
2017-02-09 02:56:40 +03:00
Alexey Milovidov
2e9ab88cb7
Fixed error by removal of obsolete optimization [#CLICKHOUSE-2825].
2017-02-09 00:45:19 +03:00
Vitaliy Lyudvichenko
98af273cbc
Fixed and refactored storage Merge. [#CLICKHOUSE-2758]
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
artpaul
4c57c9731e
#437 encode name of default_database so it's can be passed through connection
2017-02-07 20:11:02 +04: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
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
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
ff54b9466d
Fixed error [#CLICKHOUSE-2191].
2017-01-28 00:46:15 +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
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
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
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
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
1c38a89785
Add source_part_names column into system.merges. [#CLICKHOUSE-2145]
2017-01-24 22:26:29 +04: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
proller
1adf0bb3e1
Remove -metrika-yandex postfix from package names ( #377 )
2017-01-20 23:58:13 +04:00
Alexey Milovidov
5c1ae060a4
Miscellaneous [#CLICKHOUSE-2761].
2017-01-20 05:22:18 +03: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
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
artpaul
402f974fb7
fix where <const> in (<const>) expression; [#METR-24043]
2017-01-10 19:16:37 +05:00
artpaul
903e1eab98
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 01:34:40 +05:00
Alexey Milovidov
d89ee33ce2
Squashed commit of the following:
...
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:35:01 2017 +0300
Style [#METR-2944].
commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:33:11 2017 +0300
Miscellaneous [#METR-2944].
commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:30:19 2017 +0300
Miscellaneous [#METR-2944].
commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:11:41 2017 +0300
Miscellaneous [#METR-2944].
commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:56:15 2017 +0300
Miscellaneous [#METR-2944].
commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:47:52 2017 +0300
Miscellaneous [#METR-2944].
commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:46:05 2017 +0300
Miscellaneous [#METR-2944].
commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:39:46 2017 +0300
Miscellaneous [#METR-2944].
commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:38:03 2017 +0300
Miscellaneous [#METR-2944].
commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:34:15 2017 +0300
Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
f7fa5b73b9
Changed names of files with NULL-related data to be more consistent [#METR-19266].
2017-01-04 07:15:38 +03:00
Alexey Milovidov
9dc44c1a3a
Renamed methods for bulk binary serialization (continued) [#METR-2944].
2017-01-03 02:31:26 +03:00
Alexey Milovidov
1f3aeb066a
Renamed methods for bulk binary serialization (continued) [#METR-2944].
2017-01-03 02:08:09 +03:00
Alexey Milovidov
701ca28c85
Renamed methods for bulk binary serialization [#METR-2944].
2017-01-03 01:47:28 +03:00
Alexey Milovidov
3fbb597694
Addition to prev. revision [#METR-2944].
2017-01-02 23:52:30 +03:00
Alexey Milovidov
ca37f28b5f
Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944].
2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
Vitaliy Lyudvichenko
694b0fad97
Reverted system.events changes. Added docs for system.metrics. [#METR-239111]
2016-12-31 03:06:23 +03:00
Vitaliy Lyudvichenko
07d720565c
Added profile events for INSERTs. [#METR-23930]
...
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e
Added memory tracking events and columns for merges. [#METR-23911]
2016-12-31 02:39:53 +03:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
Alexey Milovidov
f71c49ff6f
Addition to prev. revision [#METR-22189].
2016-12-30 02:12:56 +03:00
Alexey Milovidov
77aa5d17c8
Addition to prev. revision [#METR-22189].
2016-12-30 02:04:56 +03:00
Alexey Milovidov
ee80b16488
Fixed error with creation of GraphiteMergeTree table [#METR-22189].
2016-12-30 01:56:37 +03:00
Alexey Milovidov
5dad134760
Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978].
2016-12-30 01:06:31 +03:00
Alexey Milovidov
cf4f8d6ce4
Modified comment [#METR-2944].
2016-12-27 18:50:31 +03:00
Alexey Milovidov
c195b0212b
Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945].
2016-12-25 07:39:22 +03:00
Vitaliy Lyudvichenko
ba2b32b0ad
Added vertical_merge_algorithm_min_columns_to_activate option. [#METR-23783]
2016-12-22 16:19:03 +03:00
Vitaliy Lyudvichenko
e2bd364844
Added whole block optimization. [#METR-23783]
2016-12-22 16:19:02 +03:00
Alexey Milovidov
536f88ea55
Adjusted coefficients [#METR-23916].
2016-12-22 05:04:32 +03:00
Alexey Milovidov
7ebbf72ca6
Removed unused variable [#METR-23305].
2016-12-22 04:27:41 +03:00
Alexey Milovidov
c47406c42d
StorageBuffer: addition to prev. modification [#METR-23909].
2016-12-22 03:13:59 +03:00
proller
d270053c3c
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd.
2016-12-21 23:04:27 +03:00
Alexey Milovidov
7222afe5eb
StorageBuffer: fixed exception safety [#METR-23909].
2016-12-21 20:10:32 +03:00
Alexey Milovidov
54587fec1b
Tracking memory used in merges [#METR-23888].
2016-12-20 05:29:35 +03:00
Alexey Milovidov
442ff1d3b8
StorageBuffer: simplification; added metrics [#METR-23888].
2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
e39b41e158
Typo and codestyle fix.
2016-12-18 22:38:30 +03:00
Vitaliy Lyudvichenko
5aa1822fb2
Consecutive optimization for vertical merge. [#METR-23783]
2016-12-18 22:12:25 +03:00
Vitaliy Lyudvichenko
8835275713
More detail log for merges. [#METR-23770] [#METR-23769] [#METR-23783]
2016-12-18 22:12:25 +03:00
Vladimir Chebotarev
d172cb1fc2
StorageReplicatedMergeTree: Correct taking /quorum/last_part into account when merging. [#METR-23826]
2016-12-15 17:32:47 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Alexey Milovidov
c1ecc41804
Fixed error after merge [#METR-19266].
2016-12-12 10:25:31 +03:00
Alexey Milovidov
54af522de1
Preparation [#METR-2944].
2016-12-12 10:24:56 +03:00
Alexey Milovidov
8a69df19c4
Fixed error after merge [#METR-19266].
2016-12-12 09:00:37 +03:00
Alexey Milovidov
de82683197
Fixed build on clang [#METR-2944].[C
2016-12-12 08:56:34 +03:00
Alexey Milovidov
e2ed20999c
Fixed build on clang [#METR-2944].
2016-12-12 08:53:37 +03:00
Alexey Milovidov
31c4636538
Using internal boost library [#METR-2944].
2016-12-12 07:59:19 +03:00
Alexey Milovidov
d5a002f441
Using internal boost library [#METR-2944].
2016-12-12 07:57:55 +03:00
Alexey Milovidov
d605bfdc9d
Using internal boost library [#METR-2944].
2016-12-12 07:57:09 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
b3e85e6469
Addition to prev. revision [#METR-22442].
2016-12-11 14:59:55 +03:00
Alexey Milovidov
436d2c43c9
Addition to prev. revision [#METR-22442].
2016-12-11 14:47:09 +03:00
Alexey Milovidov
ce6556639e
Fixed tests after merge [#METR-19266] [#METR-22442].
2016-12-11 14:33:51 +03:00
Alexey Milovidov
c937d75a78
Merging [#METR-19266].
2016-12-10 09:10:29 +03:00
Alexey Milovidov
e53e32130d
Merging [#METR-19266].
2016-12-10 07:58:40 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vitaliy Lyudvichenko
ea11f61433
Added requested changes. [#METR-19372]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
855dc56598
Added treshold setting for Vertical merge algorithm. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
774eb01fd3
Added MergesTime metric. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
fc4c02c510
StorageSystemMerges refactoring.
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
f8eb9028fd
Refined query_log, processes and merges metrics.
...
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Alexey Milovidov
072f2fc7b8
Merges: start to lower maximum size of merge only when number of free entries in pool/queue is lower than specified threshold [#METR-21504].
2016-12-06 06:09:07 +03:00
Alexey Milovidov
0717bfa4d2
Simplified LevelMergeSelector [#METR-21504].
2016-12-06 00:34:46 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
Alexey Milovidov
02eb36fd03
MergeSelector: attempt to make something better [#METR-21504].
2016-12-05 09:31:48 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
proller
b529f29bb7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-29 19:57:01 +03:00
Vitaliy Lyudvichenko
1472629799
Updated pk_condition test after recent changes.
2016-11-28 20:59:39 +03:00
Alexey Milovidov
0a2d1ebbb3
Attempt to improve merge selecting algorithm [#METR-23632].
2016-11-28 06:46:08 +03:00
Alexey Milovidov
cac8f9216f
MergeSelector: attempt to do something that has sense [#METR-23632].
2016-11-28 06:17:31 +03:00
proller
4c90ffd61d
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-27 15:03:35 +03:00
Alexey Milovidov
6209092b15
Added heuristic for merge algorithm [#METR-23615].
2016-11-26 07:08:49 +03:00
proller
26fe10a7b4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 03:22:30 +03:00
Alexey Milovidov
7d280a55a3
Fixed error that server could not shutdown while fetching parts [#METR-23616].
2016-11-25 02:18:24 +03:00
Alexey Milovidov
167782c230
Addition to prev. revision [#METR-23615].
2016-11-25 01:43:49 +03:00
Alexey Milovidov
8e5889cf0e
Improved merge selecting algorithm for Replicated tables [#METR-23615].
2016-11-25 01:41:27 +03:00
proller
3b335b5546
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 22:58:40 +03:00
alexey-milovidov
8c2e228856
Revert "New "vertical" algorithm for MergeTrees' parts merges"
2016-11-24 23:08:54 +04:00
proller
e855c16f4a
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 21:25:56 +03:00
alexey-milovidov
8544a8b852
Merge pull request #171 from ludv1x/METR-23305
...
New "vertical" algorithm for MergeTrees' parts merges
2016-11-24 22:07:41 +04:00
Vitaliy Lyudvichenko
544ef67c28
Fixed IN <Set> usage inside PK expressions.
...
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
proller
8c07957e38
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 04:01:18 +03:00
Vitaliy Lyudvichenko
4f9064ca19
Fixed case when pk column is wrapped by functions.
2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
d27951b4a7
Added requested changes. [#METR-23473]
2016-11-23 16:33:05 +03:00
Vitaliy Lyudvichenko
e07fc7cea5
Fixed Enum usage in PK expressions. [#METR-23473]
...
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Vitaliy Lyudvichenko
ef593d1b01
Added merge_tree.enable_vertical_merge_algorithm setting.
2016-11-23 15:59:25 +03:00
Vitaliy Lyudvichenko
588add5a49
Added requested changes.
...
Also fixed single thread read from empty storage Log.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
2cd5b8b604
Updated MergeInfo and progress callbacks with respect to vertical merge alg.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
ec9bcd8054
Vertical merging algorithm for ordinary MergeTreee.
2016-11-23 15:47:19 +03:00
proller
4f39c04854
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-23 01:33:37 +03:00
proller
eeeacd0805
merge upstream
2016-11-23 01:33:02 +03:00
Alexey Milovidov
4cab31a60e
Tiny improvement [#METR-2944].
2016-11-22 23:55:45 +03:00
Alexey Milovidov
bba5dcbcfa
Fixed deadlock [#METR-23557].
2016-11-22 22:27:45 +03:00
Alexey Milovidov
94e344ee38
Part checks don't lock ALTERs [#METR-22214].
2016-11-22 21:49:17 +03:00
Alexey Milovidov
886919a5c9
Removed excessive part checks [#METR-22214].
2016-11-22 21:29:36 +03:00
Alexey Milovidov
3b635bf641
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-22 20:42:21 +03:00
Alexey Milovidov
a464f2303d
Better logic for ALTER in ReplicatedMergeTree [#METR-22214].
2016-11-22 20:41:45 +03:00
proller
e280569453
Everything [maybe] works!
2016-11-22 18:03:54 +03:00
proller
0b40a13ea7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-22 14:56:57 +03:00
Alexey Milovidov
e2b8236cf4
Fixed error [#METR-2944].
2016-11-20 16:17:51 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
Alexey Milovidov
c38a9118b1
More tolerant to previous errors [#METR-22327].
2016-11-20 12:17:30 +03:00
Alexey Milovidov
60c62055ba
Added comment [#METR-22327].
2016-11-20 12:13:06 +03:00
Alexey Milovidov
c8c86208aa
Fixed error with ALTER of Enums in Nested fields [#METR-22442].
2016-11-20 11:57:11 +03:00
proller
61e6ee9100
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 15:14:34 +03:00
Alexey Milovidov
ea0c752852
Investigated flappy test [#METR-23540].
2016-11-18 12:02:49 +03:00
Alexey Milovidov
ef85902daa
Little better [#METR-22327].
2016-11-18 06:15:49 +03:00
Alexey Milovidov
dfd7f54c1c
Little improvement in case of too much parts [#METR-22327].
2016-11-18 05:50:28 +03:00
Alexey Milovidov
e73e4e887a
Better logic when there is very large number of parts in non-replicated MergeTree [#METR-22327].
2016-11-18 05:34:34 +03:00
Alexey Milovidov
a44e5193b0
Better backpressure for INSERT SELECT into MergeTree [#METR-22327].
2016-11-18 05:05:25 +03:00
proller
881319c4ec
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 04:48:21 +03:00
Alexey Milovidov
b19e61757e
Little improvement for large number of small inserts [#METR-22327].
2016-11-18 04:03:57 +03:00
Alexey Milovidov
cfcdb3f881
Added check [#METR-22327].
2016-11-18 03:20:22 +03:00
Alexey Milovidov
0700f53665
Fixed error with 'intersects previous part' [#METR-22327].
2016-11-18 03:19:35 +03:00
proller
278fbbb4da
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 00:02:25 +03:00
Alexey Milovidov
866e64a65e
Fixed deadlock in test when many replicas on single server try to execute multiple attaches and wait for each other [#METR-23507].
2016-11-16 09:08:29 +03:00
Alexey Milovidov
d5155fbe7a
Added quota_key to query_log and processlist [#METR-23505].
2016-11-16 08:09:41 +03:00
Alexey Milovidov
bee6183d35
Fixed error [#METR-2944].
2016-11-16 08:05:14 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
alexey-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Vitaliy Lyudvichenko
107f7b34c7
Added requested PR changes, 2nd iteration.
2016-11-14 02:57:18 +03:00
Alexey Milovidov
5b72f0956a
Setting level to zero after ATTACH [#METR-23438].
2016-11-11 20:33:43 +03:00
Vitaliy Lyudvichenko
bf924009b9
Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101]
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
Alexey Milovidov
8ba7a32410
Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484].
2016-11-02 18:26:16 +03:00
Alexey Milovidov
22719b1114
MergeSelector: further [#METR-21840].
2016-11-01 23:30:40 +03:00
Alexey Milovidov
aaec9d1db6
Attempt for improvement [#METR-21840].
2016-11-01 22:20:24 +03:00
alexey-milovidov
d1f11af2c2
Merge pull request #151 from Civil/osx_compatibility
...
[WIP] Make it compilable on OS X
2016-11-01 21:09:48 +04:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
5d394a20a1
MergeSelector: changed logic of selection of parts for OPTIMIZE (more like it was before) [#METR-21841].
2016-11-01 18:22:04 +03:00
Alexey Milovidov
ecf2f6b6ab
MergeSelector: development [#METR-21841].
2016-11-01 14:27:29 +03:00
Alexey Milovidov
a3a8b49e80
MergeSelector: development [#METR-21841].
2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0
MergeSelector: development [#METR-21841].
2016-11-01 11:38:55 +03:00
Alexey Milovidov
933c8f3d68
MergeSelector: development [#METR-21841].
2016-11-01 01:53:54 +03:00
Alexey Milovidov
573a84c89a
MergeSelector: development [#METR-21841].
2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9
MergeSelector: development [#METR-21841].
2016-10-31 22:32:08 +03:00
Alexey Milovidov
4fd7183049
MergeSelector: fixed error [#METR-21841].
2016-10-31 22:11:09 +03:00
Alexey Milovidov
89328b498f
MergeSelector: development [#METR-21841].
2016-10-31 08:35:29 +03:00
Alexey Milovidov
bee00bfcfc
MergeSelector: development [#METR-21841].
2016-10-30 14:05:45 +03:00
Alexey Milovidov
a832a8cd71
MergeSelector: development [#METR-21840].
2016-10-30 11:54:27 +03:00
Alexey Milovidov
4dec8babf1
MergeSelector: development [#METR-21840].
2016-10-30 11:47:47 +03:00
Alexey Milovidov
bab6e9ea22
MergeSelector: development [#METR-21840].
2016-10-30 11:32:05 +03:00
Alexey Milovidov
1b2bbcd359
MergeSelector: development [#METR-21840].
2016-10-30 11:25:07 +03:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d
MergeSelector: development [#METR-21840].
2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b
MergeSelector: development [#METR-21840].
2016-10-30 06:12:25 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
687a6d1496
Addition to prev. revision [#METR-2944].
2016-10-25 09:57:12 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
daeac24f04
Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279].
2016-10-25 00:40:39 +03:00
Alexey Milovidov
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
9a3deed1ea
Added metric about leadership [#METR-23272].
2016-10-24 15:46:54 +03:00
Alexey Milovidov
2dd43be6e6
Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272].
2016-10-24 15:34:08 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
Alexey Milovidov
4d9b3fd3ee
Better [#METR-23198].
2016-10-23 13:59:53 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Milovidov
15bf61c367
Fixed part of error [#METR-23198].
2016-10-21 04:44:57 +03:00
Alexey Arno
3792a9f302
dbms: Server: fixes [#METR-19266]
2016-10-20 13:13:07 +03:00
Alexey Arno
6c40d9b51e
dbms: Server: fixes [#METR-19266]
2016-10-19 21:18:02 +03:00
Yuri Dyachenko
297a1547c5
more usable settings for delayed insert. issue: #METR-22563
2016-10-19 20:58:27 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
b5ff08bce6
dbms: Server: semantic cleanup [#METR-19266]
2016-10-19 10:15:26 +03:00
Alexey Arno
e1099f47cb
dbms: Server: fix [#METR-19266]
2016-10-18 22:31:07 +03:00
alexey-milovidov
8d7ba10835
Merge pull request #132 from ludv1x/METR-22802
...
Automatic reload of remote_servers configuration.
2016-10-14 23:32:27 +04:00
alexey-milovidov
fad9272161
Merge pull request #137 from ludv1x/METR-22471
...
Fixed std::terminate on DROP of StorageReplicatedMergeTree
2016-10-14 23:28:39 +04:00
Vitaliy Lyudvichenko
3120b06c02
Small enhancement and typos fixes.
2016-10-14 21:00:55 +03:00
Vitaliy Lyudvichenko
a0760a4821
Added requested PR changes. [#METR-22802]
2016-10-14 20:54:18 +03:00
Vitaliy Lyudvichenko
669e2982a5
Made merge_selecting_thread creation & deletion atomic. [#METR-22471]
2016-10-14 14:47:11 +03:00
Vitaliy Lyudvichenko
aa863ea7bb
Fixed std::terminate on DROP of StorageReplicatedMergeTree. [#METR-22471]
2016-10-14 13:17:05 +03:00
Alexey Milovidov
dce56bfeba
Implemented TODO [#METR-23132].
2016-10-14 05:51:03 +03:00
Vitaliy Lyudvichenko
144d9018ba
Added port column into system.processes table. [#METR-22966]
2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
ebbc9b9877
Added abilty to automatically update clusters configuration. [#METR-22802]
2016-10-11 17:17:49 +03:00
Alexey Milovidov
6b2755bf2a
Non significant change [#METR-2944].
2016-09-23 23:33:06 +03:00
Alexey Milovidov
365be3c026
Fixed warning with gcc 6 [#METR-2944].
2016-09-19 09:24:18 +03:00
Alexey Arno
bd73b2d165
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-15 15:14:25 +03:00
Alexey Arno
b7ca838dc0
dbms: Server: cleanups [#METR-19266]
2016-09-11 13:06:34 +03:00
Vitaliy Lyudvichenko
1d02509ee0
Add new metadata_modification_time column for system.tables [#METR-22593]
2016-09-05 15:15:29 +03:00
Alexey Milovidov
469eebe4f0
Investigation [#METR-2944].
2016-09-04 20:12:07 +03:00
Alexey Arno
443613c153
dbms: Fixed bug in ALTER TABLE ... MODIFY COLUMN. [#METR-19622]
2016-09-02 18:43:43 +03:00
Alexey Milovidov
322e5031bd
Investigation [#METR-22327].
2016-09-02 07:03:40 +03:00
Alexey Milovidov
344e975a59
Temporarily improvement [#METR-22608].
2016-09-02 03:58:18 +03:00
Alexey Arno
91b20fe7ad
dbms: Disabled check because it is unreliable. A better solution is needed. [#METR-18510]
2016-09-01 17:40:02 +03:00
Alexey Arno
2b3a87b7c6
dbms: Catch missing parameter [#METR-18510]
2016-09-01 13:53:50 +03:00
Alexey Milovidov
0db84044e5
Better [#METR-22608].
2016-09-01 05:26:45 +03:00
alexey-milovidov
012f34a799
Merge pull request #96 from yurial/yurial-IStorage-enable_shared_from_this
...
use std::enable_shared_from_this for IStorage
2016-08-31 00:00:23 +04:00
Yuri Dyachenko
295ca40237
typo fix
2016-08-30 22:28:32 +03:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Alexey Arno
9528405fe4
dbms: Extended CAST to nullable types. Added ALTER TABLE ... MODIFY COLUMN ... for nullable types. A column with a nullable type can have a default value in CREATE TABLE. [#METR-19266]
2016-08-29 19:57:59 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Alexey Milovidov
be6cfea281
Fixed typo in comment [#METR-2807].
2016-08-26 23:22:22 +03:00
alexey-milovidov
60b9234b50
Merge pull request #95 from yurial/yurial-more-warning-flags
...
add -Wold-style-cast
2016-08-26 23:58:05 +04:00
Yuri Dyachenko
065b02494a
add -Wold-style-cast
2016-08-26 22:55:11 +03:00
Alexey Milovidov
867b73b6b0
Fixed error with cancelling merges on ALTERs [#METR-22524].
2016-08-26 22:50:04 +03:00
Alexey Milovidov
0c39e52094
Fixed error [#METR-22462].
2016-08-26 21:06:24 +03:00
Alexey Milovidov
689f599e2a
Fixed error, removed partially duplicate code [#METR-22462].
2016-08-25 20:23:29 +03:00
Alexey Arno
824341c1c2
dbms: made code more readable [#METR-19266]
2016-08-24 13:27:19 +03:00
Alexey Arno
cd0541134a
dbms: post-testing fixes [#METR-19266]
2016-08-24 03:39:38 +03:00
Alexey Milovidov
e0f3cbb432
Added optional 'default_database' parameter for Cluster (allow Distributed tables to connect to different databases on different shards/replicas) [#METR-22462].
2016-08-22 23:34:21 +03:00
Alexey Arno
2a5abb17be
dbms: cleanup [#METR-19266]
2016-08-19 15:01:10 +03:00
Alexey Arno
7a4683140e
dbms: cleanup [#METR-19266]
2016-08-19 12:08:48 +03:00
Alexey Arno
eb98892e61
dbms: cleanup [#METR-19266]
2016-08-18 20:08:05 +03:00
Alexey Arno
22dc2f96a1
dbms: cleanup [#METR-19266]
2016-08-18 19:11:20 +03:00
Alexey Arno
e513df2e5c
dbms: reverted change (was bogus) [#METR-19266]
2016-08-15 20:26:06 +03:00
Alexey Arno
f4e77aaf97
dbms: Better code for functions processing. Code cleanup. [#METR-19266]
2016-08-15 14:14:29 +03:00
Alexey Milovidov
0cf32c8aed
Renamed method [#METR-22400].
2016-08-13 05:21:17 +03:00
Alexey Milovidov
b3b2cd110a
Tiny modification [#METR-22327].
2016-08-13 04:59:09 +03:00
Alexey Milovidov
d5ad347532
Fixed probable source of race conditions [#METR-22327].
2016-08-12 08:20:06 +03:00
Alexey Arno
9896c8ce78
dbms: Merged from master [#METR-19266]
2016-08-11 17:15:27 +03:00
Alexey Arno
f5d9d0ebc9
Merge branch 'master' into METR-19266 [#METR-19266]
2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Milovidov
d8eb52c189
Improvement [#METR-22352].
2016-08-10 10:20:21 +03:00
Alexey Milovidov
6bc1840b88
Fixed error [#METR-22352].
2016-08-10 07:20:50 +03:00
Alexey Milovidov
5e9be50a52
Fixed build of test [#METR-21594].
2016-08-10 02:14:36 +03:00
Alexey Milovidov
8cbf62236f
Fixed build of test [#METR-21594].
2016-08-10 02:13:41 +03:00
Alexey Milovidov
b51bdbd0c0
Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811].
2016-08-10 00:48:05 +03:00
Alexey Milovidov
4b41c52747
Attempt to improve performance of replication queue processing [#METR-22352].
2016-08-09 23:39:28 +03:00
Alexey Milovidov
f129e94429
Fixed warnings on clang [#METR-2944].
2016-08-07 19:17:57 +03:00
Alexey Milovidov
cb7a458ac4
Added check [#METR-22325].
2016-08-07 14:12:55 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Milovidov
55ddf44693
Whitespaces [#METR-22173].
2016-08-05 05:40:45 +03:00
Alexey Milovidov
61b9996d9e
Better [#METR-22173].
2016-08-05 05:28:34 +03:00
Alexey Milovidov
fb5981871a
Avoid copying ColumnWithTypeAndName [#METR-22173].
2016-08-05 02:35:07 +03:00
Alexey Milovidov
d7ce4dd410
Better grepability [#METR-22173].
2016-08-03 23:25:09 +03:00
Alexey Milovidov
ee92f5d0cc
dbms: prefer fetching part from replica, in some cases [#METR-22288].
2016-08-02 22:02:00 +03:00
Alexey Milovidov
6cf89fa915
Attempt to not interrupt merges when ZK session is reinitialized [#METR-22283].
2016-08-02 21:33:55 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
1700f4e132
Added support for complex typed arguments for function toString [#METR-22263].
2016-07-30 07:39:51 +03:00
Oleg Obleukhov
f38041836c
Replaced yandex-team.ru domain with .yandex in a help page
2016-07-29 12:31:32 +02:00
Alexey Milovidov
2811f2a17c
Fixed error when system.columns table throws 'Table is dropped' exception when there are many tables, created and dropped everytime [#METR-22205].
2016-07-26 20:22:55 +03:00
Alexey Arno
1fe6786b78
dbms: NULL support for MergeTree [#METR-19266]
2016-07-24 22:32:21 +03:00
Alexey Milovidov
130ec8b58b
Compatibility with new parser and AST of tables list [#METR-2944].
2016-07-22 23:39:28 +03:00
Alexey Arno
beeeb0ab13
dbms: NULL support for MergeTree [#METR-19266]
2016-07-21 19:22:24 +03:00
Alexey Arno
252d7994e7
dbms: cleanup [#METR-19266]
2016-07-19 13:57:57 +03:00
Alexey Arno
d0d1ad3be1
dbms: improvements [#METR-19266]
2016-07-14 15:58:30 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Arno
ec30520c89
dbms: improvements [#METR-19266]
2016-07-13 20:05:52 +03:00
Alexey Arno
c336359299
dbms: improvements [#METR-19266]
2016-07-13 20:00:10 +03:00
Alexey Arno
fa9829ad85
dbms: removed unused code [#METR-19266]
2016-07-13 19:49:06 +03:00
Alexey Arno
69948c5865
dbms: added support for null values in StorageLog + fixed long-standing bug in StorageLog (if we called the ClickHouseClient with max_threads=1, SELECT threw an exception if a table was empty) [#METR-19266]
2016-07-13 19:41:19 +03:00
Alexey Arno
0bf5406662
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-13 13:45:43 +03:00
Alexey Arno
a15cce69aa
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-13 13:35:00 +03:00
Alexey Arno
6d753f05e6
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-12 21:08:16 +03:00
Alexey Arno
93ac3ee3a8
dbms: Server: Feature development. [#METR-19266]
2016-07-06 18:15:15 +03:00
Alexey Milovidov
5ded454986
Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884].
2016-06-28 23:50:37 +03:00
Alexey Milovidov
b8ca97a891
Added check for constants in primary key [#METR-2944].
2016-06-21 20:06:12 +03:00
Alexey Milovidov
e8ffd48e49
Loosen safety threshold on amount of ALTER changes [#METR-21615].
2016-06-06 22:50:30 +03:00
Alexey Milovidov
168ca22435
Fixed error when too long merges cannot be successful [#METR-21616].
2016-06-06 22:16:34 +03:00
Alexey Milovidov
47898ae73b
Disabled implicit moving to PREWHERE when using FINAL [#METR-20644].
2016-06-06 21:41:28 +03:00
Alexey Milovidov
3e60a95cdd
Allowed subqueries in views [#METR-21586].
2016-06-06 21:19:28 +03:00
Alexey Milovidov
a4a543f1c3
Merge branch 'master' of github.com:yandex/ClickHouse
2016-05-30 21:24:35 +03:00
Alexey Milovidov
d03d19ab57
Updated comment [#METR-2944].
2016-05-30 21:24:19 +03:00
Alexey Milovidov
7651dcbc0a
Fixed error after moving to non-recursive mutex [#METR-21503].
2016-05-30 04:16:22 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
36efb7063e
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:00:04 +03:00
Alexey Milovidov
e336ba10eb
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:56:51 +03:00
Alexey Milovidov
9e553dec0a
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:54:40 +03:00
Alexey Milovidov
6a51b999da
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:50:16 +03:00
Alexey Milovidov
fc65afb6f0
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:46:03 +03:00
Alexey Milovidov
8c4abcdd43
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:42:22 +03:00
Alexey Milovidov
646d70a545
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
6863e72f3d
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:15:36 +03:00
Alexey Milovidov
f9b2cd5ab6
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:23:36 +03:00
Alexey Milovidov
61ae4e5547
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:15:50 +03:00
Alexey Milovidov
bf71e2ed90
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:11:52 +03:00
Alexey Milovidov
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Alexey Milovidov
f2ccbc9802
Better exception message [#METR-21479].
2016-05-26 00:35:57 +03:00
Alexey Arno
113dc3e82f
dbms: Server: Fixed grammar in a few error messages [#METR-20000]
2016-05-24 19:53:29 +03:00
Vladimir Chebotarev
866c8929e2
dbms, contrib: GCC 6 build fixes [#METR-20000]
2016-05-23 03:41:26 +03:00
Alexey Milovidov
adc850993c
Fixed error [#METR-21326].
2016-05-19 23:58:24 +03:00
Alexey Milovidov
92ca4ab538
Investigating [#METR-21326].
2016-05-19 23:24:41 +03:00
Alexey Milovidov
5dbed81502
Added comment [#METR-21326].
2016-05-18 07:03:27 +03:00
Alexey Milovidov
6151fcc3e6
Fixed error [#METR-21326].
2016-05-18 06:58:23 +03:00
Alexey Milovidov
c4407306d5
Always materialize columns while merge [#METR-21119].
2016-05-18 05:49:52 +03:00
Alexey Milovidov
8f50b30268
Alter primary key: development [#METR-21119].
2016-05-18 00:07:10 +03:00
Alexey Milovidov
9a60b90941
Alter primary key: development [#METR-21119].
2016-05-17 23:11:43 +03:00
Alexey Milovidov
d680a7f8da
Alter primary key: development [#METR-21119].
2016-05-17 04:17:32 +03:00
Alexey Milovidov
bf265e264a
Alter primary key: development [#METR-21119].
2016-05-17 02:04:03 +03:00
Alexey Milovidov
2f1fead382
Merge
2016-05-16 21:47:34 +03:00
Alexey Milovidov
093f69c45d
Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326].
2016-05-16 21:43:38 +03:00
Alexey Milovidov
6942819013
Altering primary key [#METR-21119].
2016-05-14 00:08:19 +03:00
Alexey Milovidov
e37ffe7c3d
Tiny modification [#METR-2944].
2016-05-13 06:23:23 +03:00
Alexey Milovidov
203cdbe244
Addition [#METR-21287].
2016-05-13 06:22:53 +03:00
Alexey Milovidov
65de71b5a2
Added table function 'shardByHash' [#METR-21287].
2016-05-13 06:22:16 +03:00
Alexey Arno
6df8377161
dbms: Server: Modified code so that only column names are considered for table consistency checking. [#METR-18510]
2016-05-11 11:20:51 +03:00
Alexey Milovidov
fcbc9eed88
Fixed error with falsely unexpected parts after merge [#METRIKASUPP-6885].
2016-05-07 16:42:03 +03:00
Alexey Milovidov
eea75db9fb
Modify primary key: development [#METR-21119].
2016-05-05 21:28:46 +03:00
Alexey Milovidov
4d3b2dd417
Addition [#METR-21159].
2016-05-04 22:05:42 +03:00
Alexey Milovidov
83df6fdf23
Merge
2016-05-04 22:01:26 +03:00
Alexey Milovidov
37d6b5ae56
Addition to prev. revision [#METR-21048].
2016-04-25 00:46:14 +03:00
Alexey Milovidov
9ae0277632
Fixed build of test [#METR-21048].
2016-04-24 22:47:10 +03:00
Alexey Milovidov
e344f3275b
Merge
2016-04-24 22:46:37 +03:00
Alexey Milovidov
1fd8914e10
Merge
2016-04-24 13:39:18 +03:00
Alexey Milovidov
07f04d70d3
Merge
2016-04-24 12:44:47 +03:00
Alexey Milovidov
55b580f882
More profile events [#METR-2944].
2016-04-23 05:39:40 +03:00
Alexey Arno
3d9dc30e8c
dbms: Added more fault tolerance [#METR-18510]
2016-04-21 17:58:25 +03:00
Alexey Milovidov
cff1004f04
Lowered batch size in pullLogsToQueue [#METR-21013].
2016-04-21 00:24:12 +03:00
Alexey Milovidov
c6722da2b2
Merge
2016-04-19 00:38:06 +03:00
Alexey Milovidov
c43b34d3f0
Added function 'indexHint' [#METR-20940].
2016-04-16 02:10:29 +03:00
Alexey Milovidov
a5d7c41253
Addition [#METR-20644].
2016-04-15 23:11:03 +03:00
Alexey Milovidov
9f3d9277af
Addition to prev. revision [#METR-20644].
2016-04-15 22:55:07 +03:00
Alexey Milovidov
d6ba48a610
Merge
2016-04-15 22:37:19 +03:00
Alexey Milovidov
2bb5a4749b
Merge
2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce
Merge
2016-04-15 20:42:51 +03:00
Alexey Milovidov
d79174b2ce
Preparation [#METR-20644].
2016-04-15 20:13:51 +03:00
Alexey Arno
68f427398d
dbms: server: Retry after a timeout issue. [#METR-20825]
2016-04-15 01:00:39 +03:00
Alexey Arno
b884690fbf
dbms: server: Bug fix: avoid empty log entries. Also added missing logging. [#METR-20825]
2016-04-14 23:52:16 +03:00
Alexey Arno
1ed2615f7c
dbms: Fixed minor issue with logging [#METR-20825]
2016-04-14 19:25:09 +03:00
Alexey Arno
35e16aed04
dbms: Bug fix: under certain circumstances, ClickHouse would fail to attach a partition whose name coincides with the name of another partition that was previously dropped [#METR-20825]
2016-04-14 19:21:17 +03:00
Alexey Milovidov
b1ee71c026
Fixed build [#METR-2944].
2016-04-13 23:46:11 +03:00
Alexey Milovidov
8b9cf82c6c
More checking [#METR-12588].
2016-04-13 07:48:41 +03:00
Alexey Milovidov
8b346c7f43
Fixed build of tests [#METR-2944].
2016-04-11 00:50:36 +03:00
Alexey Milovidov
edc561d6b5
Fixed error [#METR-20803].
2016-04-10 03:28:44 +03:00
Alexey Milovidov
0b7a474beb
Better exception message [#METR-20817].
2016-04-09 08:45:42 +03:00
Alexey Milovidov
2a85a1d266
Added setting 'replicated_alter_columns_timeout' [#METR-20816].
2016-04-09 08:43:55 +03:00
Alexey Milovidov
11df87ea54
Merge
2016-04-09 07:22:11 +03:00
Alexey Milovidov
d0365e9501
Separated code for checking parts [#METR-20803].
2016-04-09 06:50:02 +03:00
Alexey Milovidov
8a14cdc966
Fixed error [#METR-20803].
2016-04-09 05:29:15 +03:00
Alexey Milovidov
86e19f1e87
Merge
2016-04-08 00:35:42 +03:00
Alexey Milovidov
f0844ecb66
Attempt to fix an error [#METR-20803].
2016-04-08 00:35:01 +03:00
Alexey Arno
2a23271645
dbms: fixed typo that led to a bug [#METR-18510]
2016-04-06 18:08:28 +03:00
Alexey Milovidov
b0e9fd6da3
Improved exception message [#METR-20762].
2016-04-06 03:31:22 +03:00
Alexey Milovidov
3973277936
Allowed to modify 'max_files_to_modify_in_alter_columns' [#METR-20763].
2016-04-05 21:18:16 +03:00
Alexey Milovidov
6e75a1d1c0
Cloud databases: development [#METR-19998].
2016-04-05 00:41:16 +03:00
Alexey Milovidov
f2edb5d1fb
Attempt to fix an error with yielding leadership [#METR-20691].
2016-04-03 00:22:39 +03:00
Alexey Milovidov
eb5d905600
Added support for using index for LIKE expressions with fixed prefix [#METR-20706].
2016-04-03 00:19:58 +03:00
Alexey Milovidov
60252fed27
Removed old code as promised [#METR-2944].
2016-04-01 19:47:25 +03:00
Alexey Milovidov
f41bba57a5
Better [#METR-20691].
2016-04-01 02:49:31 +03:00
Alexey Milovidov
4f597ed7c3
Fixed error [#METR-20679].
2016-03-31 20:42:57 +03:00
Alexey Milovidov
ba3f35f83c
Merge
2016-03-31 15:21:57 +03:00
Alexey Milovidov
f7bb03e417
Modified comment [#METR-20659].
2016-03-31 15:21:26 +03:00
Alexey Milovidov
e1a80f5ded
Added support for case when merged data differs from data on another replicas [#METR-20670].
2016-03-31 04:25:16 +03:00
Alexey Milovidov
2501af25e8
Cancelling checking parts on shutdown [#METR-20660].
2016-03-31 03:09:12 +03:00
Alexey Milovidov
a2e7b7c904
Addition to prev. revision [#METR-19997].
2016-03-30 22:01:33 +03:00
Alexey Milovidov
0e6993b3ea
Removed obsolete Chunks and ChunkRef storages [#METR-19997].
2016-03-30 19:04:53 +03:00
Alexey Milovidov
5c400d5c5c
Better [#METR-20659].
2016-03-30 02:03:15 +03:00
Alexey Milovidov
bcb8e4e92c
Attempt to fix an error [#METR-20659].
2016-03-30 01:52:11 +03:00
Alexey Milovidov
04875a022a
Removed code for freezing partitions due to unacceptable implementation [#METR-20656].
2016-03-29 22:39:44 +03:00
Alexey Milovidov
34f6887a28
Merge
2016-03-29 19:59:22 +03:00
Alexey Milovidov
c2d1d04157
Added 'is_local' column to system.clusters table [#METR-20655].
2016-03-29 19:58:52 +03:00
Alexey Arno
21ff6d9f94
dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510]
2016-03-29 19:29:39 +03:00
Alexey Arno
09985be3ba
dbms: Added more comments. Made some code more understandable. [#METR-18510]
2016-03-28 16:00:00 +03:00
Alexey Milovidov
86617c8339
Cloud databases: development [#METR-19998].
2016-03-28 14:19:51 +03:00
Alexey Milovidov
605e9c4afb
Addition to prev. revision [#METR-20607].
2016-03-27 17:36:59 +03:00
Alexey Milovidov
702876f9f0
Fixed suboptimal index usage in point queries [#METR-20607].
2016-03-27 14:37:25 +03:00
Alexey Arno
776a0e3041
dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510]
2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6
Merge
2016-03-25 14:48:45 +03:00
Alexey Milovidov
43d323013c
Fixed error [#METR-19997].
2016-03-23 00:26:13 +03:00
Alexey Milovidov
288fb9dcdf
Less wrong [#METR-19997].
2016-03-22 02:46:24 +03:00
Alexey Milovidov
114713a9c3
StorageBuffer: don't return empty blocks to read [#METR-20540].
2016-03-22 02:04:50 +03:00
Alexey Milovidov
5fc44df6b5
Squashed commit of the following:
...
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 04:06:36 2016 +0300
Database engines: development [#METR-19997].
commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 03:44:37 2016 +0300
Database engines: development [#METR-19997].
commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:33:59 2016 +0300
Database engines: development [#METR-19997].
commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:03:11 2016 +0300
Database engines: development [#METR-19997].
commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 23:24:57 2016 +0300
Database engines: development [#METR-19997].
commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 22:50:36 2016 +0300
Database engines: development [#METR-19997].
commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 15:09:17 2016 +0300
Database engines: development [#METR-19997].
commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:26:34 2016 +0300
Database engines: development [#METR-19997].
commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:22:59 2016 +0300
Database engines: development [#METR-19997].
commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 01:02:40 2016 +0300
Database engines: development [#METR-19997].
commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 23:23:40 2016 +0300
Database engines: development [#METR-19997].
commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 20:29:07 2016 +0300
Database engines: development [#METR-19997].
commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 01:30:23 2016 +0300
Database engines: development [#METR-19997].
commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 21:55:31 2016 +0300
Database engines: development [#METR-19997].
commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 08:00:58 2016 +0300
Database engines: development [#METR-19997].
commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:51:10 2016 +0300
Database engines: development [#METR-19997].
commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:02:20 2016 +0300
Reverted erroneous modification [#METR-19997].
commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 00:41:34 2016 +0300
Database engines: development [#METR-19997].
commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Mar 15 00:41:48 2016 +0300
Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Arno
4ce2d94be7
dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510]
2016-03-10 18:42:36 +03:00
Alexey Milovidov
4f3e9dfc95
dbms: addition to prev. revision [#METR-20301].
2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7
dbms: fixed error [#METR-20301].
2016-03-10 06:08:09 +03:00
Alexey Arno
50bdb806b9
dbms: Code cleanup. [#METR-18510]
2016-03-09 16:59:34 +03:00
Alexey Arno
75f31de790
dbms: Code cleanup. [#METR-18510]
2016-03-09 16:40:47 +03:00
Alexey Arno
79d5c899b0
dbms: Fault tolerance improvement. Fixed a race condition. Some cleanup. [#METR-18510]
2016-03-09 15:03:39 +03:00
Evgeniy Gatov
6aa4d59400
Merge
2016-03-08 20:52:42 +03:00
Alexey Arno
e9718711d0
dbms: Code cleanup. [#METR-18510]
2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357
dbms: Code cleanup. [#METR-18510]
2016-03-08 16:46:00 +03:00
Alexey Milovidov
0194495b99
Fixed build [#METR-2807].
2016-03-07 11:10:52 +03:00
Alexey Milovidov
85863529cf
Fixing warnings on clang [#METR-2807].
2016-03-07 10:47:41 +03:00
Alexey Milovidov
0536f42f8c
Fixing build on clang [#METR-2807].
2016-03-07 09:49:07 +03:00
Alexey Milovidov
fcbe00ce94
Fixing warnings on clang [#METR-2807].
2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd
Fixing warnings on clang [#METR-2807].
2016-03-07 07:43:14 +03:00
Alexey Milovidov
ebf5b3afdd
Merge
2016-03-07 05:21:16 +03:00
Alexey Arno
a1fd25865b
dbms: Code cleanup. [#METR-18510]
2016-03-05 13:33:01 +03:00
Alexey Milovidov
f5247021b1
Fixed error [#METR-20296].
2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125
Better diagnostics [#METR-19808].
2016-03-05 05:30:20 +03:00
Alexey Milovidov
fb4e0b1402
Fixed error and added test for '_sample_factor' virtual column [#METR-20296].
2016-03-05 02:42:30 +03:00
Alexey Arno
f5c520bde1
dbms: Improved locking. [#METR-18510]
2016-03-04 19:33:31 +03:00
Alexey Arno
860bfcf676
dbms: Code cleanup. [#METR-18510]
2016-03-04 13:04:01 +03:00
Alexey Arno
b44f3f4f5d
dbms: Code cleanup. [#METR-18510]
2016-03-04 13:00:00 +03:00
Alexey Milovidov
4e0be26844
Addition to prev. revision [#METR-20296].
2016-03-04 07:56:43 +03:00
Alexey Milovidov
42883fddc4
Added virtual column '_sample_factor' [#METR-20296].
2016-03-04 07:54:10 +03:00
Alexey Milovidov
d1aee1d615
Fixed error with StorageBuffer and automatic moving conditions to PREWHERE [#METR-20257].
2016-03-04 05:54:26 +03:00
Alexey Milovidov
a8f423a74c
Merge
2016-03-03 23:29:52 +03:00
Alexey Arno
aeb14a7855
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474
Merge
2016-03-03 18:38:13 +03:00
Alexey Arno
d21060c35b
dbms: Locking performance and correctness improvements. [#METR-18510]
2016-03-03 17:37:15 +03:00
Alexey Arno
9efcf9d204
dbms: Code cleanup. [#METR-18510]
2016-03-03 11:40:21 +03:00
Alexey Arno
da03a011b2
dbms: Modified function implementation to make it cleaner. [#METR-18510]
2016-03-03 10:39:02 +03:00
Alexey Milovidov
e29eb14b79
dbms: attempt to fix an error [#METR-20273].
2016-03-03 07:30:36 +03:00
Alexey Milovidov
0119de05bb
DataPartsExchange: better [#METR-20273].
2016-03-03 06:54:37 +03:00
Alexey Arno
aa10c8c87d
dbms: Code cleanup. [#METR-18510]
2016-03-02 23:27:29 +03:00
Alexey Arno
514cf0fcba
dbms: Code cleanup. [#METR-18510]
2016-03-02 17:12:04 +03:00
Alexey Arno
6232e1cf9a
dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510]
2016-03-02 16:35:30 +03:00
Alexey Arno
fc2c3c1f2e
dbms: Server: Reverted old modification that found its way into master by error. It could have lead to deadlocks. [#METR-18510]
2016-03-01 22:16:27 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Alexey Milovidov
56b316bff7
Fixed error when symlinked part couldn't be removed [#METR-20080].
2016-02-19 23:13:54 +03:00
Alexey Milovidov
7af87e367f
Better diagnostics [#METR-20079].
2016-02-18 00:02:06 +03:00
Alexey Milovidov
8b3afeb60d
Squashed commit of the following:
...
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
bb122a2fa7
dbms: less locking while clearing old parts; better while loading parts [#METR-2944].
2016-02-14 14:02:47 +03:00
Alexey Milovidov
5a78d4b0da
Lowered size of index in memory (experimental) [#METR-2944].
2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a
Preparation [#METR-2944].
2016-02-14 07:58:47 +03:00
Alexey Milovidov
d14a12151e
Fixed error with leak of watches [#METR-19975].
2016-02-11 04:48:34 +03:00
Pavel Kartavyy
eca42536d8
dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon
2016-02-09 20:06:50 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00
Alexey Milovidov
02958c1c7f
dbms: fixed race condition between attaches and download of parts [#METR-19399].
2016-02-07 20:31:13 +03:00
Alexey Milovidov
43c73cf7ee
dbms: added support for CSV format [#METR-19957].
2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72
Moved threadpool library to contrib [#METR-17973].
2016-02-05 08:07:39 +03:00
Alexey Milovidov
3519c3cea2
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d
dbms: attempt to fix an error [#METR-19866].
2016-02-03 00:30:27 +03:00
Alexey Milovidov
038a6278d5
dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901].
2016-02-02 23:33:03 +03:00
Alexey Milovidov
21fb1cca7c
dbms: protection from attaching inactive parts at second ATTACH [#METR-19399].
2016-01-30 06:26:24 +03:00
Alexey Milovidov
a0e7a59ab1
dbms: fixing errors with ATTACHes [#METR-19399].
2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d
dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397].
2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70
dbms: attempt to fix an error [#METR-19399].
2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b
Merge
2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874
dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510].
2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060
Removed few old files [#METR-18510].
2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380
Merge
2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4
Merge
2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7
Merge
2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6
Merge
2016-01-28 03:59:35 +03:00
Alexey Milovidov
5d962f241f
dbms: fixed error with ATTACH [#METR-19835].
2016-01-28 03:39:11 +03:00
Alexey Milovidov
5c90d7d45c
Merge
2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a
Merge
2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613
Merge
2016-01-26 03:30:18 +03:00
Alexey Milovidov
6d50fb4b44
dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779].
2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b
dbms: using numeric constants while evaluating PKCondition [#METR-19758].
2016-01-23 00:28:58 +03:00
Alexey Milovidov
e720a53cf2
dbms: return early on WHERE 0 [#METR-19758].
2016-01-22 23:43:16 +03:00
Alexey Milovidov
48be0fb3e4
dbms: faster removing of lost parts from queue [#METR-19754].
2016-01-21 23:45:56 +03:00
Alexey Milovidov
a08281d2eb
dbms: fixed error when replica has too large delay [#METR-19586].
2016-01-21 22:43:00 +03:00
Alexey Arno
a3ea32b985
Merge
2016-01-21 19:30:05 +03:00
Alexey Milovidov
14d525d991
dbms: fixed error with insert quorum [#METR-16779].
2016-01-21 07:06:20 +03:00
Alexey Milovidov
0f3e163c4e
dbms: CurrentMetrics: development [#METR-19596].
2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d
dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596].
2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5
dbms: added profile event for yielding leadership [#METR-17573].
2016-01-20 23:43:42 +03:00
Alexey Milovidov
fa22ca0d09
dbms: added comment [#METR-19586].
2016-01-20 03:18:58 +03:00
Alexey Milovidov
277167af17
dbms: fixed error with exceptions while queue processing [#METR-19586].
2016-01-20 00:38:01 +03:00
Alexey Milovidov
acd611c326
dbms: fixed calculation of delays [#METR-17573].
2016-01-19 21:49:37 +03:00
Alexey Milovidov
fc951a9304
dbms: pulling logs at startup for better calculation of delays [#METR-17573].
2016-01-19 20:17:22 +03:00
Alexey Milovidov
dd1effe99c
Merge
2016-01-18 19:27:57 +03:00
Alexey Milovidov
25036fec31
dbms: addition [#METR-19586].
2016-01-18 19:27:27 +03:00
Alexey Milovidov
82a96d22b1
dbms: tracking replicas delays [#METR-17573].
2016-01-17 16:00:42 +03:00
Alexey Milovidov
d1882fe766
dbms: addition to prev. revision [#METR-2944].
2016-01-17 11:27:52 +03:00
Alexey Milovidov
d603d0a12d
Merge
2016-01-17 11:12:48 +03:00
Alexey Milovidov
a30532594b
dbms: fixed error [#METR-19586].
2016-01-17 08:22:22 +03:00
Alexey Milovidov
d8e6b1dcf1
dbms: fixed error in prev. revision [#METR-19586].
2016-01-13 05:36:11 +03:00
Alexey Milovidov
ab1b725779
dbms: less dependencies [#METR-2944].
2016-01-13 03:32:59 +03:00
Alexey Milovidov
949ecc2070
dbms: optimized function pullLogsToQueue [#METR-19586].
2016-01-12 22:45:51 +03:00
Alexey Milovidov
13c7d0983a
dbms: cutting dependency [#METR-2944]..
2016-01-12 00:46:36 +03:00
Alexey Milovidov
1f7f7cd682
dbms: better [#METR-19586].
2016-01-10 07:44:12 +03:00
Alexey Milovidov
a5b8166541
dbms: better [#METR-19586].
2016-01-10 07:43:30 +03:00
Alexey Milovidov
a419ce1052
Preparation to build with in-tree Poco library [#METR-19593].
2016-01-07 22:52:21 +03:00
Andrey Mironov
325107ad5a
dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265]
2015-12-29 15:57:22 +03:00
Andrey Mironov
40e6f51370
dbms: allow cheap alter of Enums [#METR-19265]
2015-12-28 20:06:15 +03:00
Alexey Milovidov
0cf09f76f8
dbms: better [#METR-2944]..
2015-12-28 17:24:31 +03:00
Alexey Milovidov
43350f51bb
dbms: don't thrash mark_cache on merges (and ALTER MODIFY TYPE) [#METR-19575].
2015-12-26 03:59:09 +03:00
Andrey Mironov
13f56d4465
dbms: use CAST internally whenever a conversion is required [#METR-19265]
2015-12-25 15:06:16 +03:00
Alexey Milovidov
f1f3619df4
dbms: cancelling fetching of parts on table shutdown [#METR-19544].
2015-12-25 00:28:18 +03:00
Alexey Milovidov
89c64fe863
dbms: removed unused field [#METR-2944].
2015-12-24 21:35:01 +03:00
Alexey Milovidov
fe0e9d2248
dbms: little better [#METR-19417].
2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881
Merge
2015-12-16 05:32:49 +03:00
Alexey Milovidov
9143952e83
dbms: probably better [#METR-19172].
2015-12-13 15:02:10 +03:00
Alexey Milovidov
2aeb48be2d
dbms: added backoff on slow reads [#METR-17579].
2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc
dbms: Buffer: fixed error [#METR-19371],
2015-12-11 05:19:32 +03:00
Alexey Milovidov
db8d82f13e
dbms: Buffer: better [#METR-19249].
2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770
dbms: StorageBuffer: write correct info about block flushed [#METR-19249].
2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519
dbms: fixed error with StorageBuffer [#METR-19249].
2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4
dbms: fixed error with StorageBuffer [#METR-19249].
2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3
dbms: fixed high CPU usage on shutdown [#METR-19056].
2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e
dbms: little better [#METR-19172].
2015-12-09 07:41:46 +03:00
Alexey Milovidov
f6973a32c4
dbms: added support for empty StripeLog tables [#METR-19298].
2015-12-08 23:04:11 +03:00
Alexey Milovidov
78b560c846
dbms: fixed error [#METR-19283].
2015-12-07 22:30:50 +03:00
Alexey Milovidov
b76731a578
dbms: improved startup times for lagged replica [#METR-18563].
2015-12-05 10:03:17 +03:00
Alexey Milovidov
117060cf43
dbms: fixed error [#METR-18167].
2015-12-03 07:03:20 +03:00
Alexey Milovidov
a7387d9ce4
dbms: improvement [#METR-2944].
2015-11-30 23:20:37 +03:00
Alexey Milovidov
39004c76f5
dbms: addition [#METR-19052].
2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32
dbms: development; provided monotonicity properties for date-time functions [#METR-19052].
2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59
dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052].
2015-11-29 11:06:29 +03:00
Alexey Milovidov
8314861690
dbms: improved performance of INSERT SELECT [#METR-19025].
2015-11-21 18:47:32 +03:00
Andrey Mironov
715d2f6ce5
dbms: add key description to system.dictionaries[#METR-17328]
2015-11-20 19:20:54 +03:00
Alexey Milovidov
0713e4c592
dbms: addition to prev. revision [#METR-18847].
2015-11-20 06:08:12 +03:00
Alexey Milovidov
5e2499eb77
dbms: addition to prev. revision [#METR-18847].
2015-11-20 05:42:26 +03:00
Alexey Milovidov
4318712300
dbms: addition to prev. revision [#METR-18847].
2015-11-20 05:29:16 +03:00
Alexey Milovidov
2d00e5d84f
dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847].
2015-11-20 00:34:53 +03:00
Alexey Milovidov
1b08920e50
dbms: SAMPLE OFFSET: development [#METR-18847].
2015-11-19 06:24:59 +03:00
Alexey Milovidov
09dd253636
dbms: added support for SAMPLE ... OFFSET [#METR-18847].
2015-11-19 00:37:28 +03:00
Alexey Milovidov
513b4e0dc2
dbms: fixed error message [#METR-18810].
2015-11-13 23:31:02 +03:00
Evgeniy Gatov
998f5fd552
dbms: temporarily disabled shards multiplexing [#METR-18300].
2015-11-13 20:21:16 +03:00
Alexey Milovidov
7f736e4065
dbms: temporarily disabled shards multiplexing [#METR-18300].
2015-11-12 04:17:44 +03:00
Alexey Milovidov
9b991b3d6c
dbms: whitespaces [#METR-2944].
2015-11-11 05:13:24 +03:00
Alexey Milovidov
d21307c535
dbms: fixed error with views [#METR-18748].
2015-11-10 23:07:38 +03:00
Alexey Milovidov
f8e58463a6
dbms: addition to prev. revision [#METR-17573].
2015-11-10 00:07:22 +03:00
Alexey Milovidov
e78ed9f802
dbms: replication delays: development [#METR-17573].
2015-11-09 23:30:54 +03:00
Alexey Milovidov
4482871274
dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573].
2015-11-08 03:28:12 +03:00
Alexey Milovidov
a43d225da7
Merge
2015-11-06 21:46:23 +03:00
Alexey Milovidov
d7831a6317
dbms: fixed error [#METR-17573].
2015-11-06 21:45:48 +03:00
Alexey Arno
29dc5f91d1
Merge
2015-11-06 20:44:01 +03:00
Alexey Milovidov
4a35d9169f
dbms: merges don't block ALTERs [#METR-18690].
2015-11-06 20:34:48 +03:00
Alexey Milovidov
53dd07b8ca
dbms: checking replication delays: development [#METR-17573].
2015-11-05 23:08:18 +03:00
Alexey Milovidov
e29df2814c
dbms: checking replication delays [#METR-17573].
2015-11-05 22:44:19 +03:00
Alexey Milovidov
11447a4e1a
dbms: accurate checking of replication delays (incomplete) [#METR-17573].
2015-11-05 20:38:24 +03:00
Alexey Milovidov
213a6dedbd
dbms: probably fixed error [#METR-18611].
2015-11-02 22:19:29 +03:00
Alexey Arno
3c115c4dbe
dbms: Server: Compilation fix. [#METR-16213]
2015-11-02 13:53:40 +03:00
Alexey Milovidov
c9a8f19def
dbms: fixed error with tuples of consts [#METR-18586].
2015-10-29 00:21:18 +03:00
Alexey Milovidov
400588148c
dbms: fixed error in PKCondition [#METR-18585].
2015-10-29 00:00:44 +03:00
Andrey Mironov
d2188a1183
dbms: alter: allow altering between any default types. [#METR-18221]
...
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d
dbms: fix alters involving FixedString columns and defaults [#METR-18221]
2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21
dbms: Server: merged branch METR-16213 into master
2015-10-20 17:59:29 +03:00
Andrey Mironov
4195842841
dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration
2015-10-16 14:44:44 +03:00
Andrey Mironov
3b879c444d
dbms: simplify ITableDeclaration::getColumnsList
2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753
dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further
2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65
dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further
2015-10-15 19:50:10 +03:00
Alexey Arno
5f17c9d55d
Merge
2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602
dbms: added support for different numeric types in function has [#METR-18382].
2015-10-12 10:05:54 +03:00
Alexey Milovidov
0a7b4dd536
dbms: fixed little error [#METR-16457].
2015-10-08 23:01:09 +03:00
Alexey Milovidov
4e75ccee03
Probably better [#METR-17973].
2015-10-05 08:40:27 +03:00
Alexey Milovidov
918422ad48
Moved files [#METR-17973].
2015-10-05 04:35:28 +03:00
Alexey Milovidov
f90c3003ea
Moved files [#METR-17973].
2015-10-05 04:11:12 +03:00
Alexey Milovidov
4a061b97cb
Moved file [#METR-17973].
2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1
Moved files [#METR-17973].
2015-10-05 03:33:43 +03:00
Alexey Milovidov
733324645f
dbms: aggregation by arrays: preparation [#METR-13168].
2015-10-04 06:17:36 +03:00
Alexey Milovidov
f356545bbe
dbms: allowed DROP/DETACH partition on non-leader [#METR-17573].
2015-10-03 00:28:19 +03:00
Alexey Milovidov
b8c8662457
dbms: preparation [#METR-18167].
2015-10-02 21:33:46 +03:00
Alexey Milovidov
d339ad0048
Merge
2015-10-01 06:30:50 +03:00
Alexey Milovidov
1f6def094f
dbms: fixed build [#METR-18202].
2015-09-29 22:19:54 +03:00
Alexey Milovidov
003cc854fd
dbms: changed 'at most' to 'at least' for rows to read when specifying absolute SAMPLE size [#METRIKASUPP-5748].
2015-09-28 22:10:07 +03:00
Alexey Milovidov
932a09ad6e
dbms: fixed race condition in ATTACH [#METR-17573].
2015-09-27 17:22:23 +03:00
Alexey Milovidov
e96705ed44
dbms: fixed error [#METR-16779].
2015-09-27 16:45:20 +03:00
Alexey Milovidov
88f8d02ae7
dbms: fixed error [#METR-16779].
2015-09-27 16:35:14 +03:00
Alexey Milovidov
9a4a46af9b
dbms: fixed error [#METR-16779].
2015-09-27 16:03:41 +03:00
Alexey Milovidov
1a2f063fc8
dbms: addition to prev. revision [#METR-16779].
2015-09-27 15:52:58 +03:00
Alexey Milovidov
9025f88561
dbms: fixed error [#METR-18061].
2015-09-27 15:34:32 +03:00
Alexey Milovidov
87e1e69ff6
dbms: allowed to write block again after failed quorum write [#METR-16779].
2015-09-27 13:45:49 +03:00
Alexey Milovidov
3979b2aa49
dbms: don't use unreplicated data if there are no parts [#METR-18198].
2015-09-27 10:11:00 +03:00
Andrey Mironov
07a3ea8eb1
Merge
2015-09-25 16:39:13 +03:00
Alexey Milovidov
093a8b12a7
dbms: added 'max_network_bytes' setting [#METR-18186].
2015-09-25 15:52:47 +03:00
Alexey Milovidov
d86761f504
dbms: fixed error with 'max_concurrent_queries_for_user' setting in distributed queries [#METR-17965].
2015-09-25 15:47:33 +03:00
Andrey Mironov
efc1f35c21
dbms: fix reverse order of ranges for FINAL with merge_tree_uniform_read_distribution = 1 [#METR-16457]
2015-09-25 14:35:58 +03:00
Alexey Milovidov
1a16709162
dbms: fixed error [#METR-18170].
2015-09-25 10:51:00 +03:00
Alexey Milovidov
c757bf9063
dbms: setting thread names [#METR-2944].
2015-09-24 21:54:21 +03:00
Alexey Arno
19bc3181f2
Merge
2015-09-24 15:40:36 +03:00
Alexey Milovidov
fb654a1255
Merge
2015-09-24 10:39:47 +03:00
Alexey Milovidov
07b34aa432
dbms: fixed build [#METR-2944].
2015-09-24 10:03:20 +03:00
Alexey Milovidov
a3e706ead8
dbms: fixed error [#METR-18167].
2015-09-24 09:20:50 +03:00
Alexey Milovidov
3d817fe625
dbms: lowered data size in ZK [#METR-18170].
2015-09-24 08:47:17 +03:00
Alexey Milovidov
6fc99c48e1
dbms: better [#METR-2944].
2015-09-24 07:52:02 +03:00
Alexey Milovidov
1481d7f293
dbms: specifying port to send queries in ZK [#METR-18167].
2015-09-24 07:50:53 +03:00
Alexey Milovidov
7784606c6a
dbms: addition to prev. revision [#METR-2944].
2015-09-24 07:14:35 +03:00
Alexey Milovidov
a531680a92
dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944].
2015-09-24 07:13:06 +03:00
Alexey Milovidov
75a16854db
dbms: moved files [#METR-2944].
2015-09-24 06:50:09 +03:00
Alexey Milovidov
dc209def73
dbms: table system.replication_queue: development [#METR-18061].
2015-09-24 04:18:25 +03:00
Alexey Milovidov
f8d94fcbd9
dbms: just-written parts does not participate in sanity check [#METR-18169].
2015-09-24 04:17:10 +03:00
Alexey Milovidov
a840af70ab
dbms: addition to prev. revision [#METR-18061].
2015-09-24 03:31:47 +03:00
Alexey Milovidov
6af8215af5
dbms: added table system.replication_queue [#METR-18061].
2015-09-24 03:21:02 +03:00
Alexey Milovidov
0f8b651fe8
dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139].
2015-09-23 05:39:07 +03:00
Alexey Milovidov
926a661e38
Merge
2015-09-22 01:44:18 +03:00
Alexey Milovidov
c89541646c
dbms: instrumenting replication queue [#METR-18061].
2015-09-22 01:43:38 +03:00
Alexey Milovidov
5df201add2
dbms: clarification [#METR-2944].
2015-09-22 01:33:20 +03:00
Alexey Milovidov
4e28608077
dbms: fixed error [#METR-16779].
2015-09-21 21:47:46 +03:00
Andrey Mironov
244eabb54b
dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063]
2015-09-21 15:13:11 +03:00
Alexey Milovidov
726443131b
dbms: addition to prev. revision [#METR-16779].
2015-09-20 15:25:10 +03:00
Alexey Milovidov
4047e4ed5b
dbms: tiny modification [#METR-2944].
2015-09-20 14:56:14 +03:00
Alexey Milovidov
6571769d3b
dbms: added setting 'select_sequential_consistency' [#METR-16779].
2015-09-20 14:54:58 +03:00
Alexey Milovidov
3b5a3e7325
dbms: quorum insert: development [#METR-16779].
2015-09-20 14:02:59 +03:00
Alexey Milovidov
dcf40ef7c8
dbms: addition [#METR-17573].
2015-09-20 09:40:17 +03:00
Alexey Milovidov
a78ac9c6ee
dbms: addition to prev. revision [#METR-18099].
2015-09-20 09:35:28 +03:00
Alexey Milovidov
b14bbf3928
Merge
2015-09-20 09:31:19 +03:00
Alexey Milovidov
227b41b0eb
dbms: set queue entry time when cloning replica or repairing missing or damaged parts [#METR-18085].
2015-09-20 08:50:15 +03:00
Alexey Milovidov
615181b3a6
dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573].
2015-09-20 08:21:43 +03:00
Alexey Milovidov
3ea789e23f
dbms: fixed log message [#METR-2944].
2015-09-19 11:19:25 +03:00
Alexey Milovidov
b068913aeb
dbms: removed bogus messages from error log; improved diagnostics; extended system.replicas table [#METR-17573].
2015-09-19 08:56:40 +03:00
Alexey Arno
1cae6e8b54
Merge
2015-09-18 16:36:10 +03:00
Alexey Milovidov
a53f7473d3
dbms: removed misleading error messages about canceled merges [#METR-18087].
2015-09-18 09:39:39 +03:00
Alexey Milovidov
7a7a2ac6e0
dbms: attempt to fix an error (incomplete) [#METR-17286].
2015-09-18 00:31:26 +03:00
Alexey Milovidov
10b86afd3c
dbms: saving create time for log entries in ZK [#METR-18085].
2015-09-18 00:30:43 +03:00
Alexey Milovidov
b0b44b1565
dbms: removing old queue entries: continue development [#METR-18035].
2015-09-17 00:12:59 +03:00
Alexey Milovidov
13112cc66e
dbms: better [#METR-18035].
2015-09-16 23:40:01 +03:00
Alexey Milovidov
cf7d220f10
dbms: fixed error [#METR-18035].
2015-09-16 23:38:50 +03:00
Andrey Mironov
b3db6a06fc
dbms: fix for non-final select just in case [#METR-16457]
2015-09-16 15:15:25 +03:00
Andrey Mironov
55087bddc7
dbms: fix segfault when SELECT FINAL selects zero parts[#METR-16457]
2015-09-16 14:49:09 +03:00
Alexey Milovidov
fa0e61086f
dbms: removed bad code [#METR-17988].
2015-09-16 08:09:58 +03:00
Alexey Milovidov
200742d632
Merge
2015-09-16 07:18:52 +03:00
Alexey Milovidov
d51404633b
dbms: fixed error [#METR-16457].
2015-09-16 07:18:16 +03:00
Alexey Milovidov
d829d9fe10
dbms: clearing impossible queue entries: development [#METR-18035].
2015-09-15 04:55:22 +03:00