Vitaliy Lyudvichenko
48d85af41a
Allow to skip garbage in TSKV format. [#CLICKHOUSE-3012]
2017-05-22 17:50:13 +04:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Vitaliy Lyudvichenko
eab306b53f
Add more sophisticated test. [#METR-25237]
2017-05-20 17:30:59 +04:00
Vitaliy Lyudvichenko
bbe2a656cd
Fixed preferred_block_size_bytes in case of PREWHERE with non-materialized column. [#METR-25237]
2017-05-20 17:30:59 +04:00
Alexey Milovidov
d3a8faee16
Fixed test reference file for aggregate function topK [#CLICKHOUSE-3].
2017-05-12 23:59:14 +03:00
Alexey Milovidov
cfc4c987c5
Added optional length parameter to aggregate function groupArrayInsertAt [#CLICKHOUSE-3003].
2017-05-12 23:57:24 +03:00
Alexey Milovidov
1d090bd4e2
AggregateFunctionGroupArrayInsertAt: fixed error [#CLICKHOUSE-3003].
2017-05-12 23:05:19 +03:00
Vitaliy Lyudvichenko
021e37943e
More clearer code and correct test. [#CLICKHOUSE-1993]
2017-05-12 16:44:11 +03:00
Vitaliy Lyudvichenko
0f1627691e
Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993]
2017-05-11 18:39:12 +04:00
Alexey Milovidov
66436db836
Added test [#CLICKHOUSE-2].
2017-05-10 04:46:07 -04:00
proller
1474de179c
CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match
2017-05-04 22:41:55 +03:00
Marek Vavruša
5f1e65b252
AggregateFunctions: implemented topK(n)
...
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.
It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07:00
proller
0787bd66ff
Merge: fail if cant convert columns ( #753 )
...
* Merge: fail if cant convert columns
* Merge: convert all different types, more tests
* clean
* clean
* clean
2017-05-03 21:08:59 -07:00
Vitaliy Lyudvichenko
6d93d9cefb
Combinator -MergeState now returns AggregateFunction(nested_func). [#CLICKHOUSE-2891]
2017-05-03 20:59:42 -07:00
proller
7a0854775b
Merge: Cast types on read [#CLICKHOUSE-2957]
2017-04-29 06:37:38 +03:00
Vitaliy Lyudvichenko
42fcf148e2
Add column rows to system.parts table. [#CLICKHOUSE-2950]
2017-04-28 23:54:24 +03:00
Alexey Zatelepin
b0993e2d97
simplify test queries [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
Alexey Zatelepin
aeb83f9ef7
fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
artpaul
fd9d613dc9
#215 add tests
2017-04-25 07:57:49 +03:00
Alexey Milovidov
3788c3d3dd
Added test for Log, TinyLog, StripeLog tables with Nullable types [#CLICKHOUSE-4].
2017-04-23 11:29:38 +03:00
Alexey Milovidov
69d7432f31
Added test for ALTERing Nullable columns [#CLICKHOUSE-4].
2017-04-23 10:27:31 +03:00
Alexey Milovidov
1d93e93af3
Fixed test [#CLICKHOUSE-2].
2017-04-19 08:35:38 +03:00
Alexey Milovidov
53364dcc8d
Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963].
2017-04-19 08:08:22 +03:00
Alexey Milovidov
3de78d093b
Fixed LEFT ARRAY JOIN for constant arrays [#CLICKHOUSE-2946].
2017-04-19 07:03:11 +03:00
Alexey Milovidov
ed3c0125cd
Added support for Nullable types in higher order functions [#CLICKHOUSE-4].
2017-04-19 06:35:11 +03:00
Alexey Milovidov
3af2bade1b
Added test [#CLICKHOUSE-4].
2017-04-19 06:33:54 +03:00
artpaul
0ba72436db
#214 fix conversion from fixed-string to string
2017-04-19 03:17:44 +03:00
Alexey Milovidov
95dd78cea4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 06:03:47 +03:00
Alexey Milovidov
22e8b8029b
Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4].
2017-04-18 06:03:39 +03:00
artpaul
d259c0ea24
order results
2017-04-18 00:30:14 +05:00
Alexey Milovidov
f76680d47e
Fixed function toStringCutToZero with argument of type String [#CLICKHOUSE-2958].
2017-04-17 20:49:11 +03:00
Vitaliy Lyudvichenko
dcb5371844
Fixed CAST(NULL AS Nullable(...)). [#CLICKHOUSE-2754]
2017-04-17 14:44:16 +03:00
Alexey Milovidov
189b58b6c6
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:48:17 +03:00
Alexey Milovidov
8ba5ef7a4d
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:44:40 +03:00
Alexey Milovidov
3fa1639877
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:38:13 +03:00
Maxim Fridental
99dc3ea016
Implement ForEach modifier for aggregate functions.
2017-04-16 02:49:11 +03:00
artpaul
050f1d4b0a
drop column from partition for MergeTree
2017-04-15 06:52:04 +03:00
Vitaliy Lyudvichenko
994720682c
Add nullable PREWHERE test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
848c927bb7
Fix race condition. Add test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
82af2278fc
Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
...
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]
Make enums test more deterministic. [#CLICKHOUSE-2]
Refactored MergeTree readers.
Tabs -> spaces.
Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
Alexey Milovidov
7454185a0a
Fixed join_use_nulls setting [#CLICKHOUSE-4].
2017-04-07 23:30:52 +03:00
Alexey Milovidov
463fddb2ca
Joins by Nullable keys: development [#CLICKHOUSE-4].
2017-04-07 00:44:52 +03:00
Alexey Milovidov
ab215c0fcd
join_use_nulls: development; added test [#CLICKHOUSE-4].
2017-04-07 00:09:39 +03:00
Alexey Milovidov
e36468af29
Renamed test [#CLICKHOUSE-2].
2017-04-06 19:35:23 +03:00
Alexey Milovidov
4132d0ed32
Fixed test [#CLICKHOUSE-2].
2017-04-06 19:34:39 +03:00
Alexey Milovidov
31f7fe42d6
Fool's day changed, continued [#CLICKHOUSE-3].
2017-04-05 14:52:23 +03:00
Vitaliy Lyudvichenko
74a92cb8d9
Add test for OPTIMIZE FINAL and more diagnostics. [#CLICKHOUSE-2886]
2017-04-04 15:54:21 +03:00
Alexey Milovidov
093c77559f
Added test [#CLICKHOUSE-2754].
2017-04-04 12:24:14 +03:00
Vitaliy Lyudvichenko
a1e27e2b84
Add ru doc. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d
Fix test, add more comments. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289
Add functional test, fixed error. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
Alexey Milovidov
e6a41a0256
Fixed error with NULLs [#CLICKHOUSE-2901].
2017-03-24 07:42:36 +03:00
Alexey Milovidov
9d5ea2163c
Fixed error with FixedString filtering [#CLICKHOUSE-2898].
2017-03-21 21:37:35 +03:00
Alexey Milovidov
910c542994
Added more bitwise functions [#CLICKHOUSE-2884].
2017-03-20 22:16:02 +03:00
Alexey Milovidov
a79eb483a2
Added test [#CLICKHOUSE-2882].
2017-03-12 18:54:40 +03:00
Alexey Milovidov
724599a369
Added test [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
93bb49cecd
Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879].
2017-03-11 07:36:14 +03:00
Alexey Milovidov
75f1d7b820
Added test [#CLICKHOUSE-2789].
2017-03-09 23:40:36 +03:00
Alexey Milovidov
1abf959722
Added test [#CLICKHOUSE-2789].
2017-03-09 22:49:11 +03:00
Alexey Milovidov
3107156fd9
Added tests [#CLICKHOUSE-2789].
2017-03-09 22:45:22 +03:00
Alexey Milovidov
19354bef87
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:57:53 +03:00
Alexey Milovidov
01d2498bb6
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:56:38 +03:00
Alexey Milovidov
caebb93995
Merge remote-tracking branch 'origin/master' into if-support-nulls
...
Conflicts:
dbms/include/DB/Columns/ColumnArray.h
dbms/include/DB/Columns/ColumnString.h
dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
9d37698e70
Updated test [#CLICKHOUSE-2789].
2017-03-09 07:06:41 +03:00
Alexey Milovidov
520e891190
Added test [#CLICKHOUSE-2873].
2017-03-08 00:45:25 +03:00
proller
1af6311a99
https server ( #561 )
...
* https support in dictionaries
* Style
* Update README.md
* https server wip
* wip
* cf
* wip
* add test
* wip
* wip
* wip
* wip
* clean
* cmt
2017-03-07 23:01:37 +04:00
artpaul
0ef749839c
issue #390 : insert values by their positions instead of name
2017-03-07 15:30:05 +05:00
proller
e96092c66c
Freebsd fixes ( #555 )
...
* freebsd fixes
* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
alexey-milovidov
35215d077e
Merge pull request #544 from serebrserg/METR-23630
...
METR-23630: add pointInEllipses function
2017-03-02 17:05:26 +04:00
serebrserg
6b3135959d
add test for pointInEllipses
2017-03-02 14:33:38 +03:00
artpaul
be7c70da5c
fix IN with nested tuples [#CLICKHOUSE-1999]
2017-03-01 19:48:21 +05:00
proller
3e824b3b4f
add test (Not found column date in block. There are only columns: x.) [#CLICKHOUSE-1993]
2017-02-21 22:45:37 +04:00
Alexey Zatelepin
7090d0861a
reinitialize primary key after ALTER [#CLICKHOUSE-2853]
2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
3ee4e6b79b
Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845]
2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
f1b5e927a5
Fixed typo in test.
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
97c4211409
Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
...
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
Alexey Milovidov
6a24e21f77
Renamed test [#CLICKHOUSE-2].
2017-02-11 23:03:23 +03:00
Alexey Zatelepin
66501c8026
ALTER primary key tests [#CLICKHOUSE-2027]
2017-02-10 22:19:40 +04:00
Alexey Milovidov
a39f333c1b
Fixed test [#CLICKHOUSE-2755].
2017-02-10 19:57:12 +03:00
Alexey Milovidov
0673f75265
Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755].
2017-02-10 13:20:06 +03:00
Alexey Milovidov
17e3a4ff1f
Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833].
2017-02-10 12:02:10 +03:00
Alexey Milovidov
0d903dbf07
Addition to prev. revision; added test [#CLICKHOUSE-2832].
2017-02-10 09:03:09 +03:00
Alexey Milovidov
b9a96b480d
Added test [#CLICKHOUSE-2825].
2017-02-09 00:49:15 +03:00
Alexey Milovidov
40e71651e5
Allowed hash functions to be constant expressions [#CLICKHOUSE-2819].
2017-02-08 23:33:50 +03:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04: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
d6385af19b
Add test for _table index in storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
df9ada58fb
Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787]
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
76916739e2
Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +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
Alexey Milovidov
8d4a08cf9f
Updated test [#CLICKHOUSE-32].
2017-02-01 07:15:20 +03:00
Alexey Milovidov
9d04189793
Updated test [#CLICKHOUSE-32].
2017-02-01 05:40:27 +03:00
Vitaliy Lyudvichenko
9f8a967e6c
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-30 16:24:42 +03:00
Alexey Milovidov
4ae2bed9b6
Fixed wrong test [#CLICKHOUSE-2785].
2017-01-30 11:28:42 +03:00
Vitaliy Lyudvichenko
7f73f91705
Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283 ]
2017-01-28 02:30:19 +03:00
alexey-milovidov
de9bc1dc75
Text formats allow to skip errors ( #407 )
...
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
Vitaliy Lyudvichenko
891437e531
Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00