Commit Graph

762 Commits

Author SHA1 Message Date
Vitaliy Lyudvichenko
eff3588f28 Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896] 2017-06-22 16:18:19 +03:00
Vitaliy Lyudvichenko
53adb891b3 Add replicated DROP COLUMN FROM partition for optimistic case. [#CLICKHOUSE-2896] 2017-06-22 00:56:38 +03:00
Vitaliy Lyudvichenko
b772eaa3a8 Resolved #891. Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3] 2017-06-19 22:40:12 +03:00
Alexey Milovidov
f6be687717 Added test [#CLICKHOUSE-31]. 2017-06-19 06:06:17 +03:00
Alexey Milovidov
b19f4d1a0e Added test [#CLICKHOUSE-31]. 2017-06-18 06:38:17 +03:00
Alexey Milovidov
5006042bac Added test [#CLICKHOUSE-2993]. 2017-06-16 21:08:19 +03:00
Vitaliy Lyudvichenko
67fdd0f544 Load the system database first. [#CLICKHOUSE-3044] 2017-06-16 19:08:24 +03:00
Alexey Milovidov
686b29cc97 Fixed test [#CLICKHOUSE-4]. 2017-06-14 22:48:10 +03:00
Alexey Milovidov
e9ea838c66 Merge branch 'master' of github.com:yandex/ClickHouse 2017-06-10 13:43:49 +03:00
Alexey Zatelepin
877283b589 fix sorting when all columns are const [#CLICKHOUSE-3062] 2017-06-09 09:13:20 +03:00
Alexey Zatelepin
b03c87be39 fix nulls sorting when limit is greater than rows count [#CLICKHOUSE-3061] 2017-06-09 09:13:20 +03:00
Vitaliy Lyudvichenko
58db4b7be4 Fix HTTP session test again. [#CLICKHOUSE-2] 2017-06-08 19:36:45 +03:00
Alexey Milovidov
a4b28db411 Merge branch 'master' of github.com:yandex/ClickHouse 2017-06-08 09:29:49 +03:00
Vitaliy Lyudvichenko
7ab88b8055 Fix HTTP sessions test. [#CLICKHOUSE-3] 2017-06-07 22:06:43 +03:00
Alexey Milovidov
0b4c23d0fc Added test [#CLICKHOUSE-2]. 2017-06-07 04:56:20 +03:00
Vitaliy Lyudvichenko
d4d316dbb8 More sophisticated test. [#CLICKHOUSE-2] 2017-06-06 17:18:23 +03:00
Sergey V. Galtsev
07f14e05ee Implement sessions in HTTP interface [#CLICKHOUSE-2949]. 2017-06-02 22:35:05 +03:00
Alexey Zatelepin
7655a7bf3a add tests [#CLICKHOUSE-3002] 2017-05-25 05:34:26 +04:00
Alexey Milovidov
26a14c180d Fixed test [#CLICKHOUSE-2]. 2017-05-23 16:35:38 +03:00
Alexey Milovidov
45cf057b22 Fixed test [#CLICKHOUSE-3014]. 2017-05-23 16:32:46 +03:00
Alexey Milovidov
0e77575a76 JSONEachRow: allow to parse true and false as 1 and 0 for UInt8, Int8 data types [#CLICKHOUSE-3] 2017-05-22 23:13:17 +03:00
Alexey Milovidov
c323d7bf99 Added test for function defaultValueOfArgumentType [#CLICKHOUSE-3013]. 2017-05-22 22:04:18 +03:00
Alexey Milovidov
7269f3a23b Format Vertical: added support for totals, extremes and output_format_pretty_max_rows [#CLICKHOUSE-3014]. 2017-05-22 22:00:45 +03:00
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