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
proller
f8d1573946
Various arm64 compile fixes on utils ( #394 )
2017-01-25 23:17:13 +04:00
Alex Zatelepin
543b6ee757
ensure that all streams point to to_mark after reading even if max_rows_to_read is zero [#CLICKHOUSE-2775] ( #396 )
2017-01-25 23:16:31 +04:00
proller
4f00b3833d
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 22:08:56 +03:00
proller
f04dffc05c
External dictionary profiling [#CLICKHOUSE-2197] ( #381 )
...
* Profiling external cached dictonaries [#CLICKHOUSE-2197]
* style
2017-01-25 22:40:44 +04:00
proller
3fc4998a01
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 21:27:23 +03:00
proller
f890af1f8d
Remove code and includes from Collator.h, fix including <unicode/...> in dbms ( #395 )
2017-01-25 22:19:15 +04:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
alexey-milovidov
8c0e81f8cb
Remove stringstream performance on very short queries ( #391 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +04:00
Alexey Zatelepin
281744667d
use common cur_mark_idx for all streams [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
dc1f0d96bd
add clarifying comment [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
f7ca39da77
translate comments [#CLICKHOUSE-3]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
32e5713822
do not load marks when reading the whole part [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9
Add requested PR changes. [#CLICKHOUSE-2145] [issue #325 ]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4
Add protection from accidental DROP queries. [#CLICKHOUSE-2184]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
ef6a4e08db
Resolved #325 . Add 401 HTTP status code if auth failed. [#CLICKHOUSE-3]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
1c38a89785
Add source_part_names column into system.merges. [#CLICKHOUSE-2145]
2017-01-24 22:26:29 +04:00
alexey-milovidov
17a4ead1ef
Setting fsync metadata ( #380 )
...
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
791198e619
Comments [#CLICKHOUSE-3].
2017-01-23 20:10:31 +03:00
Alexey Milovidov
38d25022c6
Comments [#CLICKHOUSE-3].
2017-01-23 19:00:26 +03:00
Alexey Milovidov
6894df0304
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:26:55 +03:00
Alexey Milovidov
48ae82e1c7
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:34:17 +03:00
Alexey Milovidov
c903a23864
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:12:30 +03:00
Alexey Milovidov
00475da25e
Sending progress in HTTP headers [#CLICKHOUSE-32].
2017-01-22 18:03:55 +03:00
Alexey Milovidov
6ec9380510
Allow to set server timezone from configuration file [#CLICKHOUSE-2765].
2017-01-22 15:53:24 +03:00
Alexey Milovidov
812fd4fe87
Added function 'timezone' for introspection [#CLICKHOUSE-2765].
2017-01-22 14:07:45 +03:00
Alexey Milovidov
641faac912
More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765].
2017-01-22 11:57:34 +03:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
proller
1adf0bb3e1
Remove -metrika-yandex postfix from package names ( #377 )
2017-01-20 23:58:13 +04:00
proller
2688f4563f
cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config ( #375 )
...
* Manual version update to [54135]
* Temporary release script fix [#METRIQA-732]
* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
Alexey Milovidov
4d1ac56ba9
Fixed rare memory leak [#CLICKHOUSE-2761].
2017-01-20 08:25:25 +03:00
Alexey Milovidov
459db30c29
Preparations [#CLICKHOUSE-2761].
2017-01-20 08:00:04 +03:00
Alexey Milovidov
63c3870fd0
Modified test [#CLICKHOUSE-2756].
2017-01-20 07:27:51 +03:00
Alexey Milovidov
6226132be0
Modified test [#CLICKHOUSE-2756].
2017-01-20 06:24:57 +03:00
Alexey Milovidov
bb61f917b8
Memory leak in Field: investigation [#CLICKHOUSE-2763].
2017-01-20 05:34:35 +03:00
Alexey Milovidov
5c1ae060a4
Miscellaneous [#CLICKHOUSE-2761].
2017-01-20 05:22:18 +03:00
Alexey Milovidov
7a971df887
Fixed error in function multiIf [#CLICKHOUSE-2763].
2017-01-20 04:41:30 +03:00
Alexey Milovidov
904ac284da
Fixed error with multiIf function [#CLICKHOUSE-2763].
2017-01-20 04:18:57 +03:00
Alexey Zatelepin
0eb48dc84e
cosmetic fixes [#CLICKHOUSE-2133]
2017-01-19 15:02:30 +03:00
Alexey Zatelepin
f5a25c341c
translate comments [#CLICKHOUSE-3]
2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4
parse INTO OUTFILE clause [#CLICKHOUSE-2133]
2017-01-19 03:48:59 +04:00
proller
04e2baebed
Cmake ( #358 )
...
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04:00
Alexey Milovidov
ffed6b1d5e
Added one more column to system.parts [#CLICKHOUSE-2757].
2017-01-17 23:54:32 +03:00
Alexey Milovidov
e407bf879c
system.parts: added a column for primary key size in bytes in RAM [#CLICKHOUSE-2757].
2017-01-17 23:49:16 +03:00
Alexey Milovidov
c74d585b0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-01-17 23:48:14 +03:00
Alexey Milovidov
9f48890a8e
NULLs: added missing method [#CLICKHOUSE-4].
2017-01-17 23:47:37 +03:00
proller
2fe033d00e
Fix compiling in freebsd/clang
2017-01-17 18:03:32 +00:00
Alexey Milovidov
06b2404e6a
Merge branch 'master' into hierarchical-dictionaries-performance
...
Conflicts:
dbms/include/DB/Functions/FunctionsDictionaries.h
2017-01-17 03:31:31 +03:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
Alexey Milovidov
7a526b88d4
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:17:40 +03:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
335a69d79c
Added type inference for lambdas [#CLICKHOUSE-11].
2017-01-14 10:19:47 +03:00
Alexey Milovidov
0493c3ff77
Added missing file [#CLICKHOUSE-11].
2017-01-14 09:22:28 +03:00
Alexey Milovidov
c83ae92d41
Analyzers: added AnalyzeLambdas step [#CLICKHOUSE-11].
2017-01-14 08:19:48 +03:00
Alexey Milovidov
d99a642b9b
Fixed error in 'distributed_product_mode' setting, which breaks 'allow_databases' option [#CLICKHOUSE-2718].
2017-01-14 06:10:16 +03:00
Alexey Milovidov
4fe2a4432a
External dictionaries: MySQL source: Allow columns with names from reserved words [#CLICKHOUSE-2717].
2017-01-14 05:30:03 +03:00
Alexey Milovidov
b16c9a3e12
Fixed error with 'max_memory_usage_for_user' setting during distributed query execution [#METR-24117].
2017-01-14 04:55:35 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
alexey-milovidov
915495634c
Merge pull request #327 from proller/freebsd
...
Freebsd: preparing port, misc build/install chandes
2017-01-12 23:26:10 +04:00
artpaul
3292ca81cb
fix distinct on single string field [#CLICKHOUSE-28]
2017-01-12 20:34:41 +05:00
proller
ecb7642c4f
Freebsd: preparing port, misc build/install chandes
2017-01-12 13:51:30 +00:00
Alexey Milovidov
eb2c8196fd
Analyzers: development [#METR-23947].
2017-01-12 05:08:33 +03:00
Alexey Milovidov
522e96d4bf
Analyzers: added support for lambda expressions when searching for columns [#METR-23947].
2017-01-12 05:06:50 +03:00
Alexey Milovidov
916552f175
Improved formatting of lambda expressions [#METR-23947].
2017-01-12 04:55:14 +03:00
Alexey Milovidov
e8855c6f0f
Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079].
2017-01-12 03:26:39 +03:00
Alexey Milovidov
0f03a7bbdc
Fixed error with checking number of arguments of functions [#METR-24078].
2017-01-11 05:47:43 +03:00
artpaul
402f974fb7
fix where <const> in (<const>) expression; [#METR-24043]
2017-01-10 19:16:37 +05:00
alexey-milovidov
c58cb0ccf2
Merge pull request #295 from proller/METR-23811
...
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
proller
1649b003a0
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 16:42:29 +03:00
artpaul
79eb282eda
fix formatting of LIMIT BY; add tests with remote() [#METR-23881]
2017-01-09 18:24:54 +05:00
alexey-milovidov
a07898cc5a
Merge pull request #306 from yandex/issue-200
...
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 02:34:00 +04: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 Zatelepin
502864b40a
Merge branch 'master' into METR-23582
...
Conflicts:
dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a
[#METR-23582]
...
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
Alexey Milovidov
6e5dd26dda
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-07 02:47:16 +03:00
Alexey Milovidov
2436d43637
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-07 01:54:05 +03: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
2f7ff07e1f
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-06 19:33:05 +03:00
Alexey Milovidov
89d4873b9e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-06 16:36:08 +03:00
Alexey Milovidov
a1a6ddd01e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 19:34:05 +03:00
Alexey Milovidov
76b06c3d42
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 14:03:59 +03:00
Alexey Milovidov
c63882f048
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 14:03:24 +03:00
Alexey Milovidov
0f7d0c3969
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 12:26:49 +03:00
Alexey Milovidov
51df4e19e2
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 10:25:23 +03:00
Alexey Milovidov
96e1ed3412
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 21:16:18 +03:00
Alexey Milovidov
f553cb5197
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 21:13:41 +03:00
Alexey Milovidov
60623e7ca5
Preparations [#METR-20307].
2017-01-04 20:34:45 +03:00
Alexey Milovidov
ed107f675a
Preparations [#METR-20307].
2017-01-04 20:25:07 +03:00
Alexey Milovidov
779d549d3d
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 18:05:31 +03:00
Alexey Milovidov
a1ebd7f103
Added support for qualified asterisk in parser [#METR-20307].
2017-01-04 14:23:27 +03:00
Alexey Milovidov
25dd3affb3
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 12:05:23 +03:00
Alexey Milovidov
9acd77d985
Miscellaneous [#METR-2944].
2017-01-04 12:04:01 +03:00
Alexey Milovidov
a4d9d766b6
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 09:52:02 +03:00
Alexey Milovidov
3af6d65c2b
Miscellaneous [#METR-2944].
2017-01-04 09:51:01 +03:00
Alexey Milovidov
8074f2de59
Implemented TODO [#METR-19266].
2017-01-04 07:30:18 +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
625b6c6050
Function "sleep": do not sleep during query analyze (continued) [#METR-21574].
2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23
Function "sleep": do not sleep during query analyze [#METR-21574].
2017-01-04 06:37:59 +03:00
Alexey Milovidov
77a0159ff8
Miscellaneous [#METR-2944].
2017-01-04 06:35:05 +03:00
Alexey Milovidov
95e9ef2fc4
Reworked InJoinSubqueriesPreprocessor [#METR-2944].
2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889
Get out garbage from AST [#METR-2944].
2017-01-03 10:37:29 +03:00
Alexey Milovidov
604bd6c5a3
Less const_casts [#METR-2944].
2017-01-03 04:42:17 +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
5460a13d58
Addition to prev. revision [#METR-2944].
2017-01-02 23:47:59 +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
Alexey Milovidov
de845f7801
Fixed style [#METR-23933].
2016-12-31 05:05:37 +03:00
alexey-milovidov
376db5785b
Merge pull request #297 from proller/METR-23933
...
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87
Merge branch 'master' into issue-111
2016-12-31 05:53:52 +04: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
proller
c2a6681522
Add header Keep-Alive: timeout=.. to http server responce [#METR-23933]
2016-12-30 23:52:56 +03:00
Vitaliy Lyudvichenko
35485c03d9
Fixed race condition during dictionaries' config file update. [#METR-22224]
2016-12-30 21:30:29 +03:00
artpaul
c74b8e2366
add comments; count exact number of inserted rows [#METR-23881]
2016-12-30 18:40:12 +05:00
artpaul
333d47ee2e
don't allow partial sort in case if LIMIT BY is present [#METR-23881]
2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12
fix calculation of condition for skipping all block [#METR-23881]
2016-12-30 16:15:17 +05:00
Alexey Milovidov
1c9d06638e
Removed function that was in a wrong place [#METR-2944].
2016-12-30 09:48:11 +03:00
Alexey Milovidov
81a08bcd87
Addition to prev. revision [#METR-19266].
2016-12-30 08:55:23 +03:00
Alexey Milovidov
3f9fc77e22
Fixed most cases of misleading messages "Could not print diagnostic info because two last rows aren't in buffer (rare case)" [#METR-20000].
2016-12-30 08:40:49 +03:00
Alexey Milovidov
3336a66161
Addition to prev. revision [#METR-19266].
2016-12-30 08:31:52 +03:00
Alexey Milovidov
80937d8226
Addition to prev. revision [#METR-19266].
2016-12-30 08:31:14 +03:00
Alexey Milovidov
1dd26b4487
Addition to prev. revision [#METR-19266].
2016-12-30 08:22:45 +03:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a
Great simplification [#METR-2944].
2016-12-30 04:53:21 +03:00
Alexey Milovidov
e3849124f1
Fixed wrong code [#METR-19266].
2016-12-30 03:31:38 +03:00
Alexey Milovidov
ee2c5f0d65
Fixed error in format PrettySpace [#METR-2944].
2016-12-30 03:24:56 +03:00
Alexey Milovidov
a4a77d8bc0
Function visibleWidth: fixed error [#METR-2944].
2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840
Addition to prev. revision [#METR-2944].
2016-12-30 03:19:05 +03:00
Alexey Milovidov
b4e18e2222
Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944].
2016-12-30 03:15:50 +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
8ff20e1ecc
Fixed test [#METR-2944].
2016-12-29 23:41:49 +03:00
Alexey Milovidov
1a64417044
Added setting "output_format_pretty_max_rows" [#METR-23999].
2016-12-29 23:15:18 +03:00
Alexey Milovidov
18f0e83b51
Fixed parsing of NULL literal [#METR-19266].
2016-12-29 22:52:15 +03:00
Alexey Milovidov
3f678a3042
Functions: little better [#METR-2944].
2016-12-29 22:38:10 +03:00
artpaul
1f49735581
disable some optimization related to LIMIT clause if LIMIT BY clause is present [#METR-23881]
2016-12-29 17:53:35 +05:00
artpaul
2b38babb89
organize code [#METR-23881]
2016-12-29 16:55:10 +05:00
artpaul
405382b092
getAliasOrColumnName instead of getColumnName [#METR-23881]
2016-12-29 15:42:08 +05:00
artpaul
3b88b1ff14
clone and format limit_by asts [#METR-23881]
2016-12-29 13:22:19 +05:00
artpaul
3f064d9ff7
first dirty implementation of LIMIT BY clause [#METR-23881]
2016-12-28 20:12:54 +05:00
Alexey Milovidov
cbaf9d79eb
Added function 'toStartOfDay'; fixed tiny error [#METR-23983].
2016-12-28 15:10:29 +03:00
proller
ca9c4bbdbb
Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch
2016-12-28 03:47:46 +03:00
Alexey Milovidov
cf4f8d6ce4
Modified comment [#METR-2944].
2016-12-27 18:50:31 +03:00
artpaul
938663aa7a
parse LIMIT BY [#METR-23881]
2016-12-27 19:08:33 +05:00
artpaul
9bfd80b412
style of constructor init list
2016-12-27 13:33:32 +05: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
Alexey Milovidov
72888b48ef
Printing user name in exception messages about exceeded quota [#METR-19622].
2016-12-25 07:00:33 +03:00
Alexey Milovidov
3e15e81fab
Fixed overflow in quota [#METR-23944].
2016-12-24 05:42:22 +03:00
Alexey Milovidov
901c6a8d50
Addition to prev. revision [#METR-22799].
2016-12-24 04:30:05 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
Alexey Milovidov
47756eda45
Fixed error with --external command line arguments for clickhouse-client [#METR-22799].
2016-12-24 00:34:49 +03:00
alexey-milovidov
d1383c5f62
Merge pull request #288 from yandex/issue-199
...
Issue #199 : speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
2467a010c9
translate comments
2016-12-23 13:01:35 +05:00
Alexey Milovidov
3d5005016b
Applied a patch, sent by aSealBack [#METR-2944].
2016-12-23 04:24:19 +03:00
artpaul
c904d31882
translate comments
2016-12-23 03:19:57 +05:00
artpaul
964afabf6a
check limit hint only at beginning of block processing [#METR-23882]
2016-12-23 01:50:12 +05:00
artpaul
c5eb898416
organize code [#METR-23882]
2016-12-22 22:00:23 +05:00
artpaul
5d1cfc0517
use swtich instead of if ... else, so we will get error about unhandled enum on the compile time [#METR-2944]
2016-12-22 21:35:54 +05:00
alexey-milovidov
690ab98b91
Merge pull request #287 from ludv1x/METR-23783
...
[WIP] Vertical merge optimization, fix and perf tests.
2016-12-22 17:40:01 +04:00
Alexey Milovidov
dc3a25dd63
Addition to prev. revision [#METR-23920].
2016-12-22 16:37:47 +03:00
Alexey Milovidov
433673871c
Fixed error with dynamic builds [#METR-23920].
2016-12-22 16:27:20 +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
artpaul
fe9c28ad49
distinct filtration was rewrited with SetVariants [#METR-23882]
2016-12-22 13:51:34 +05:00
Alexey Milovidov
536f88ea55
Adjusted coefficients [#METR-23916].
2016-12-22 05:04:32 +03:00
Alexey Milovidov
e5440d0f67
Fixed desinformation [#METR-23305].
2016-12-22 04:37:05 +03:00
Alexey Milovidov
7ebbf72ca6
Removed unused variable [#METR-23305].
2016-12-22 04:27:41 +03:00
Alexey Milovidov
168472fc9f
Fixed typo [#METR-23305].
2016-12-22 04:14:19 +03:00
Alexey Milovidov
c47406c42d
StorageBuffer: addition to prev. modification [#METR-23909].
2016-12-22 03:13:59 +03:00