Sergey Fedorov
ac08407ed6
functions: little fix in contants [METR-9582]
2014-02-06 17:02:32 +00:00
Sergey Fedorov
721d6d136f
functions: fixed substitutions in replaceRegexp functions [METR-9582]
2014-02-06 16:54:41 +00:00
Sergey Fedorov
7ad57f4062
tableFunctions: updates in interface, fixed misspells in commets [METR-9750]
2014-02-06 16:21:00 +00:00
Alexey Milovidov
16fd573314
dbms: fixed error with virtual columns [#METR-9172].
2014-02-04 15:44:15 +00:00
Alexey Milovidov
47537c1f84
dbms: fixed error [#METR-2944].
2014-02-03 04:00:56 +00:00
Alexey Milovidov
2b2c765e99
dbms: fixed error [#METR-2944].
2014-02-03 00:49:24 +00:00
Alexey Milovidov
3f8bb84690
dbms: fixed error [#METR-2944].
2014-02-02 11:16:46 +00:00
Alexey Milovidov
432ae961ca
dbms: fixed error [#METR-2944].
2014-02-02 10:42:56 +00:00
Alexey Milovidov
0fe0e21c4b
dbms: added aggregate function uniqExact [#METR-2944].
2014-02-02 09:08:06 +00:00
Alexey Milovidov
6da9c1fc5d
dbms: rearranged code [#METR-2944].
2014-02-02 06:09:30 +00:00
Alexey Milovidov
dd21637d5e
dbms: fixed error [#METR-9836].
2014-02-01 01:40:53 +00:00
Alexey Milovidov
91dbb13653
dbms: added support for negative array indices [#METR-9723].
2014-01-29 01:59:01 +00:00
Pavel Kartavyy
92d5a9c302
dbms: added default_sample [#METR-9464]
2014-01-28 19:26:39 +00:00
Pavel Kartavyy
f17494744c
dbms: add settings default sample [#METR-9464]
2014-01-28 19:26:37 +00:00
Sergey Fedorov
a7edba5032
table functions: main interface implementation, function merge implementation, plug for remote function [METR-9750]
2014-01-28 16:45:10 +00:00
Sergey Fedorov
8beae0f470
functions: substitutions in replaceRegexp functions [METR-9582]
2014-01-28 13:02:37 +00:00
Sergey Fedorov
0e8477312f
functions: replaceRegexpOne and replaceRegexpAll implementation [METR-9582]
2014-01-27 16:01:53 +00:00
Sergey Fedorov
1e220376cd
storages: few more comments on virtual columns, couple of code style changes [METR-9172]
2014-01-27 13:52:01 +00:00
Sergey Fedorov
6c2507870e
functions: replaceOne replaceAll implementation, few code-style changes [METR-9750]
2014-01-27 13:49:06 +00:00
Sergey Fedorov
c12f36b900
functions: replace implementation [METR-9582]
2014-01-23 14:26:12 +00:00
Sergey Fedorov
2c98354df3
functions: removed couple of unused date time funstions [METR-9582]
2014-01-23 12:12:55 +00:00
Sergey Fedorov
f8b5613b82
storages: Virtual columns for storage distributed + few style fixes [METR-9172]
2014-01-22 14:24:05 +00:00
Sergey Fedorov
14620b3347
Merge
2014-01-22 12:50:19 +00:00
Sergey Fedorov
1d874c5f95
functions: Relative Date-time functions + regionToContinent support [METR-9582]
2014-01-22 12:27:55 +00:00
Sergey Fedorov
cd8448d2c6
Removed unused file [METR-9172]
2014-01-17 15:43:15 +00:00
Sergey Fedorov
9cc974568e
Merge
2014-01-17 15:19:20 +00:00
Sergey Fedorov
dba74f16f2
storages: fixed two warnings, which cause a compilation error [METR-9172]
2014-01-16 15:25:54 +00:00
Sergey Fedorov
5d00bf81ea
streams: adding const column, important for virtual columns [METR-9172]
2014-01-16 15:19:50 +00:00
Sergey Fedorov
4bd32c8c81
common: utils for virtual columns [METR-9172]
2014-01-16 15:15:28 +00:00
Sergey Fedorov
da115c14f7
Merge
2014-01-16 14:52:13 +00:00
Michael Kolupaev
fd05f7ea53
clickhouse: fixed a leak of file descriptors and memory. [#METR-9664]
2014-01-15 16:12:48 +00:00
Michael Kolupaev
532945a535
dbms: refactored compressed read buffers. [#METR-9633]
2014-01-15 14:53:20 +00:00
Michael Kolupaev
589ed293c2
clickhouse: CachedCompressedReadBuffer is not wuite fixed yet; commenting it again. [#METR-9633]
2014-01-14 14:57:19 +00:00
Michael Kolupaev
69b90550cc
dbms: fixed CachedCompressedReadBuffer::readBig. [#METR-9633]
2014-01-14 12:02:04 +00:00
Michael Kolupaev
936fc15640
clickhouse: better error message when an aggregate function is missing. [#METR-9590]
2014-01-13 11:29:24 +00:00
Alexey Milovidov
841e866c68
Addition to prev. revision [#METR-8766].
2014-01-11 20:04:07 +00:00
Sergey Fedorov
91609727a8
Merge
2014-01-10 13:24:50 +00:00
Alexey Milovidov
a1de392d32
Addition to prev. revision [#METR-8766].
2014-01-08 19:05:50 +00:00
Alexey Milovidov
9c4043de67
Removed 'tr1' [#METR-2807].
2014-01-08 16:33:28 +00:00
Alexey Milovidov
16ed91c728
dbms: tiny modification [#METR-2944].
2014-01-08 16:23:31 +00:00
Alexey Milovidov
22fda035cc
Allowed to use std::vector instead of DB::Array for Arrays in ssqls [#METR-8766].
2014-01-05 13:40:11 +00:00
Alexey Milovidov
cb91ab992d
dbms: fixed error [#METR-2944].
2014-01-04 11:43:16 +00:00
Alexey Milovidov
a57d64b7fa
dbms: more instrumentation [#METR-2944].
2014-01-04 04:53:07 +00:00
Alexey Milovidov
6820638c30
dbms: IO: added test [#METR-2944].
2014-01-04 04:52:22 +00:00
Alexey Milovidov
b9d6fc48eb
dbms: tiny modification [#METR-2944].
2014-01-03 09:06:42 +00:00
Alexey Milovidov
fd414800d5
dbms: added ProfileEvents system [#METR-2944].
2014-01-03 08:20:13 +00:00
Alexey Milovidov
af3d957de1
Addition to prev. revision [#METR-9578].
2014-01-03 06:31:32 +00:00
Alexey Milovidov
5d7fb8ecce
dbms: Fixed error with uninitialized data in FixedString columns [#METR-9621].
2013-12-30 17:25:50 +00:00
Michael Kolupaev
bdcc7d9e93
clickhouse: readable exception instead of NULL pointer for some higher order functions in some cases. [#METR-9254]
2013-12-30 13:08:47 +00:00
Alexey Milovidov
6e359ab5c5
Addition to prev. revision [#METR-2944].
2013-12-27 18:01:53 +00:00
Alexey Milovidov
377d42c17e
dbms: tiny improvement [#METR-2944].
2013-12-27 17:43:36 +00:00
Michael Kolupaev
2b7863617d
clickhouse: not allowing comparison between Date and DateTime. [#METR-2807]
2013-12-27 14:51:31 +00:00
Sergey Fedorov
d2fe6e0fa9
dbms: update in expression analyzer, now * is only for virtual columns
2013-12-27 14:11:11 +00:00
Michael Kolupaev
5ac8541e2b
ClickHouse: changed readSuffix calling requirements to match what RemoteBlockInputStream expects; changed some streams to meet that requirements. It fixed segfault with DISTINCT with LIMIT from Distributed table. [#METR-9598]
2013-12-27 13:22:32 +00:00
Michael Kolupaev
aff4e40bc2
ClickHouse: disabled broken readBig in CachedCompressedReadBuffer. [#METR-9598]
2013-12-27 13:18:33 +00:00
Sergey Fedorov
1a5f04d3bf
Merge
2013-12-26 13:55:19 +00:00
Pavel Kartavyy
e78d87d9f3
dbms: added message [#METR-9462]
2013-12-26 09:42:32 +00:00
Pavel Kartavyy
4a3827cd96
dbms: development [#METR-9462]
2013-12-24 14:00:18 +00:00
Michael Kolupaev
9b68bd4212
clickhouse: arrayEnumerateUniq now accepts multiple parallel arrays. [#METR-8821]
2013-12-24 11:56:38 +00:00
Alexey Milovidov
097405ff6f
dbms: fixed error in CachedCompressedReadBuffer::readBig [#METR-2944].
2013-12-23 05:56:59 +00:00
Alexey Milovidov
4289f599db
dbms: fixed error with CachedCompressedReadBuffer::readBig [#METR-9091].
2013-12-23 04:16:59 +00:00
Alexey Milovidov
e9d69e51a8
Merge
2013-12-23 03:10:12 +00:00
Alexey Milovidov
f382c50c4e
dbms: fixed error in prev. revision [#METR-9091].
2013-12-22 22:36:12 +00:00
Alexey Milovidov
3d3fef11eb
dbms: fixed error in prev. revision [#METR-9091].
2013-12-22 21:36:54 +00:00
Alexey Milovidov
947a7930a8
dbms: added missing readBig function [#METR-9091].
2013-12-22 17:28:47 +00:00
Alexey Milovidov
7ed3228660
dbms: removed one virtual function call in aggregation inner loop [#METR-2944].
2013-12-22 08:06:30 +00:00
Sergey Fedorov
32e0d8397e
[dmbs and libs] Function toFirstDayOfQuarter in DateLUT and FunctonsDateTime [METR-9400]
2013-12-20 14:12:20 +00:00
Alexey Milovidov
f1af3dadff
dbms: tiny fix [#METR-9508].
2013-12-19 19:01:08 +00:00
Alexey Milovidov
ce21a286af
dbms: probably fixed error [#METR-9532].
2013-12-17 19:45:18 +00:00
Alexey Milovidov
cad8abce91
Removed useless whitespace [#METR-2807].
2013-12-17 19:40:23 +00:00
Sergey Fedorov
d930aa4f0c
dbms: Rename all binary operations from bitwise* to bit* (e.g. bitwiseAnd -> bitAnd) [METR-9508]
2013-12-17 16:06:52 +00:00
Sergey Fedorov
be3f3beb3d
dbms: Two new binary operations: FunctionBitwiseShiftLeft and FunctionBitwiseShiftRight, and one new function - FunctionHostName [METR-9508]
2013-12-17 13:49:21 +00:00
Alexey Milovidov
dac017c03d
dbms: fixed error with FINAL [#METR-9514].
2013-12-16 07:12:30 +00:00
Alexey Milovidov
6d49edfecb
dbms: addition to prev. revision [#METR-9515].
2013-12-16 05:32:08 +00:00
Alexey Milovidov
92c74bb0ff
dbms: probably fixed error [#METR-9515].
2013-12-16 05:27:38 +00:00
Alexey Milovidov
cb03078f47
dbms: probably fixed error [#METR-9515].
2013-12-16 05:12:55 +00:00
Alexey Milovidov
42fabf4936
dbms: probably fixed error with sorting arrays [#METR-9515].
2013-12-16 04:30:21 +00:00
Alexey Milovidov
febe35c0bf
dbms: OPTIMIZE query is merging aggressive [#METR-9516].
2013-12-16 03:51:30 +00:00
Alexey Milovidov
8d53dcde32
dbms: improved performance for small queries [#METR-8582].
2013-12-16 02:32:00 +00:00
Sergey Fedorov
6fb0caf597
Merge
2013-12-13 16:20:06 +00:00
Sergey Fedorov
9ba96ea811
merge tree: sharedptr buf fixed, correct calculating directory size in bytes, a few more changes [METR-9279] [METR-9444]
2013-12-13 14:23:04 +00:00
Michael Kolupaev
f5b30483e1
███████████: reading metrage data; not using it yet, and consuming lots of memory. [#METR-9093]
2013-12-13 12:53:17 +00:00
Alexey Milovidov
27e0b89026
dbms: fixed error [#METR-9454].
2013-12-13 01:51:57 +00:00
Alexey Milovidov
0a40b9f24c
dbms: fixed one of errors [#METR-9454].
2013-12-12 22:55:47 +00:00
Sergey Fedorov
aa56701c8a
merge tree: fixed incorrect usage of Singleton [METR-9279] [METR-9444]
2013-12-12 15:12:18 +00:00
Sergey Fedorov
4787aefff9
merge tree: update in CurrentlyMergingInfo. Now looking on available disk space before merge [METR-9279] [METR-9444]
2013-12-12 14:11:40 +00:00
Sergey Fedorov
ee1fff79f2
merge tree: fixed currently merging vulnerability, added singleton with total merging files size [METR-9279] [METR-9444]
2013-12-12 13:54:16 +00:00
Alexey Milovidov
c9fe09e8ab
dbms: probably fixed error [#METR-9463].
2013-12-12 00:50:54 +00:00
Alexey Milovidov
df90b0bbce
dbms: investigating error [#METR-9463].
2013-12-11 20:44:06 +00:00
Michael Kolupaev
c2888905e3
dbms: Added a small comment to CachedCompressedReadBuffer. [#METR-2807]
2013-12-11 13:36:07 +00:00
Pavel Kartavyy
b64633e2a0
dbms: enable to write like: Set load_balancing = 'nearest_hostname' [#METR-9350]
2013-12-11 11:51:08 +00:00
Pavel Kartavyy
d930b49c75
dbms: can change load_balancing in runtime [#METR-9350]
2013-12-11 11:51:01 +00:00
Pavel Kartavyy
b9caf82430
dbms: added nearest_host mode to ConnectionPoolWithFailover [#METR-9350]
2013-12-10 17:07:09 +00:00
Pavel Kartavyy
cc3882b81f
dbms: added load_balancing to settings [#METR-9350]
2013-12-10 17:07:06 +00:00
Pavel Kartavyy
ec2e5ff860
dbms: create cluster when distributed tables are created[#METR-9350]
2013-12-10 17:06:57 +00:00
Sergey Fedorov
205e22e0ba
materialized view: added POPULATE option [#METR-9076]
2013-12-10 12:23:43 +00:00
Pavel Kartavyy
c22fb0ac12
dbms: fix config[#METR-9350]
2013-12-10 09:35:30 +00:00
Alexey Milovidov
89361fb78c
dbms: less copying while decompressing [#METR-8582].
2013-12-09 04:03:49 +00:00
Alexey Milovidov
a5d93468eb
dbms: tiny improvement [#METR-8582].
2013-12-09 00:40:15 +00:00
Alexey Milovidov
9690a3003b
Merge
2013-12-09 00:29:24 +00:00
Alexey Milovidov
489696281e
dbms: tiny improvement [#METR-8582].
2013-12-09 00:23:17 +00:00
Alexey Milovidov
e5a6cc5436
dbms: fixed error [#METR-9007].
2013-12-08 05:18:22 +00:00
Alexey Milovidov
c640065f37
dbms: don't zero-fill columns with numbers [#METR-8582].
2013-12-08 02:29:40 +00:00
Pavel Kartavyy
278f5a9246
dbms: added Cluster class [#METR-9350]
2013-12-07 16:51:29 +00:00
Michael Kolupaev
3a4b4303ca
ClickHouse: fixed a tiny special case for PREWHERE. [#METR-9392]
2013-12-06 09:02:19 +00:00
Michael Kolupaev
c3fec760f8
ClickHouse: fixed ORDER BY with constants. [#METR-9392]
2013-12-06 09:01:31 +00:00
Michael Kolupaev
54bbe1f361
ClickHouse: fixed toFixedString exception text. [#METR-9091]
2013-12-05 13:15:04 +00:00
Michael Kolupaev
857cebea6f
ClickHouse: small fixes for PREWHERE. [#METR-9091]
2013-12-05 13:07:55 +00:00
Michael Kolupaev
e4dbb2fa34
ClickHouse: added a method for debugging. [#METR-9091]
2013-12-05 12:46:29 +00:00
Michael Kolupaev
c621ed95b9
ClickHouse: fixed occasional segfault with PREWHERE; added check for isCancelled() during reading with PREWHERE. [#METR-9091]
2013-12-05 12:41:47 +00:00
Michael Kolupaev
8cb3822e64
Merge
2013-12-04 10:14:35 +00:00
Michael Kolupaev
b489295fe3
ClickHouse: added checks for non-positive FixedString size. [#METR-9091]
2013-12-04 10:02:43 +00:00
Sergey Fedorov
2bc11e4271
Merge
2013-12-03 14:40:20 +00:00
Michael Kolupaev
49a129c829
ClickHouse: added toFixedString function. [#METR-9091]
2013-12-03 10:19:57 +00:00
Michael Kolupaev
d2010d7876
ClickHouse: fixed FixedString. [#METR-9372]
2013-12-03 10:01:04 +00:00
Michael Kolupaev
6f46eb052c
fixed a typo. [#METR-2807]
2013-12-03 07:56:51 +00:00
Michael Kolupaev
034df57321
ClickHouse: working PREWHERE section. [#METR-9091]
2013-12-02 12:15:39 +00:00
Michael Kolupaev
71d5ea9ec1
removed changes accidentally committed in previous revision. [#METR-9091]
2013-12-02 09:48:57 +00:00
Michael Kolupaev
4d85e7b1a4
Merge
2013-12-02 09:46:30 +00:00
Alexey Milovidov
ff7cd145ca
Merge
2013-11-30 18:43:59 +00:00
Alexey Milovidov
4eb7ba0e60
dbms: more clear code [#METR-2944].
2013-11-29 22:10:15 +00:00
Alexey Milovidov
629a224230
dbms: hopefully fixed error [#METR-9342].
2013-11-29 18:44:02 +00:00
Alexey Milovidov
b3f0d43ba6
dbms: hope fixed error [#METR-9342].
2013-11-29 15:04:07 +00:00
Michael Kolupaev
812127899d
UnionBlockInputStream: fixed possible deadlock. [#METR-9007]
2013-11-29 12:25:54 +00:00
Alexey Milovidov
aa3ed8bc66
dbms: fixed race condition [#METR-9344].
2013-11-29 08:08:43 +00:00
Alexey Milovidov
2a18d735df
dbms: fixed error (error not returned from HTTP handler) [#METR-9342].
2013-11-28 20:05:54 +00:00
Michael Kolupaev
596b2bc1d9
ClickHouse: Parsing and passing around PREWHERE condition. No actual filtering yet. [#METR-9091]
2013-11-28 13:16:46 +00:00
Pavel Kartavyy
de71157b10
StorageDistributed: development [#METR-9244]
2013-11-28 10:31:17 +00:00
Michael Kolupaev
75567adb51
Merge
2013-11-26 11:55:11 +00:00
Michael Kolupaev
d5ebfa5076
ClickHouse: IDataType::deserializeBinary now appends to column. Previously it was appending for some types and overwriting for others. [#METR-9091]
2013-11-26 10:18:09 +00:00
Michael Kolupaev
606a2ad942
ClickHouse: fixed UnionBlockInputStream freezing interactive queries in some cases. [#METR-9007]
2013-11-25 12:32:43 +00:00
Michael Kolupaev
0bc7b868a1
ClickHouse: fixed UnionBlockInputStream calling readSuffixImpl during a call to readImpl. Better invariant for IBlockInputStream::readSuffix(). [#METR-9007]
2013-11-25 10:46:25 +00:00
Sergey Fedorov
d96c682c22
dbms: fix default constructor in ASTDropQuery [#METR-9076]
2013-11-20 16:26:38 +00:00
Sergey Fedorov
1de8ddb8df
dbms: Pushing to Views fixed workflow with constant columns [#METR-9076]
2013-11-20 16:02:45 +00:00
Alexey Milovidov
0dd758d101
dbms: addition to prev. revision [#METR-9007].
2013-11-20 01:48:23 +00:00
Alexey Milovidov
98bb9bb33e
dbms: probably fixed error [#METR-9007].
2013-11-20 01:42:24 +00:00
Alexey Milovidov
105d10de5f
dbms: probably fixed error [#METR-9194].
2013-11-20 00:49:47 +00:00
Alexey Milovidov
beaf9c100c
dbms: reverted incomplete modification [#METR-2944].
2013-11-19 20:12:10 +00:00
Alexey Milovidov
025531e1c5
dbms: better [#METR-9194].
2013-11-18 19:18:03 +00:00
Alexey Milovidov
e36408e473
dbms: better [#METR-9194].
2013-11-18 17:17:45 +00:00
Alexey Milovidov
bcede415a9
dbms: improvement for small blocks [#METR-2944].
2013-11-17 21:52:09 +00:00
Alexey Milovidov
405f03d437
dbms: less copying of blocks; improvement [#METR-2944].
2013-11-17 19:14:17 +00:00
Alexey Milovidov
5dfa8e3234
Fixed incompatibility with c++11 [#CONV-2807].
2013-11-16 15:57:00 +00:00
Sergey Fedorov
ac21314784
dbms: Couple of unimportant fixes (includes, code simplification) in View and Materialized View [#METR-9076]
2013-11-15 09:43:50 +00:00
Sergey Fedorov
13bd27c498
dbms: View and Materialized View fixes, logic updates, implementation [#METR-9076]
2013-11-13 14:39:48 +00:00
Pavel Kartavyy
06759d5f3e
dbms: style fix
2013-11-13 09:47:12 +00:00
Alexey Milovidov
806fee097b
dbms: fixed limits on result data with distributed query processing [#METR-9180].
2013-11-12 23:15:09 +00:00
Alexey Milovidov
e604345d25
dbms: fixed error [#METR-9176].
2013-11-11 17:56:41 +00:00
Alexey Milovidov
71ed66ff2c
dbms: tiny improvement [#METR-2807].
2013-11-11 05:35:58 +00:00
Sergey Fedorov
b6b40d4c4e
dbms: View and Materialized View implementation [#METR-9076]
2013-11-08 17:43:03 +00:00
Michael Kolupaev
e38ee8343a
dbms: fast seek in ReadBufferFromFile[Descriptor] and a speed test for it. [#METR-2807]
2013-11-08 12:27:44 +00:00
Alexey Milovidov
4b01316b72
dbms: fixed error with sorting unsigned numbers [#METR-9053].
2013-11-07 19:50:53 +00:00
Alexey Milovidov
0bef5d4eed
dbms: fixed error in error messages [#METR-2944].
2013-11-04 02:41:11 +00:00
Alexey Milovidov
3f2ee82cdc
dbms: SplittingAggregator: added support for max_rows_to_group_by [#METR-2944].
2013-11-04 00:49:37 +00:00
Alexey Milovidov
b3a5b32f50
dbms: SplittingAggregator: development [#METR-2944].
2013-11-04 00:07:50 +00:00
Alexey Milovidov
c252785d2a
dbms: additional performance improvement [#METR-2944].
2013-11-03 23:54:12 +00:00
Alexey Milovidov
18a8aa74f8
dbms: merged convertToBlock and finalize aggregation steps whenever possible [#METR-2944].
2013-11-03 23:35:18 +00:00
Alexey Milovidov
c039460ba7
dbms: allowed to activate SplittingAggregator by setting [#METR-2944].
2013-11-03 22:25:17 +00:00
Alexey Milovidov
9437657b7b
dbms: modified Limits, Quotas, Progress, ProcessList [#METR-8459], [#METR-8894].
2013-11-03 05:32:42 +00:00
Alexey Milovidov
b859718d26
dbms: calculating quota for each user separately [#METR-8459].
2013-11-03 00:24:46 +00:00
Alexey Milovidov
4fd9671aba
dbms: SplittingAggregator: translating exceptions from threads [#METR-2944].
2013-11-02 23:42:52 +00:00
Alexey Milovidov
a3caaef38a
dbms: better exception handling [#METR-2944].
2013-11-02 23:42:10 +00:00
Alexey Milovidov
a907109ff8
Field: removed useless hash function [#METR-2807].
2013-11-02 22:20:58 +00:00
Alexey Milovidov
790f224e56
dbms: probably fixed error (infinite loop in WriteBufferFromPocoSocket::nextImpl) [#METR-2944].
2013-11-02 05:39:07 +00:00
Alexey Milovidov
bfd9038acc
dbms: better [#METR-2944].
2013-11-02 03:56:17 +00:00
Alexey Milovidov
8fd01c8d7d
dbms: better comparison of floating point numbers with NaNs [#METR-9053].
2013-11-01 20:10:43 +00:00
Alexey Milovidov
6a12f5a43a
dbms: fixed error [#METR-9119].
2013-10-31 19:24:22 +00:00
Alexey Milovidov
a10905163b
dbms: fixed error [#METR-8975].
2013-10-31 18:38:34 +00:00
Sergey Fedorov
07bbedc07d
dbms: added support for simple VIEW engine. [#METR-9076]
2013-10-30 13:52:02 +00:00
Michael Kolupaev
bcd3a116be
ClickHouse: fixed FINAL behavior with deleted visits; added test for it. [#METR-9072]
2013-10-30 09:15:41 +00:00
Michael Kolupaev
732302c263
Merge
2013-10-30 08:50:58 +00:00
Sergey Fedorov
ff61e2cbc8
dbms: support for argMinIf and argMaxIf functions [#METR-9001]
2013-10-28 16:13:19 +00:00
Sergey Fedorov
f7a6316abd
dbms: Moved addingDefault logic into the Block class [#METR-9001]
2013-10-28 16:09:42 +00:00
Sergey Fedorov
053eb9adcb
dbms: Rename file, Code Style fixes, Rename class [#METR-9001]
2013-10-28 14:15:56 +00:00
Alexey Milovidov
3c1ec5bc34
dbms: allowed to return tuples as query result [#METR-8970].
2013-10-26 19:00:13 +00:00
Alexey Milovidov
c145c316de
dbms: better exception message [#METR-2944].
2013-10-26 03:53:51 +00:00
Alexey Milovidov
a38317e1f5
dbms: better exception messages [#METR-8224].
2013-10-26 03:20:51 +00:00
Sergey Fedorov
8fd6963212
My latest changes.
...
REVIEW:new
2013-10-25 14:56:47 +00:00
Michael Kolupaev
99041b3173
Merge
2013-10-25 12:15:12 +00:00
Michael Kolupaev
7ea3db5282
ClickHouse: arrayEnumerateUniq 5.5 times faster. [#METR-8821]
2013-10-24 12:53:24 +00:00
Alexey Milovidov
124e7c4557
dbms: fixed failover [#METR-9048].
2013-10-23 19:35:43 +00:00
Alexey Milovidov
ac83b94b0b
Merge
2013-10-22 19:11:03 +00:00
Alexey Milovidov
ee6ca65243
Merge
2013-10-22 18:39:14 +00:00
Alexey Milovidov
156bfdc094
dbms: eased use of SipHash [#METR-9019].
2013-10-21 16:32:49 +00:00
Alexey Milovidov
b26038210d
dbms: added sipHash64 function [#CONV-9017].
2013-10-21 14:35:12 +00:00
Alexey Milovidov
0fd53112c5
dbms: Dictionaries: allowed to load partially [#CONV-9016].
2013-10-21 13:56:11 +00:00
Pavel Kartavyy
c33ab0bb73
dbms: make "TABLE" to be an optional parameter for DESC, SHOW CREATE, EXISTS[#CONV-8911]
2013-10-21 13:52:44 +00:00
Michael Kolupaev
0703a2d85b
ClickHouse: added function arrayEnumerate. [#CONV-8821]
2013-10-21 11:36:44 +00:00
Michael Kolupaev
491480e79c
ClickHouse: fixed and claened up ARRAY JOIN a little. [#CONV-8821]
2013-10-21 11:33:25 +00:00
Alexey Milovidov
9f1c0a69bf
dbms: addition to prev. revision [#CONV-8224].
2013-10-20 07:02:23 +00:00
Alexey Milovidov
67f4542bd0
dbms: more verbose messages on network errors [#CONV-8224].
2013-10-20 06:04:51 +00:00
Alexey Milovidov
9a4d300a10
dbms: aggregate function quantileTiming: added (deterministic) randomization [#CONV-2944].
2013-10-20 03:57:28 +00:00
Alexey Milovidov
6c1b8aadd0
dbms: removed TODO [#CONV-2944].
2013-10-18 19:47:20 +00:00
Michael Kolupaev
fd5e70e412
ClickHouse: removed unused part_id from IAST. [#CONV-2807]
2013-10-18 08:06:47 +00:00
Michael Kolupaev
1cab77c753
Added support for multiple expressions in ARRAY JOIN section. There are known issues. Sorry for automatic indentation changes. [#CONV-8821]
2013-10-17 13:32:32 +00:00
Alexey Milovidov
5ca146730b
DB/IO: added support for aligned buffer [#CONV-8766].
2013-10-13 06:53:11 +00:00
Alexey Milovidov
84d65ee06b
dbms: whitespaces [#CONV-2944].
2013-10-13 00:38:53 +00:00
Michael Kolupaev
61213cd547
ClickHouse: Added function arrayEnumerateUniq. [#CONV-8821]
2013-10-11 11:43:50 +00:00
Michael Kolupaev
6a63256dc9
ClickHouse: throwing exception on nested nested types. [#CONV-2807]
2013-10-11 07:41:13 +00:00
Alexey Milovidov
2b1cacd0f0
dbms: tiny improvement [#CONV-2944].
2013-10-10 23:06:51 +00:00
Alexey Milovidov
c70fca16aa
dbms: DB/IO: added readVectorBinary, writeVectorBinary [#CONV-8848].
2013-10-10 20:33:08 +00:00
Michael Kolupaev
1f9cd062e9
ClickHouse: better type of result of minus() and negate(). [#CONV-8890]
2013-10-08 12:48:55 +00:00
Michael Kolupaev
dc3d84ac93
ClickHouse: type upscaling for if(). [#CONV-8764]
2013-10-08 12:30:43 +00:00
Alexey Milovidov
f148f00ee2
███████████: removed ClickURLHash; saving all clicks as nested data [#CONV-8761].
2013-10-04 20:15:42 +00:00
Alexey Milovidov
8b3c4548f7
dbms: fixed 'extract' function [#CONV-8865].
2013-10-03 19:23:08 +00:00
Michael Kolupaev
62244d9abf
Merge
2013-10-03 13:06:27 +00:00
Michael Kolupaev
d195799419
Merge
2013-10-03 12:46:17 +00:00
Michael Kolupaev
6879f3ea96
Merge
2013-10-03 12:18:56 +00:00
Alexey Milovidov
da62ed8c6f
Merge
2013-10-01 20:38:01 +00:00
Alexey Milovidov
2851e0abcc
Merge
2013-10-01 18:09:31 +00:00
Alexey Milovidov
c084250925
Merge
2013-09-30 19:54:25 +00:00
Alexey Milovidov
87763e0c95
dbms: AggregateFunctionQuantileTiming: small object optimization [#CONV-8850].
2013-09-30 04:51:57 +00:00
Alexey Milovidov
0629fb4fdd
Merge
2013-09-30 01:29:19 +00:00
Alexey Milovidov
7729bab279
dbms: removed sync [#CONV-8822].
2013-09-27 17:26:35 +00:00
Alexey Milovidov
7dca2f21b9
Merge
2013-09-26 19:16:43 +00:00
Alexey Milovidov
d77c0747ee
dbms: style [#CONV-2807].
2013-09-26 17:42:18 +00:00
Alexey Milovidov
d7080d8d7a
dbms: quantiles returning NaN for empty state [#CONV-8799].
2013-09-24 19:56:33 +00:00
Pavel Kartavyy
1bf0490191
Merge
2013-09-23 12:01:19 +00:00
Alexey Milovidov
5c1c982e76
dbms: client: removed useless message [#CONV-2944].
2013-09-19 00:17:52 +00:00
Alexey Milovidov
c8193c1618
dbms: fixed 'rows_before_limit_at_least' [#CONV-2944].
2013-09-19 00:08:49 +00:00
Alexey Milovidov
dac9ecee21
dbms: fixed error with functions arrayExists, arrayAll [#CONV-8757].
2013-09-18 23:11:16 +00:00
Alexey Milovidov
aa434e6830
dbms: fixed error with higher-order functions [#CONV-8757].
2013-09-18 22:40:09 +00:00
Alexey Milovidov
2d48435ecd
dbms: fixed error with high order functions and constants [#CONV-8757].
2013-09-18 20:06:49 +00:00
Alexey Milovidov
dd16fd5328
dbms: splitting aggregator: added comment [#CONV-2944].
2013-09-16 05:55:13 +00:00
Alexey Milovidov
56d95e4268
dbms: optimized ORDER BY with LIMIT; rows_before_limit_at_least is temporarily broken [#CONV-2944].
2013-09-16 05:44:47 +00:00
Alexey Milovidov
1aa789831b
dbms: Aggregator: fixed error [#CONV-2944].
2013-09-16 05:33:49 +00:00
Alexey Milovidov
5022d05c74
dbms: removed useless method [#CONV-2944].
2013-09-16 05:18:19 +00:00
Alexey Milovidov
a1f0077c3d
dbms: added missing file [#CONV-2944].
2013-09-15 10:53:53 +00:00
Alexey Milovidov
40464a0123
dbms: added new aggregation method [#CONV-2944].
2013-09-15 10:53:10 +00:00
Alexey Milovidov
73c3fa0f8a
dbms: probably improved aggregation [#CONV-2944].
2013-09-15 07:17:26 +00:00
Alexey Milovidov
c611212c3f
dbms: preparation [#CONV-2944].
2013-09-15 05:51:43 +00:00
Alexey Milovidov
808cec6d53
Merge
2013-09-15 03:44:32 +00:00
Alexey Milovidov
717a3fc591
dbms: fixed MergingSortedBlockInputStreams when one of stream is empty [#CONV-2944].
2013-09-15 03:14:29 +00:00
Alexey Milovidov
8fc69c2a8e
dbms: more fsync [#CONV-2944].
2013-09-15 01:40:29 +00:00
Alexey Milovidov
1acad2acb1
Merge
2013-09-15 01:10:16 +00:00
Alexey Milovidov
9a515d7082
dbms: AggregateFunctionIf: improvement [#CONV-8713].
2013-09-14 22:56:11 +00:00
Alexey Milovidov
4469790a4b
dbms: fixed working of AggregateFunctionIf with min, max, any, anyLast [#CONV-8713].
2013-09-14 22:18:56 +00:00
Alexey Milovidov
5fa9b57648
dbms: aggregate function quantileIf: returning default value on empty [#CONV-8713].
2013-09-14 22:11:06 +00:00
Alexey Milovidov
2b7c70570f
dbms: fixed error [#CONV-2944].
2013-09-14 21:59:52 +00:00
Alexey Milovidov
b32f43e3b9
dbms: lowered memory usage for queries with large aggregation results [#CONV-2944].
2013-09-14 08:11:56 +00:00
Alexey Milovidov
40f602ff92
dbms: improvement [#CONV-2944].
2013-09-14 07:43:45 +00:00
Alexey Milovidov
fd4f4a9a86
dbms: fixed error [#CONV-2944].
2013-09-14 05:14:22 +00:00
Alexey Milovidov
2be066285a
dbms: lowered memory usage for merge operations [#CONV-8705].
2013-09-13 23:28:40 +00:00
Alexey Milovidov
ca2da37d2e
dbms: don't write too many messages about inconsistent data into log [#CONV-8729].
2013-09-13 22:59:02 +00:00
Alexey Milovidov
6def419e85
dbms: development [#CONV-2944].
2013-09-13 20:33:09 +00:00
Alexey Milovidov
ced5216c45
dbms: added AggregateFunctionIf adaptor [#CONV-8713].
2013-09-11 00:55:31 +00:00
Pavel Kartavyy
4ff415e336
extractAll: Fixed bug [CONV-8285]
2013-09-10 16:52:40 +00:00
Alexey Milovidov
861ae81325
dbms: updated config and defaults [#CONV-8661].
2013-09-08 10:16:55 +00:00
Alexey Milovidov
21e8cd1fb9
dbms: set 'asynchronous' as false by default [#CONV-8661].
2013-09-08 08:29:02 +00:00
Alexey Milovidov
706aad9e63
dbms: added expression calculation on totals [#CONV-8366].
2013-09-08 08:27:06 +00:00
Alexey Milovidov
97b923fd7b
dbms: uncompressed cache: better [#CONV-8661].
2013-09-08 07:30:52 +00:00
Alexey Milovidov
efae271ae0
dbms: added uncompressed cache (experimental) [#CONV-8661].
2013-09-08 05:53:10 +00:00
Alexey Milovidov
1f06b7a95c
dbms: less copying when reading fixed columns in large blocks [#CONV-2944].
2013-09-08 00:00:25 +00:00
Alexey Milovidov
23be968064
dbms: added waiting when too much queries [#CONV-8692].
2013-09-07 04:54:59 +00:00
Alexey Milovidov
055eda8f81
dbms: reverted prev. modification [#CONV-2944].
2013-09-07 03:56:27 +00:00
Alexey Milovidov
e8d5603a49
dbms: improved performance: less copying when reading fixed-size columns [#CONV-2944].
2013-09-07 03:28:20 +00:00
Alexey Milovidov
c69f353a17
dbms: added calculation of min/max [#CONV-8691].
2013-09-07 02:03:13 +00:00
Alexey Milovidov
f36133e35d
dbms: min/max: development [#CONV-8691].
2013-09-06 20:28:22 +00:00
Alexey Milovidov
b872dadb52
dbms: fixed 'rows_before_limit_at_least' in case of distributed query with single server [#CONV-7549].
2013-09-06 19:33:07 +00:00
Alexey Milovidov
c7d8723a54
dbms: sending totals as separate packet [#CONV-8366].
2013-09-05 20:22:43 +00:00
Alexey Milovidov
638799eee3
dbms: ConnectionPoolWithFailover: fixed error [#CONV-8661].
2013-09-04 01:11:49 +00:00
Alexey Milovidov
7d011561e0
dbms: addition to prev. revision [#CONV-8665].
2013-09-03 23:58:05 +00:00
Alexey Milovidov
d055d54380
dbms: added SHOW PROCESSLIST query and 'max_concurrent_queries' setting [#CONV-8665] [#CONV-8664].
2013-09-03 20:21:28 +00:00
Alexey Milovidov
8c4ed5a651
dbms: fixed JSON [#CONV-7445].
2013-09-02 15:32:17 +00:00
Alexey Milovidov
151506d742
dbms: added totals as separate data in JSON formats [#CONV-8366].
2013-09-01 04:55:41 +00:00
Alexey Milovidov
81d9d1deaa
dbms: don't create useless threads for small queries [#CONV-2944].
2013-08-31 04:07:11 +00:00
Alexey Milovidov
05851727d5
dbms: improved performance of string search [#CONV-8419].
2013-08-29 03:30:47 +00:00
Alexey Milovidov
051249122a
dbms: Quota: development [#CONV-8459].
2013-08-28 21:36:16 +00:00
Alexey Milovidov
c10d3a4bb9
dbms: Quota: development [#CONV-8459].
2013-08-28 20:47:22 +00:00
Alexey Milovidov
7a7209a078
Quota: addition to prev. revision [#CONV-8459].
2013-08-28 17:50:31 +00:00
Alexey Milovidov
9347a18cb0
dbms: Quota: development [#CONV-8459].
2013-08-28 17:23:00 +00:00
Alexey Milovidov
08e6150fe9
SipHash: more handy [#CONV-2944].
2013-08-28 17:13:43 +00:00
Alexey Milovidov
3f72d27c61
dbms: better diagnostics [#CONV-8595].
2013-08-27 20:15:22 +00:00
Alexey Milovidov
55bc868f19
dbms: tiny modification [#CONV-2944].
2013-08-24 08:26:25 +00:00
Alexey Milovidov
482bc803fd
Merge
2013-08-24 08:01:19 +00:00
Vyacheslav Alipov
75a359bc7c
improved code locality [#CONV-8544]
2013-08-22 11:06:58 +00:00
Vyacheslav Alipov
b25c3408ec
changed GlobalStats to use HLL12 [#CONV-8544]
2013-08-22 10:58:52 +00:00
Vyacheslav Alipov
e68f0a2f69
added uniq_hll12 to ███████████, increased accuracy of HLL12 [#CONV-8544]
2013-08-22 09:43:19 +00:00
Vyacheslav Alipov
602bea808d
added uniq functions with HLL support [#CONV-8544]
2013-08-21 13:26:42 +00:00
Pavel Kartavyy
18d1ee2eb2
Fixed incorrect working with nested tables in ALTER [#conv-8383]
2013-08-14 16:52:40 +00:00
Pavel Kartavyy
d6c09e7636
Fixed check if column, which are going to be dropped, is a key column[#CONV-8383]
2013-08-13 08:54:28 +00:00
Pavel Kartavyy
436220be30
Added comment about ASTAlterQuery parametrs[#CONV-8383]
2013-08-13 08:27:37 +00:00
Alexey Milovidov
710eec86e5
dbms: destroying global mutex after tables [#CONV-8173].
2013-08-12 19:31:58 +00:00
Alexey Milovidov
4001d37bb7
dbms: quotas: development [#CONV-8459].
2013-08-12 00:36:18 +00:00
Alexey Milovidov
be67c3e3d6
Removed useless namespace [#CONV-2807].
2013-08-11 03:40:14 +00:00
Alexey Milovidov
3e0046011a
dbms: fixed error with users [#CONV-8458].
2013-08-11 02:00:13 +00:00
Alexey Milovidov
0698d868c5
dbms: development of users [#CONV-8458].
2013-08-11 00:48:28 +00:00
Alexey Milovidov
c4427e29fa
dbms: addition to prev. revision [#CONV-8458].
2013-08-11 00:09:03 +00:00
Alexey Milovidov
ad3b6539c4
dbms: fixed error, added test [#CONV-8458].
2013-08-11 00:07:49 +00:00
Alexey Milovidov
f3f6268ee5
dbms: users: development [#CONV-8458].
2013-08-10 09:04:45 +00:00
Alexey Milovidov
f06d0148ba
dbms: development of users and ACLs [#CONV-8458].
2013-08-10 07:46:45 +00:00
Alexey Milovidov
c2fc882312
dbms: tiny improvements [#CONV-8383].
2013-08-09 00:12:59 +00:00
Alexey Milovidov
94f02c8efb
Improved comment [#CONV-2807].
2013-08-08 23:49:59 +00:00
Vyacheslav Alipov
b0e6c69c96
fixed merge of nested arrays (multiple write of offsets issue) [#CONV-7967]
2013-08-08 13:12:28 +00:00
Pavel Kartavyy
4c07a0bccb
Merge
2013-08-08 09:50:15 +00:00
Vyacheslav Alipov
7b01659e44
fixed merge of nested arrays (escaped filename issue) [#CONV-7967]
2013-08-07 19:45:47 +00:00
Pavel Kartavyy
a5c799d7a3
Merge
2013-08-07 13:07:42 +00:00
Pavel Kartavyy
82af5f8e41
Changed order of arguments in extractAll(s, re).[#CONV-8285]
2013-08-07 11:25:02 +00:00
Vyacheslav Alipov
2d88cfa642
Merge
2013-08-05 17:05:30 +00:00
Pavel Kartavyy
8d857bd434
Fixed coding style. Changed extractAll behaviour [#CONV-8285]
...
Now extractAll works without overcrossing.
New version:
#extractAll('abba', 'abbabba)
>['abba']
Old one:
#extractAll('abba', 'abbabba)
>['abba', 'abba']
2013-08-05 08:40:56 +00:00