Commit Graph

4566 Commits

Author SHA1 Message Date
artpaul
1f49735581 disable some optimization related to LIMIT clause if LIMIT BY clause is present [#METR-23881] 2016-12-29 17:53:35 +05:00
artpaul
2b38babb89 organize code [#METR-23881] 2016-12-29 16:55:10 +05:00
artpaul
405382b092 getAliasOrColumnName instead of getColumnName [#METR-23881] 2016-12-29 15:42:08 +05:00
artpaul
3b88b1ff14 clone and format limit_by asts [#METR-23881] 2016-12-29 13:22:19 +05:00
artpaul
3f064d9ff7 first dirty implementation of LIMIT BY clause [#METR-23881] 2016-12-28 20:12:54 +05:00
artpaul
938663aa7a parse LIMIT BY [#METR-23881] 2016-12-27 19:08:33 +05:00
artpaul
9bfd80b412 style of constructor init list 2016-12-27 13:33:32 +05:00
Alexey Milovidov
c195b0212b Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945]. 2016-12-25 07:39:22 +03:00
Alexey Milovidov
72888b48ef Printing user name in exception messages about exceeded quota [#METR-19622]. 2016-12-25 07:00:33 +03:00
Alexey Milovidov
3e15e81fab Fixed overflow in quota [#METR-23944]. 2016-12-24 05:42:22 +03:00
Alexey Milovidov
901c6a8d50 Addition to prev. revision [#METR-22799]. 2016-12-24 04:30:05 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
Alexey Milovidov
47756eda45 Fixed error with --external command line arguments for clickhouse-client [#METR-22799]. 2016-12-24 00:34:49 +03:00
alexey-milovidov
d1383c5f62 Merge pull request #288 from yandex/issue-199
Issue #199: speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
2467a010c9 translate comments 2016-12-23 13:01:35 +05:00
Alexey Milovidov
3d5005016b Applied a patch, sent by aSealBack [#METR-2944]. 2016-12-23 04:24:19 +03:00
artpaul
c904d31882 translate comments 2016-12-23 03:19:57 +05:00
artpaul
964afabf6a check limit hint only at beginning of block processing [#METR-23882] 2016-12-23 01:50:12 +05:00
artpaul
c5eb898416 organize code [#METR-23882] 2016-12-22 22:00:23 +05:00
artpaul
5d1cfc0517 use swtich instead of if ... else, so we will get error about unhandled enum on the compile time [#METR-2944] 2016-12-22 21:35:54 +05:00
alexey-milovidov
690ab98b91 Merge pull request #287 from ludv1x/METR-23783
[WIP] Vertical merge optimization, fix and perf tests.
2016-12-22 17:40:01 +04:00
Alexey Milovidov
dc3a25dd63 Addition to prev. revision [#METR-23920]. 2016-12-22 16:37:47 +03:00
Alexey Milovidov
433673871c Fixed error with dynamic builds [#METR-23920]. 2016-12-22 16:27:20 +03:00
Vitaliy Lyudvichenko
ba2b32b0ad Added vertical_merge_algorithm_min_columns_to_activate option. [#METR-23783] 2016-12-22 16:19:03 +03:00
Vitaliy Lyudvichenko
e2bd364844 Added whole block optimization. [#METR-23783] 2016-12-22 16:19:02 +03:00
artpaul
fe9c28ad49 distinct filtration was rewrited with SetVariants [#METR-23882] 2016-12-22 13:51:34 +05:00
Alexey Milovidov
536f88ea55 Adjusted coefficients [#METR-23916]. 2016-12-22 05:04:32 +03:00
Alexey Milovidov
e5440d0f67 Fixed desinformation [#METR-23305]. 2016-12-22 04:37:05 +03:00
Alexey Milovidov
7ebbf72ca6 Removed unused variable [#METR-23305]. 2016-12-22 04:27:41 +03:00
Alexey Milovidov
168472fc9f Fixed typo [#METR-23305]. 2016-12-22 04:14:19 +03:00
Alexey Milovidov
c47406c42d StorageBuffer: addition to prev. modification [#METR-23909]. 2016-12-22 03:13:59 +03:00
proller
d270053c3c Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd. 2016-12-21 23:04:27 +03:00
Alexey Milovidov
7222afe5eb StorageBuffer: fixed exception safety [#METR-23909]. 2016-12-21 20:10:32 +03:00
artpaul
b160e2a1cf SetVariants was extracted into separated file [#METR-23882] 2016-12-21 17:42:54 +05:00
Alexey Milovidov
02af261c07 Cleanups [#METR-2944]. 2016-12-21 03:18:11 +03:00
Vitaliy Lyudvichenko
6ee0cc795a Prevent "variable tracking size limit exceeded" compiler notice. [#METR-20000] 2016-12-21 02:05:43 +03:00
alexey-milovidov
d277d55763 Merge pull request #280 from aSealBack/BlockStructureDiff
Added new diff for block structures.
2016-12-21 02:59:41 +04:00
Alexey Milovidov
df54b52db0 Revert "Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]."
This reverts commit b6fb08c77f.
2016-12-21 01:22:32 +03:00
Alexander Makarov
15118dec81 Added new diff for block structures. 2016-12-21 01:22:23 +03:00
Alexey Milovidov
b6fb08c77f Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]. 2016-12-20 23:58:54 +03:00
Alexey Milovidov
5e5c3b5661 Merge branch 'master' of github.com:yandex/ClickHouse 2016-12-20 23:49:05 +03:00
Alexey Milovidov
5fe11c0697 Fixed MongoDBDictionarySource [#METR-2944]. 2016-12-20 23:48:40 +03:00
alexey-milovidov
111aaae0d3 Merge pull request #273 from ludv1x/METR-23765
clickhouse-local enhancements
2016-12-21 00:11:00 +04:00
Vitaliy Lyudvichenko
836f641f5f Fix rare race condition which occurrs during update of config files. [#METRIKASUPP-7653] 2016-12-20 22:03:12 +03:00
Vitaliy Lyudvichenko
6fe581c172 Added --stacktrace option to clickhouse-local. [#METR-23765]
Added support of path config variable and ability to load clickhouse-server data. [#METR-20000]
Default database of clickhouse-local is changed to "_local" to avoid collisions with clickhouse-server.

Small fixes and enhancements of command line options (setting and limits). [#METR-23101]
2016-12-20 18:01:05 +03:00
Alexey Milovidov
a3e22e10d9 MongoDBDictionarySource: fixed error [#METR-2944]. 2016-12-20 05:31:25 +03:00
Alexey Milovidov
54587fec1b Tracking memory used in merges [#METR-23888]. 2016-12-20 05:29:35 +03:00
Alexey Milovidov
47b75e6c1e MongoDBDictionarySource: preparation [#METR-2944]. 2016-12-20 04:20:59 +03:00
Alexey Milovidov
442ff1d3b8 StorageBuffer: simplification; added metrics [#METR-23888]. 2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
8398baea85 Fixed getFlagsPath() for clickhouse-local use case. [#METR-23761] 2016-12-19 17:15:45 +03:00