Alexey Milovidov
0c416be381
More simple code; fixed translation error [#CLICKHOUSE-2].
2017-05-23 04:09:47 +03:00
Alexey Milovidov
25209bf040
Allow semicolon after JSONEachRow lines, for convenience [#CLICKHOUSE-2]
2017-05-23 03:57:58 +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
Alexey Milovidov
734b240490
TrivialBuffer: fixed build after merge [#CLICKHOUSE-2929].
2017-05-22 19:46:33 +03:00
Alexander Makarov
55bfaca662
StorageTrivialBuffer: added support for the replication [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexander Makarov
fdd636a785
fixup #2 : comments on English, proper classname, StorageFactory update and merging in 'flush' method without lock [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexander Makarov
f8e19de0e3
fixups after review [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
alexey-milovidov
90e1767387
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
2fdb7057ba
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
10f188708b
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
84040d8a85
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
1059c87828
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
3d009d153d
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
4cb799307b
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
fd1403d4c4
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
0fb0d36045
Update Block.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
d9761b6506
Update Block.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
d8e9e8fa99
Update Block.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
934476b2ed
Update Block.cpp
2017-05-22 18:40:11 +04:00
Alexander Makarov
dfabe90373
TrivialBuffer implementation [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexey Zatelepin
65227021e7
ClickHouse integration tests. [#CLICKHOUSE-2821]
2017-05-22 17:56:41 +04:00
Vitaliy Lyudvichenko
48d85af41a
Allow to skip garbage in TSKV format. [#CLICKHOUSE-3012]
2017-05-22 17:50:13 +04:00
Vitaliy Lyudvichenko
4fd357a311
Add more clear comments, refined code. [#CLICKHOUSE-2957]
2017-05-22 15:16:21 +04:00
Alexey Milovidov
571af20a4f
Added function defaultValueForArgumentType [#CLICKHOUSE-3013].
2017-05-22 01:27:41 +03:00
Alexey Milovidov
0f252046ca
Preparations [#CLICKHOUSE-2]
2017-05-22 01:25:25 +03: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
Alexey Zatelepin
9c6829e982
Fix replica delay counting in case of ZooKeeper communication problems [#CLICKHOUSE-2141]
2017-05-20 17:32:00 +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 Zatelepin
d9306ab6b5
choose row with the max version for unmatched paths [#CLICKHOUSE-2984]
2017-05-20 17:25:48 +04:00
Alexey Zatelepin
f37ed1fbdb
fix bugs in GraphiteMergeTree [#CLICKHOUSE-2984]:
...
* destructive rollup with Time=0 if no pattern matches
* differences in row count for Path and Value columns
* missed output rows on the boundaries between blocks
2017-05-20 17:25:48 +04:00
KochetovNicolai
f9cdae50d9
Cast boolean json fields to numbers ( #809 )
...
* added readBoolTextWord
* moved json bool cast to DataTypeNumber
2017-05-20 17:15:04 +04:00
Alexey Zatelepin
807570b32f
Change tabs to spaces in clickhouse-test [#CLICKHOUSE-3].
2017-05-19 21:31:48 +03:00
robot-metrika-test
bc2d232494
Auto version update to [54235]
2017-05-17 21:44:16 +04:00
Vitaliy Lyudvichenko
1d00f45dd3
Detect race condition between fetches and merges of the same part. [#CLICKHOUSE-2989]
2017-05-17 21:44:16 +04:00
Dmitry Luhtionov
4cc10af7b7
Add MACStringToOUI function
2017-05-16 10:32:49 +04:00
orantius
da83036326
Add age 55 for function roundAge. [#CLICKHOUSE-3001]
2017-05-15 22:42:39 +04:00
Marek Vavruša
9520234365
Dictionaries/TrieDictionary: IP prefix dictionary
...
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.
The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
alexey-milovidov
e7b7f6f73d
Update MergeTreeData.cpp
2017-05-15 10:34:40 +04:00
Vitaliy Lyudvichenko
6262fc8650
Fix inccorect columns size in MergeTreeData after ALTER. [#CLICKHOUSE-2]
2017-05-15 10:34:40 +04:00
f1yegor
92b56c2c7d
translate comments
2017-05-14 19:03:55 +04:00
f1yegor
c252863b2e
translate comments
2017-05-14 19:03:55 +04:00
Marek Vavruša
95d926ec14
AggregateFunctionTopK: smaller initial table size
...
By default start with 2^4 elements
2017-05-13 03:58:05 +04:00
Marek Vavruša
74cc0849dc
iostream_debug_helpers: fixed build
2017-05-13 03:58:05 +04:00
robot-metrika-test
9d475d34f6
Auto version update to [54234]
2017-05-13 00:05:22 +03:00
Alexey Milovidov
282a395464
Fixed test [#CLICKHOUSE-2].
2017-05-13 00:03:01 +03: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