Commit Graph

4678 Commits

Author SHA1 Message Date
Alexey Milovidov
0f7d0c3969 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 12:26:49 +03:00
Alexey Milovidov
51df4e19e2 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-05 10:25:23 +03:00
Alexey Milovidov
96e1ed3412 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 21:16:18 +03:00
Alexey Milovidov
f553cb5197 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 21:13:41 +03:00
Alexey Milovidov
60623e7ca5 Preparations [#METR-20307]. 2017-01-04 20:34:45 +03:00
Alexey Milovidov
ed107f675a Preparations [#METR-20307]. 2017-01-04 20:25:07 +03:00
Alexey Milovidov
779d549d3d Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 18:05:31 +03:00
Alexey Milovidov
a1ebd7f103 Added support for qualified asterisk in parser [#METR-20307]. 2017-01-04 14:23:27 +03:00
Alexey Milovidov
25dd3affb3 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 12:05:23 +03:00
Alexey Milovidov
9acd77d985 Miscellaneous [#METR-2944]. 2017-01-04 12:04:01 +03:00
Alexey Milovidov
a4d9d766b6 Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 09:52:02 +03:00
Alexey Milovidov
3af6d65c2b Miscellaneous [#METR-2944]. 2017-01-04 09:51:01 +03:00
Alexey Milovidov
8074f2de59 Implemented TODO [#METR-19266]. 2017-01-04 07:30:18 +03:00
Alexey Milovidov
f7fa5b73b9 Changed names of files with NULL-related data to be more consistent [#METR-19266]. 2017-01-04 07:15:38 +03:00
Alexey Milovidov
625b6c6050 Function "sleep": do not sleep during query analyze (continued) [#METR-21574]. 2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23 Function "sleep": do not sleep during query analyze [#METR-21574]. 2017-01-04 06:37:59 +03:00
Alexey Milovidov
77a0159ff8 Miscellaneous [#METR-2944]. 2017-01-04 06:35:05 +03:00
Alexey Milovidov
95e9ef2fc4 Reworked InJoinSubqueriesPreprocessor [#METR-2944]. 2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889 Get out garbage from AST [#METR-2944]. 2017-01-03 10:37:29 +03:00
Alexey Milovidov
604bd6c5a3 Less const_casts [#METR-2944]. 2017-01-03 04:42:17 +03:00
Alexey Milovidov
9dc44c1a3a Renamed methods for bulk binary serialization (continued) [#METR-2944]. 2017-01-03 02:31:26 +03:00
Alexey Milovidov
1f3aeb066a Renamed methods for bulk binary serialization (continued) [#METR-2944]. 2017-01-03 02:08:09 +03:00
Alexey Milovidov
701ca28c85 Renamed methods for bulk binary serialization [#METR-2944]. 2017-01-03 01:47:28 +03:00
Alexey Milovidov
3fbb597694 Addition to prev. revision [#METR-2944]. 2017-01-02 23:52:30 +03:00
Alexey Milovidov
5460a13d58 Addition to prev. revision [#METR-2944]. 2017-01-02 23:47:59 +03:00
Alexey Milovidov
ca37f28b5f Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944]. 2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34 Renamed method (less confusion) [#METR-2944]. 2017-01-02 23:12:12 +03:00
Alexey Milovidov
de845f7801 Fixed style [#METR-23933]. 2016-12-31 05:05:37 +03:00
alexey-milovidov
376db5785b Merge pull request #297 from proller/METR-23933
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87 Merge branch 'master' into issue-111 2016-12-31 05:53:52 +04:00
Vitaliy Lyudvichenko
694b0fad97 Reverted system.events changes. Added docs for system.metrics. [#METR-239111] 2016-12-31 03:06:23 +03:00
Vitaliy Lyudvichenko
07d720565c Added profile events for INSERTs. [#METR-23930]
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e Added memory tracking events and columns for merges. [#METR-23911] 2016-12-31 02:39:53 +03:00
proller
c2a6681522 Add header Keep-Alive: timeout=.. to http server responce [#METR-23933] 2016-12-30 23:52:56 +03:00
Vitaliy Lyudvichenko
35485c03d9 Fixed race condition during dictionaries' config file update. [#METR-22224] 2016-12-30 21:30:29 +03:00
artpaul
c74b8e2366 add comments; count exact number of inserted rows [#METR-23881] 2016-12-30 18:40:12 +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
Alexey Milovidov
1c9d06638e Removed function that was in a wrong place [#METR-2944]. 2016-12-30 09:48:11 +03:00
Alexey Milovidov
81a08bcd87 Addition to prev. revision [#METR-19266]. 2016-12-30 08:55:23 +03:00
Alexey Milovidov
3f9fc77e22 Fixed most cases of misleading messages "Could not print diagnostic info because two last rows aren't in buffer (rare case)" [#METR-20000]. 2016-12-30 08:40:49 +03:00
Alexey Milovidov
3336a66161 Addition to prev. revision [#METR-19266]. 2016-12-30 08:31:52 +03:00
Alexey Milovidov
80937d8226 Addition to prev. revision [#METR-19266]. 2016-12-30 08:31:14 +03:00
Alexey Milovidov
1dd26b4487 Addition to prev. revision [#METR-19266]. 2016-12-30 08:22:45 +03:00
Alexey Milovidov
baf29f5c48 NULLs support: fixed totally wrong code [#METR-19266]. 2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a Great simplification [#METR-2944]. 2016-12-30 04:53:21 +03:00
Alexey Milovidov
e3849124f1 Fixed wrong code [#METR-19266]. 2016-12-30 03:31:38 +03:00
Alexey Milovidov
ee2c5f0d65 Fixed error in format PrettySpace [#METR-2944]. 2016-12-30 03:24:56 +03:00
Alexey Milovidov
a4a77d8bc0 Function visibleWidth: fixed error [#METR-2944]. 2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840 Addition to prev. revision [#METR-2944]. 2016-12-30 03:19:05 +03:00
Alexey Milovidov
b4e18e2222 Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944]. 2016-12-30 03:15:50 +03:00
Alexey Milovidov
f71c49ff6f Addition to prev. revision [#METR-22189]. 2016-12-30 02:12:56 +03:00
Alexey Milovidov
77aa5d17c8 Addition to prev. revision [#METR-22189]. 2016-12-30 02:04:56 +03:00
Alexey Milovidov
ee80b16488 Fixed error with creation of GraphiteMergeTree table [#METR-22189]. 2016-12-30 01:56:37 +03:00
Alexey Milovidov
5dad134760 Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978]. 2016-12-30 01:06:31 +03:00
Alexey Milovidov
8ff20e1ecc Fixed test [#METR-2944]. 2016-12-29 23:41:49 +03:00
Alexey Milovidov
1a64417044 Added setting "output_format_pretty_max_rows" [#METR-23999]. 2016-12-29 23:15:18 +03:00
Alexey Milovidov
18f0e83b51 Fixed parsing of NULL literal [#METR-19266]. 2016-12-29 22:52:15 +03:00
Alexey Milovidov
3f678a3042 Functions: little better [#METR-2944]. 2016-12-29 22:38:10 +03: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
Alexey Milovidov
cbaf9d79eb Added function 'toStartOfDay'; fixed tiny error [#METR-23983]. 2016-12-28 15:10:29 +03:00
proller
ca9c4bbdbb Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch 2016-12-28 03:47:46 +03:00
Alexey Milovidov
cf4f8d6ce4 Modified comment [#METR-2944]. 2016-12-27 18:50:31 +03: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