Commit Graph

9340 Commits

Author SHA1 Message Date
artpaul
c74b8e2366 add comments; count exact number of inserted rows [#METR-23881] 2016-12-30 18:40:12 +05:00
artpaul
273e58f8d7 add tests [#METR-23881] 2016-12-30 17:57:09 +05:00
artpaul
333d47ee2e don't allow partial sort in case if LIMIT BY is present [#METR-23881] 2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12 fix calculation of condition for skipping all block [#METR-23881] 2016-12-30 16:15:17 +05:00
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
96d441f137 ignore qt-creator file 2016-12-28 20:06:20 +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
dd0b5a1b82 Added test [#METR-23945]. 2016-12-25 07:50:06 +03: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
alexey-milovidov
00b63d897b Merge pull request #286 from proller/freebsd
[WIP] Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 05:24:10 +04:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
Alexey Milovidov
2552e7de4b Added test [#METR-22799]. 2016-12-24 00:35:22 +03: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
1a58cd3087 Merge pull request #289 from proller/dict-test
Add initial test for executable and http dictonaries [METR-23466]
2016-12-23 23:26:15 +04:00
proller
22371fdead Add initial test for executable and http dictonaries [METR-23466] 2016-12-23 22:20:07 +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
200f84c046 add test for DISTINCT with nullable values [#METR-23882] 2016-12-22 21:39:00 +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
3432f3c013 Added draft scripts for performance testing of vertical merge. [#METR-23783] 2016-12-22 16:19:02 +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
alexey-milovidov
2b20cbd64f Merge pull request #285 from proller/env-bash
fix 'env bash -e'
2016-12-22 00:46:46 +04:00
proller
999b181aa5 fix 'env bash -e' 2016-12-21 23:43:35 +03:00
alexey-milovidov
1c849f14af Merge pull request #284 from proller/env-bash
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts …
2016-12-22 00:09:55 +04: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
26f5640c2f Merge pull request #282 from proller/patch-1
silent "variable not used" warning
2016-12-21 22:19:36 +04:00
Alexey Milovidov
7222afe5eb StorageBuffer: fixed exception safety [#METR-23909]. 2016-12-21 20:10:32 +03:00
proller
d9e81f858d silent "variable not used" warning 2016-12-21 15:49:38 +03:00