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
59a4a94b9e
fix
2017-01-25 21:27:16 +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
7982d84904
wip
2017-01-25 18:14:39 +03:00
proller
3219d20df8
Group all tests with 127.0.0.{1,2} into 'shard' tag
2017-01-25 17:00:08 +03:00
proller
b7cedc1ad2
wip
2017-01-25 16:21:35 +03:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
proller
1b7054e15b
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 15:38:46 +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
74cd2c2334
Add more docs for OPTIMIZE. [#CLICKHOUSE-3]
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
0c31684721
Addition to prev. revision [#CLICKHOUSE-32].
2017-01-24 00:33:46 +03:00
Alexey Milovidov
f51f52e0df
Added test [#CLICKHOUSE-32].
2017-01-24 00:29:05 +03:00
Alexey Milovidov
8282998f5c
Fixed error with progress in HTTP headers [#CLICKHOUSE-32].
2017-01-24 00:21:38 +03: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
e527980799
Comments [#CLICKHOUSE-3].
2017-01-23 18:55:56 +03:00
Alexey Milovidov
18782e1473
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-23 11:22:46 +03:00
Alexey Milovidov
6894df0304
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:26:55 +03:00
Alexey Milovidov
c9b761f7b6
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:09:00 +03:00
Alexey Milovidov
48ae82e1c7
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:34:17 +03:00
Alexey Milovidov
4aa90e908d
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:19:24 +03:00
Alexey Milovidov
c903a23864
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:12:30 +03:00
Alexey Milovidov
3476e4d4c4
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:42:42 +03:00
Alexey Milovidov
f1eb84bd48
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:20:37 +03:00
Alexey Milovidov
e56ccc9754
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:13:50 +03:00
Alexey Milovidov
bfa46f9dff
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:13:04 +03:00
Alexey Milovidov
2d324ed4df
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:12:18 +03:00
Alexey Milovidov
f29f6b787d
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:11:34 +03:00
Alexey Milovidov
22527f52f3
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:10:09 +03:00
Alexey Milovidov
d8b95e6d2a
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:06:04 +03:00
Alexey Milovidov
00475da25e
Sending progress in HTTP headers [#CLICKHOUSE-32].
2017-01-22 18:03:55 +03:00
Alexey Milovidov
579667cef3
Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018
2017-01-22 16:24:50 +03:00
Alexey Milovidov
25d87ff135
Updated test according to changed semantic of some time zone functions [#CLICKHOUSE-2765].
2017-01-22 16:21:59 +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
b1a5efffc0
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:45:41 +03:00
Alexey Milovidov
cf84e8e646
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:40:03 +03:00
Alexey Milovidov
0197e4dd3d
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:37:38 +03:00
Alexey Milovidov
8f79ee0f87
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 14:36:10 +03:00
Alexey Milovidov
e7976421a2
Fixed error in test [#CLICKHOUSE-2].
2017-01-22 14:25:45 +03:00
Alexey Milovidov
989e76b16c
Fixed test [#CLICKHOUSE-2].
2017-01-22 14:10:11 +03:00
Alexey Milovidov
812fd4fe87
Added function 'timezone' for introspection [#CLICKHOUSE-2765].
2017-01-22 14:07:45 +03:00
Alexey Milovidov
8ce006aa69
Fixed error in prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:56:48 +03:00
Alexey Milovidov
bcdf3ce82c
Translated comment [#CLICKHOUSE-3].
2017-01-22 12:07:34 +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
Alexey Milovidov
28f4efa461
Allowed one test to take less time under valgrind [#CLICKHOUSE-2].
2017-01-21 05:55:23 +03: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
proller
89190cfdd0
fix external dictionary tests (use forking http server) [#CLICKHOUSE-22] ( #373 )
...
* renamed: debian/compressor-metrika-yandex.install -> debian/clickhouse-compressor-metrika-yandex.install
* fix external dictionary tests (use forking http server) [#CLICKHOUSE-22]
2017-01-20 15:44:21 +03:00
Alexey Milovidov
fde7ef7d6c
Field: exception safety [#CLICKHOUSE-2756].
2017-01-20 11:28:44 +03:00
Alexey Milovidov
94bfc2ee4b
Added test [#CLICKHOUSE-2761].
2017-01-20 09:05:27 +03: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
2468021bbb
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:10:41 +03:00
Alexey Milovidov
d95edafa96
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:08:31 +03:00
Alexey Milovidov
89fd071e1c
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:06:05 +03:00
Alexey Milovidov
7fa73c5462
Field: fixed memory leak [#CLICKHOUSE-2756].
2017-01-20 06:36:04 +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 Milovidov
7f0e61bfbd
Misc [#CLICKHOUSE-2].
2017-01-20 04:05:09 +03:00
Alexey Milovidov
039914dfa4
Fixed error with replaceRegexp functions [#CLICKHOUSE-2763].
2017-01-20 04:00:13 +03:00
Alexey Milovidov
f9d0b94c62
replaceRegexp: fixed bad code and error [#CLICKHOUSE-2763].
2017-01-20 00:31:51 +03:00
proller
04d2149e8a
enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… ( #372 )
...
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option
* add -Werror for utils
2017-01-19 23:30:58 +04:00
Alexey Zatelepin
2184d4d51b
stabilize flappy test [#CLICKHOUSE-2133]
2017-01-19 17:01:11 +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
cafc2fbbb1
Fix ENABLE_LIBTCMALLOC=0 build ( #359 )
...
Again fix ENABLE_LIBTCMALLOC=0 build
2017-01-18 18:09:10 +03:00
proller
04e2baebed
Cmake ( #358 )
...
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
7e21f1dd14
Fix build with -D NO_TCMALLOC, better sanitizers calls ( #355 )
...
* Fix generate includes for clang
* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04: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
0fc364165f
fix space
2017-01-17 19:00:24 +00:00
proller
2fe033d00e
Fix compiling in freebsd/clang
2017-01-17 18:03:32 +00:00
Alexey Milovidov
2730267bdc
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
00d848d927
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
930b947393
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
4e6125c92b
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 08:00:49 +03:00
Alexey Milovidov
e86c46d937
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 07:53:37 +03:00
Alexey Milovidov
7934a6e259
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 07:45:30 +03: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
Alexey Milovidov
01c2caef8c
Miscellaneous [#CLICKHOUSE-11].
2017-01-17 03:25:43 +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
5c89153e5e
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:11:11 +03:00
Alexey Milovidov
7c4010441c
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:09:38 +03:00
Alexey Milovidov
530796a5f8
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:07:26 +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
0440e031c5
Translated comments [#CLICKHOUSE-3].
2017-01-14 05:53:40 +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
Vitaliy Lyudvichenko
c56d3724e4
Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194]
2017-01-13 23:01:24 +03:00
proller
821121fe3f
Use localhost by name
2017-01-13 18:43:43 +00:00
Vitaliy Lyudvichenko
a1dcd24a76
New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29]
2017-01-13 21:17:50 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
Alexey Milovidov
c3b69f1052
Removed fragile (over-complicated) test [#CLICKHOUSE-2].
2017-01-13 04:07:02 +03:00
Alexey Milovidov
012c5f1079
Disabled flappy tests [#CLICKHOUSE-2].
2017-01-13 02:31:04 +03:00
alexey-milovidov
9808a5ab9e
Merge pull request #323 from ludv1x/accurate-compare
...
Accurate numbers comparison
2017-01-12 23:31:07 +04: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
Vitaliy Lyudvichenko
0807fb6d86
Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
...
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
9dd3bc3b60
Removed old code. [#CLICKHOUSE-194]
2017-01-12 18:21:29 +03:00
Vitaliy Lyudvichenko
3e53e3268a
Add test for accurate numbers comparisons. [#CLICKHOUSE-194]
2017-01-12 18:21:24 +03:00
Vitaliy Lyudvichenko
7d86246b46
Add safe_convervsion case optimization. Fixed MIN_INT64 comparison. Fixed NaN comparisons between floats. [#CLICKHOUSE-194]
2017-01-12 18:21:17 +03:00
Vitaliy Lyudvichenko
b264b853a5
Added accurate numbers comparison. [#CLICKHOUSE-194]
2017-01-12 18:20:45 +03: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
38c9ad9761
Fixed error [#METR-2944].
2017-01-12 04:29:32 +03:00
Alexey Milovidov
480cb57a2f
Added test [#METR-24079].
2017-01-12 03:33:02 +03:00
Alexey Milovidov
e8855c6f0f
Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079].
2017-01-12 03:26:39 +03:00
proller
d00765fb15
Find pthread lib by cmake
2017-01-11 16:40:02 +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
alexey-milovidov
1d641212c8
Merge pull request #309 from ludv1x/METR-24025
...
Fixed segfault in aggregation combinators for complex nested functions
2017-01-09 20:14:16 +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
Vitaliy Lyudvichenko
fb40b74270
Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025]
2017-01-09 15:41:47 +03: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
1b61f2a9d3
use zlib-ng from contrib everywhere [#METR-23582]
2017-01-08 22:24:38 +03: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
37e1c9d18f
Miscellaneous [#METR-20307].
2017-01-04 19:31:09 +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
cf295ee681
Style [#METR-2944].
2017-01-04 07:00:37 +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
af5e2c9953
Less const_casts [#METR-2944].
2017-01-03 04:49:19 +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
00127a1d37
Miscellaneous [#METR-2944].
2017-01-02 23:08:23 +03:00
artpaul
b64e7a45b6
rename tests
2016-12-31 13:36:22 +05: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
artpaul
3987df8233
rename tests
2016-12-30 23:32:51 +05: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
273e58f8d7
add tests [#METR-23881]
2016-12-30 17:57:09 +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
4dee097ba8
Fixed build with clang on Xenial [#METR-2944].
2016-12-30 11:07:02 +03:00
Alexey Milovidov
943717b8d0
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-30 09:48:43 +03:00
Alexey Milovidov
1c9d06638e
Removed function that was in a wrong place [#METR-2944].
2016-12-30 09:48:11 +03:00
Alexey Milovidov
2f6e582f78
Updated test [#METR-19266].
2016-12-30 09:28:20 +03:00
Alexey Milovidov
0a83cfccde
NULLs: Test also output formats [#METR-19266].
2016-12-30 09:23:30 +03:00
Alexey Milovidov
9a17c907b0
Added test for parsing NULLs in various formats [#METR-19266].
2016-12-30 09:18:57 +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
0323a74942
Added test [#METR-19266].
2016-12-30 08:17:55 +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
de30204c00
Added test for pretty formats [#METR-2944].
2016-12-30 04:30:47 +03:00
Alexey Milovidov
025bfd414f
Allowed to create tuples with NULLs [#METR-19266].
2016-12-30 03:55:59 +03:00
Alexey Milovidov
e3849124f1
Fixed wrong code [#METR-19266].
2016-12-30 03:31:38 +03:00
Alexey Milovidov
c1a635a3d2
NULLs: fixed error and added TODO [#METR-19266].
2016-12-30 03:28:49 +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
0eb5d53133
Translated comment [#METR-20000].
2016-12-30 02:17:51 +03:00
Alexey Milovidov
94c64a758f
Miscellaneous [#METR-2944].
2016-12-30 02:17:05 +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
5a5ddebe19
Fixed test [#METR-19266].
2016-12-30 01:45:19 +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
ddc8fcf623
Addition to prev. revision [#METR-23999].
2016-12-29 23:22:27 +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
Alexey Milovidov
32be008327
Added test [#METR-23983].
2016-12-29 21:29:21 +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
Alexey Milovidov
9c39a324f2
Fixed extremes calculation in presense of NaNs [#METR-22882].
2016-12-28 12:20:42 +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
ad6507f9df
Preparation [#METR-23490].
2016-12-27 09:36:53 +03:00
Alexey Milovidov
7771a3aa13
Miscellaneous [#METR-2944].
2016-12-27 09:34:01 +03:00
Alexey Milovidov
dd0b5a1b82
Added test [#METR-23945].
2016-12-25 07:50:06 +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
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
2552e7de4b
Added test [#METR-22799].
2016-12-24 00:35:22 +03:00
Alexey Milovidov
47756eda45
Fixed error with --external command line arguments for clickhouse-client [#METR-22799].
2016-12-24 00:34:49 +03:00
proller
22371fdead
Add initial test for executable and http dictonaries [METR-23466]
2016-12-23 22:20:07 +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
200f84c046
add test for DISTINCT with nullable values [#METR-23882]
2016-12-22 21:39:00 +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
3432f3c013
Added draft scripts for performance testing of vertical merge. [#METR-23783]
2016-12-22 16:19:02 +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
proller
999b181aa5
fix 'env bash -e'
2016-12-21 23:43:35 +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
artpaul
b160e2a1cf
SetVariants was extracted into separated file [#METR-23882]
2016-12-21 17:42:54 +05:00
Alexey Milovidov
87695c02da
MongoDBDictionarySource: fixed incompatibility with MongoDB 3.4.0 [#METRIQA-599].
2016-12-21 05:13:51 +03:00
Alexey Milovidov
02af261c07
Cleanups [#METR-2944].
2016-12-21 03:18:11 +03:00
Vitaliy Lyudvichenko
6ee0cc795a
Prevent "variable tracking size limit exceeded" compiler notice. [#METR-20000]
2016-12-21 02:05:43 +03:00
alexey-milovidov
d277d55763
Merge pull request #280 from aSealBack/BlockStructureDiff
...
Added new diff for block structures.
2016-12-21 02:59:41 +04:00
Alexey Milovidov
df54b52db0
Revert "Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]."
...
This reverts commit b6fb08c77f
.
2016-12-21 01:22:32 +03:00
Alexander Makarov
15118dec81
Added new diff for block structures.
2016-12-21 01:22:23 +03:00
Alexey Milovidov
b6fb08c77f
Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101].
2016-12-20 23:58:54 +03:00
Alexey Milovidov
5e5c3b5661
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-20 23:49:05 +03:00
Alexey Milovidov
5fe11c0697
Fixed MongoDBDictionarySource [#METR-2944].
2016-12-20 23:48:40 +03:00
alexey-milovidov
111aaae0d3
Merge pull request #273 from ludv1x/METR-23765
...
clickhouse-local enhancements
2016-12-21 00:11:00 +04:00
Vitaliy Lyudvichenko
836f641f5f
Fix rare race condition which occurrs during update of config files. [#METRIKASUPP-7653]
2016-12-20 22:03:12 +03:00
Vitaliy Lyudvichenko
6fe581c172
Added --stacktrace option to clickhouse-local. [#METR-23765]
...
Added support of path config variable and ability to load clickhouse-server data. [#METR-20000]
Default database of clickhouse-local is changed to "_local" to avoid collisions with clickhouse-server.
Small fixes and enhancements of command line options (setting and limits). [#METR-23101]
2016-12-20 18:01:05 +03:00
artpaul
2ebe00ffab
move constructor was implemented for Field [#METR-2944]
2016-12-20 17:04:22 +05:00
Alexey Milovidov
a3e22e10d9
MongoDBDictionarySource: fixed error [#METR-2944].
2016-12-20 05:31:25 +03:00
Alexey Milovidov
54587fec1b
Tracking memory used in merges [#METR-23888].
2016-12-20 05:29:35 +03:00
Alexey Milovidov
47b75e6c1e
MongoDBDictionarySource: preparation [#METR-2944].
2016-12-20 04:20:59 +03:00
Alexey Milovidov
442ff1d3b8
StorageBuffer: simplification; added metrics [#METR-23888].
2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
8398baea85
Fixed getFlagsPath() for clickhouse-local use case. [#METR-23761]
2016-12-19 17:15:45 +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
Alexey Milovidov
57426cafc8
Improved test of external dictionaries [#METRIQA-599].
2016-12-18 21:43:08 +03:00
Alexey Milovidov
ca4438d470
Fixed style [#METR-2944].
2016-12-18 21:34:49 +03:00
Alexey Milovidov
927721baee
Fixed error in autotests of external dictionaries [#METR-2944].
2016-12-17 03:25:10 +03:00
alexey-milovidov
4fa9390840
Merge pull request #264 from ekonkov/master
...
METRIQA-599 port parameter
2016-12-17 00:31:20 +04:00
Eugene Konkov
6f7a359079
METRIQA-599 port parameter
2016-12-16 17:37:06 +03:00
alexey-milovidov
f5b5b274a3
Merge pull request #262 from drrtuy/benchmark-testing-greenplum
...
Greenplum benchmark test environment description and test results.
2016-12-16 15:37:04 +04:00
Vitaliy Lyudvichenko
d2e594cdf7
Fixed groupUniqArray for Date and DateTime types. [#METR-23869]
2016-12-16 13:59:16 +03:00
Roman Nozdrin
934b715a7d
Greenplum benchmark test environment description and test results.
2016-12-16 12:08:55 +03:00
Alexey Milovidov
08bf108961
Fixed error in tests [#METRIQA-599].
2016-12-16 03:10:37 +03:00
Alexey Milovidov
9ab111640c
Fixed error after changing MongoDB driver for external dictionaries [#METR-2944].
2016-12-16 02:40:30 +03:00
Alexey Milovidov
989d542f66
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:33:35 +03:00
Alexey Milovidov
1311b93c9c
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:29:42 +03:00
Alexey Milovidov
b113a7a473
Tiny modifications [#METR-23793].
2016-12-15 22:35:32 +03:00
artpaul
4025dbe7af
style
2016-12-15 23:59:07 +05:00
artpaul
0b0dc43e9b
fix
2016-12-15 23:56:31 +05:00
artpaul
945f879765
fix
2016-12-15 23:21:38 +05:00
artpaul
722e4dab6d
merge with master
2016-12-15 23:19:12 +05:00
alexey-milovidov
6d164a363b
Merge pull request #259 from ekonkov/METRIQA-599
...
METRIQA-599
2016-12-15 21:57:12 +04:00
artpaul
eb80837355
use find_first_symbols
2016-12-15 22:55:12 +05:00
artpaul
d3657d311b
fix decodeUrl; decode all values; add more tests
2016-12-15 22:12:41 +05:00
Eugene Konkov
3e67ac7232
METRIQA-599
...
JUnit output
2016-12-15 19:10:12 +03:00
alexey-milovidov
2de93a2a78
Merge pull request #257 from excitoon/quorum
...
StorageReplicatedMergeTree: Correct taking /quorum/last_part into acc…
2016-12-15 19:01:43 +04:00
Vladimir Chebotarev
d172cb1fc2
StorageReplicatedMergeTree: Correct taking /quorum/last_part into account when merging. [#METR-23826]
2016-12-15 17:32:47 +03:00
alexey-milovidov
a3886babed
Revert "Issue 219"
2016-12-15 18:19:16 +04:00
Alexey Milovidov
082820b405
Removed executable attribute from test files [#METR-20000].
2016-12-15 17:12:31 +03:00
alexey-milovidov
fea00eb595
Merge pull request #239 from yandex/issue-219
...
Issue 219
2016-12-15 17:21:35 +04:00
artpaul
92a7dc6908
style
2016-12-15 17:33:50 +05:00
artpaul
785a98e624
move all url's functions to FunctionsURL
2016-12-15 17:05:05 +05:00
kmeaw
8667a0e044
Minor fix: update <graphite_rollup/> conf example
...
Update the example usage of <graphite_rollup /> given in comments to
contain somewhat meaningful values.
2016-12-14 18:54:06 +03:00
alexey-milovidov
1ee5ad2ce0
Merge pull request #250 from hatarist/tsv_format_synonym
...
Added TSV format synonyms
2016-12-14 17:53:33 +04:00
Igor Hatarist
76365c3c15
Fixed the test
2016-12-14 08:56:19 +03:00
alexey-milovidov
5af401721e
Merge pull request #251 from proller/METR-23466
...
Dictonary: executable: rename 'path' to 'command' [#METR-23466]
2016-12-14 01:45:48 +04:00
proller
357d995e75
Dictonary: executable: rename 'path' to 'command' [#METR-23466]
2016-12-14 00:28:31 +03:00
Alexey Milovidov
cdfeccd38d
clickhouse-client: Fixed error that 'host' and 'port' parameters cannot have default values set in configuration file [#METR-23829].
2016-12-14 00:26:31 +03:00
Alexey Milovidov
fbb0a3e734
Working on performance of hierarchical external dictionaries [#METR-23747].
2016-12-14 00:15:27 +03:00
Igor Hatarist
9be107e89e
Removed TSVBlock format by Alexey's request
2016-12-13 21:26:34 +03:00
Igor Hatarist
96fa052839
Added TSV format synonyms for the TabSeparated formats
2016-12-13 21:03:10 +03:00
artpaul
6694c14338
try resolve conflicts
2016-12-13 16:51:40 +05:00
Vladimir Chebotarev
cc7db759fe
create_init_script: Avoid generation of init file each configuration phase. [#METR-21516]
2016-12-13 14:09:22 +03:00
Alexey Milovidov
dd1636abdd
Improved performance of 'flat' and 'hashed' hierarchical external dictionaries [#METR-23747].
2016-12-13 00:37:57 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Igor Hatarist
b22e4981df
Add clickhouse-client option: --version
2016-12-12 12:25:33 +03:00
Alexey Milovidov
f9c31c42c5
Fixed error after updating boost [#METR-2944].
2016-12-12 10:56:49 +03:00
Alexey Milovidov
a0dfb3e179
Addition to prev. revision [#METR-2944].
2016-12-12 10:29:21 +03:00
Alexey Milovidov
6dcabed912
Addition to prev. revision [#METR-2944].
2016-12-12 10:27:47 +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
artpaul
fb900881da
resolve conflicts
2016-12-12 11:15:01 +05:00
artpaul
529f75c8b4
- use std::experimental::string_view
...
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
Alexey Milovidov
3d643fc786
Fixed build on clang [#METR-2944].
2016-12-12 09:02:35 +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
7e37460c38
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-12 08:53:56 +03:00
Alexey Milovidov
e2ed20999c
Fixed build on clang [#METR-2944].
2016-12-12 08:53:37 +03:00
alexey-milovidov
52c34b4276
Merge pull request #240 from vavrusa/master
...
HTTPHandler: added support for X-ClickHouse-*
2016-12-12 09:47:40 +04:00
Alexey Milovidov
dae8814a71
Addition to prev. revision [#METR-2944].
2016-12-12 08:20:56 +03:00
Alexey Milovidov
0bdd22efe0
Addition to prev. revision [#METR-2944].
2016-12-12 08:15:34 +03:00
Alexey Milovidov
70b01f0a53
Do not include ClickHouseRevision.h in header files [#METR-2944].
2016-12-12 08:14:46 +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
Marek Vavrusa
f7a7e8e858
HTTPHandler: added support for X-ClickHouse-*
...
Support X-ClickHouse-* to allow running behind authenticating LBs, that
pass through user information or enforce fixed user.
The format of the new options follows X-Auth-*
Supported headers are:
* X-ClickHouse-User (identical to "user" URL parameter)
* X-ClickHouse-Key (identical to "password" URL parameter)
* X-ClickHouse-Quota (identical to "quota_key" URL parameter)
2016-12-11 20:46:37 -08:00
Alexey Milovidov
58a8cff3ae
Using internal boost library [#METR-2944].
2016-12-12 07:17:16 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
927b84323b
Addition to prev. revision [#METR-2944].
2016-12-12 04:51:27 +03:00
Alexey Milovidov
8b06b09f34
Moved code to cpp [#METR-2944].
2016-12-12 04:33:18 +03:00
artpaul
bea52b8631
lost files
2016-12-11 18:55:13 +05:00
artpaul
9ec6688397
move char2DigitTable to hex.cpp
2016-12-11 18:54:38 +05: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
31dbff77c4
Little better [#METR-23792].
2016-12-11 14:15:24 +03:00
Alexey Milovidov
d77b4f12fb
Added UUID functions [#METR-23792].
2016-12-11 13:57:34 +03:00
Alexey Milovidov
599308aef0
Get rid of obsolete mongodb client library [#METR-23791].
2016-12-11 12:43:16 +03:00
artpaul
99cec8b165
implement unquoteUrl
2016-12-11 02:04:58 +05:00
Alexey Milovidov
4aeb017093
Renamed test [#METR-19266].
2016-12-10 09:40:46 +03:00
Alexey Milovidov
02cb56653a
Merging [#METR-19266].
2016-12-10 09:22:03 +03:00
Alexey Milovidov
dc9e88a9d7
Merging [#METR-19266].
2016-12-10 09:16:06 +03:00
Alexey Milovidov
2aa02d0547
Merging [#METR-19266].
2016-12-10 09:12:21 +03:00
Alexey Milovidov
c937d75a78
Merging [#METR-19266].
2016-12-10 09:10:29 +03:00
Alexey Milovidov
f4815364f6
Merging [#METR-19266].
2016-12-10 08:03:12 +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
Alexey Milovidov
95b08c9b03
Miscellaneous [#METR-2944].
2016-12-10 02:35:18 +03:00
artpaul
396ccccfce
fix extraction of TLD from fqdn
2016-12-10 03:49:21 +05:00
artpaul
4cf4fa68e1
parametrize StringView
2016-12-10 03:13:33 +05:00
artpaul
228b43bc95
calculate size of 'https' at compile time
2016-12-10 00:33:52 +05:00
artpaul
dfb466d156
host extraction functionality was moved to UrlUtils
2016-12-10 00:31:16 +05:00
artpaul
544143f5c9
url's scheme extraction was fixed according to rfc3986.
2016-12-09 22:38:15 +05: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
6540156100
Removed redundant code from CMakeLists.
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
a1c599fc57
Autotests for external dictionaries: removed garbage [#METR-23766].
2016-12-08 08:58:45 +03:00
Alexey Milovidov
be5a07463e
Server: fixed error [#METR-23766].
2016-12-08 08:29:53 +03:00
Alexey Milovidov
959e31402b
Autotests for external dictionaries: back to life.
2016-12-08 08:12:49 +03:00
Alexey Milovidov
a8eedafcd0
Fixed error in cached dictionary when using C++11 ABI [#METR-23764].
2016-12-08 07:56:52 +03:00
Alexey Milovidov
2dc425b7e6
Preparation [#METR-23747].
2016-12-08 06:04:30 +03:00
Alexey Milovidov
6998b5ecd9
ODBC: refreshment [#METR-18538].
2016-12-08 05:55:58 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
Alexey Milovidov
9303a07b39
Removed garbage [#METR-23747].
2016-12-08 04:11:44 +03:00
Alexey Milovidov
f2cd8de5b4
Removed garbage [#METR-23747].
2016-12-08 04:08:19 +03:00
alexey-milovidov
5923df80e4
Merge pull request #204 from proller/METR-23466
...
Metr-23466 : dictonary sources: http and executable
2016-12-08 05:04:50 +04:00
Alexey Milovidov
6546b73dcc
Added setting 'input_format_values_interpret_expressions' [#METR-23720].
2016-12-08 03:25:52 +03:00
Alexey Milovidov
59da0fd12a
Added metrics and events for Context lock [#METR-23763].
2016-12-08 01:49:42 +03:00
Vitaliy Lyudvichenko
450cee3641
Fixed flags/force_restore_data.
2016-12-07 22:16:41 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Vladimir Chebotarev
64380109e9
dbms: Adjusting compiler paths. [#METR-21516]
2016-12-07 02:22:33 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +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
artpaul
f344c85cb7
#214 add tests
2016-12-03 04:29:16 +05:00
artpaul
2616453263
#214 fix offsets assigments
2016-12-03 02:18:29 +05:00
Alexey Milovidov
2def6778e7
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-02 23:27:42 +03:00
Alexey Milovidov
4110b6865f
Merge branch 'METR-23305' of git://github.com/ludv1x/ClickHouse into ludv1x-METR-23305
...
Conflicts:
contrib/CMakeLists.txt
2016-12-02 23:22:11 +03:00
alexey-milovidov
5e5acd850f
Merge pull request #224 from artpaul/build
...
move impls to cpp
2016-12-03 00:06:20 +04:00
proller
4054d1a465
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-02 19:32:25 +03:00
artpaul
a2b4b85ed5
show type of argument in case of type missmatching
2016-12-02 13:59:23 +05:00
artpaul
7eb7cc38f7
move impls of FunctionsString to cpp
2016-12-02 12:32:39 +05:00
artpaul
41fda59c95
move impls of FunctionsArray to cpp
2016-12-02 12:15:35 +05:00
Alexey Milovidov
21f8501ccc
Benchmark: update [#METR-2944].
2016-12-02 06:39:11 +03:00
alexey-milovidov
9cea29e9a8
Merge pull request #213 from vavrusa/master
...
IO: Added ProfileEvents to Open/Read/Write failures
2016-12-01 22:28:36 +04:00
Marek Vavrusa
64f86b7d20
IO: Added ProfileEvents to Open/Read/Write failures
2016-11-30 12:21:57 -08:00
alexey-milovidov
21ce8a44f7
Merge pull request #216 from yandex/if_with_const_condition
...
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 17:58:02 +04:00
Pavel Kartavyy
5dfbd57bad
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 16:19:39 +03:00
Vitaliy Lyudvichenko
4df22acea9
Try to fix LIBTCMALLOC linking.
2016-11-30 15:10:39 +03:00
proller
33cc46d225
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-30 00:42:05 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
alexey-milovidov
08cb8e506b
Merge pull request #211 from yandex/if_with_const_condition
...
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8
ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545]
2016-11-29 22:19:15 +03:00
proller
30cd3176d9
Merge branch 'autotest-external-dictionaries' into move-autotest-external-dictionaries
2016-11-29 20:06:09 +03:00
proller
936efe55f1
move * -> dbms/tests/external_dictionaries
2016-11-29 20:03:54 +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
ae413e051b
Fixed error [#METRIQA-526].
2016-11-28 18:22:10 +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
Alexey Milovidov
8bc84e29ac
Increased default background_pool_size [#METR-23632].
2016-11-28 02:50:46 +03:00
proller
5e6cac10e5
no copypaste
2016-11-27 16:01:35 +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
2aeb488d96
add writePrefix
2016-11-25 23:37:06 +03:00
proller
556bd12de1
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 20:46:59 +03:00
alexey-milovidov
7fda6394b8
Merge pull request #202 from yandex/if_with_const_condition
...
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00