Commit Graph

11727 Commits

Author SHA1 Message Date
Vitaliy Lyudvichenko
021e37943e More clearer code and correct test. [#CLICKHOUSE-1993] 2017-05-12 16:44:11 +03:00
Alexey Milovidov
9ad1d5676a Miscellaneous [#CLICKHOUSE-2]. 2017-05-12 01:21:06 +03:00
Alexey Milovidov
8f0e833b52 Whitespaces [#CLICKHOUSE-2]. 2017-05-11 22:48:46 +03:00
Marek Vavruša
45bd332460 AggregateFunctionTopK: fix memory usage, performance
* allow separate table key / hash key, and use
  std::string / StringRef for generic variant as
  it has built-in storage and StringRef is supported
  by the hash table, this avoids infinitely
  growing arena with serialised keys
* use power-of-2 size for alpha vector for faster
  binning without using modulo
* use custom grower and allocator for SpaceSaving
  to start with smaller tables
* store computed hash in counter for faster
  reinsertion of smallest element
2017-05-11 18:52:49 +04:00
Marek Vavruša
bc878f9785 Common/HashTable: allow cell reinsertion
* fixes missing setHash on reinsert
* reuses hash when emplacing value
2017-05-11 18:52:49 +04:00
Dmitry Luhtionov
caf69fd4b3 Update documentations 2017-05-11 18:40:28 +04:00
Vitaliy Lyudvichenko
0f1627691e Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993] 2017-05-11 18:39:12 +04:00
Dmitry Luhtionov
a21a6caf4e Доюавленф функции FunctionMACNumToString и FunctionMACStringToNum 2017-05-10 08:16:06 -04:00
Alexey Milovidov
66436db836 Added test [#CLICKHOUSE-2]. 2017-05-10 04:46:07 -04:00
Alexey Milovidov
2a57cfdbc2 Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2]. 2017-05-10 04:42:15 -04:00
Alexey Milovidov
21c5ee0f1d Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2]. 2017-05-10 04:41:25 -04:00
Alexey Milovidov
19d0d47c8a Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2]. 2017-05-10 04:40:14 -04:00
Alexey Milovidov
e5e8667bc9 Addition to prev. revision [#CLICKHOUSE-2]. 2017-05-10 04:10:50 -04:00
Alexey Milovidov
a7b9a12759 Returned back Increment and CounterInFile, because they are still needed [#CLICKHOUSE-2]. 2017-05-10 04:08:32 -04:00
Alexey Milovidov
bb41d47096 Removed Increment and CounterInFile [#CLICKHOUSE-2]. 2017-05-10 02:50:37 -04:00
Alexey Milovidov
5ca7650c86 Removed Increment and CounterInFile [#CLICKHOUSE-2]. 2017-05-10 02:49:19 -04:00
Alexey Milovidov
acfe3d5028 Improved performance of inserting into StorageDistributed with very high number of shards (not tested) [#CLICKHOUSE-2]. 2017-05-10 02:39:37 -04:00
Alexey Milovidov
e2f8ec8f2d Addition to prev. revision [#CLICKHOUSE-2]. 2017-05-10 02:36:15 -04:00
Alexey Milovidov
21af887758 Added aggregate function 'groupArrayInsertAt' (for Graphite) [#CLICKHOUSE-2]. 2017-05-10 01:46:23 -04:00
Alexey Milovidov
b9a7917a8d Tiny modifications [#CLICKHOUSE-2]. 2017-05-10 01:43:27 -04:00
Alexey Milovidov
542eba7e17 Fixed translation errors [#CLICKHOUSE-3]. 2017-05-10 00:30:33 -04:00
Alexey Milovidov
27a324b469 Tiny modifications [#CLICKHOUSE-2]. 2017-05-10 00:29:36 -04:00
Alexey Milovidov
7bf7242ad3 Fixed translation errors; miscellaneous changes [#CLICKHOUSE-3]. 2017-05-10 00:00:19 -04:00
Alexey Milovidov
ff02af9804 Addition to prev. revision [#CLICKHOUSE-2]. 2017-05-09 22:45:21 -04:00
Alexey Milovidov
7fc3d90035 Renamed .inl file to .inl.h to avoid confusion [#CLICKHOUSE-2]. 2017-05-09 22:41:26 -04:00
Alexey Milovidov
8e5f92f025 Fixed translation errors, part 1 [#CLICKHOUSE-3]. 2017-05-09 15:07:35 -04:00
ivanzhukov
59942137de Output only specified metrics 2017-05-09 21:53:48 +03:00
ivanzhukov
7f9e234bd5 Support preconditions 2017-05-09 21:53:48 +03:00
ivanzhukov
70e2fb7000 Add filters for tests 2017-05-09 21:53:48 +03:00
ivanzhukov
100eba717f Print array of jsons for multiple tests run 2017-05-09 21:53:48 +03:00
ivanzhukov
54f9675b59 Add support for tests profiles 2017-05-09 21:53:48 +03:00
ivanzhukov
733c74fe8a Always store queries in a vector 2017-05-09 21:53:47 +03:00
ivanzhukov
3c6de6eee9 Use new IO functions interface 2017-05-09 21:53:47 +03:00
ivanzhukov
704a79ee6c Add support for skipping whitespaces 2017-05-09 21:53:47 +03:00
ivanzhukov
5fa4b5f15e Support query in a file 2017-05-09 21:53:47 +03:00
ivanzhukov
086ef6ed82 Support directory as an input 2017-05-09 21:53:47 +03:00
ivanzhukov
1c2b64168e Code style 2017-05-09 21:53:46 +03:00
ivanzhukov
0fb964ba79 Print all runs for one query first 2017-05-09 21:53:31 +03:00
ivanzhukov
52849e746e Check metrics for execType 2017-05-09 21:53:31 +03:00
ivanzhukov
f4c6219244 Use new connectionPool inerface 2017-05-09 21:53:31 +03:00
ivanzhukov
73fa7905f0 Use new RemoteBlockInputStream's interface 2017-05-09 21:53:31 +03:00
ivanzhukov
c6f35247bf Fix include 2017-05-09 21:53:29 +03:00
ivanzhukov
26606a1556 Dont print corrupted statistics 2017-05-09 21:52:58 +03:00
ivanzhukov
dca10863c7 Refactoring 2017-05-09 21:52:58 +03:00
ivanzhukov
70fb951831 Separate metrics output for queries 2017-05-09 21:52:58 +03:00
ivanzhukov
09ca5e0032 Construct and output info at the end 2017-05-09 21:52:58 +03:00
ivanzhukov
64a18f6b6e Rename read_{rows,bytes} to {rows,bytes}_read 2017-05-09 21:52:58 +03:00
ivanzhukov
3568946082 Add support for time criterions 2017-05-09 21:52:58 +03:00
ivanzhukov
c4c6960c75 Separate 'loop' queries execution from 'once' 2017-05-09 21:52:57 +03:00
ivanzhukov
1986ceb819 Execute queries without terminate conditions 2017-05-09 21:52:56 +03:00