Commit Graph

261 Commits

Author SHA1 Message Date
Alexey Milovidov
9a9036f217 dbms: added FREEZE PARTITION functionality [#METR-13441]. 2014-11-11 07:11:07 +03:00
Alexey Milovidov
731fcf6b01 dbms: fixed error in move to PREWHERE [#METR-13020]. 2014-10-24 02:22:34 +04:00
Alexey Milovidov
07ba420b85 dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153]. 2014-10-15 23:59:12 +04:00
Alexey Milovidov
c1601502bd dbms: FETCH PARTITION: parsing and dispatching [#METR-13153]. 2014-10-10 00:28:33 +04:00
Andrey Mironov
f675bed75b dbms: add partial validation of ALTER queries. [#METR-12739] 2014-10-07 13:09:59 +04:00
Andrey Mironov
468b7af64e Merge 2014-10-03 14:19:34 +04:00
Andrey Mironov
5083090f8d Merge 2014-10-01 20:39:32 +04:00
Andrey Mironov
34dba980c7 show defaulted columns info in DESC TABLE query output. [#METR-12739] 2014-09-30 07:48:40 +04:00
Andrey Mironov
8052020218 add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739] 2014-09-30 07:08:47 +04:00
Andrey Mironov
529674ce6a detect cycles, deduce and check types. [#METR-12739] 2014-09-29 17:36:30 +04:00
Andrey Mironov
cee035439e add makeASTFunction factory-function. #[NETR-12739] 2014-09-25 19:00:12 +04:00
Andrey Mironov
142d0a49c0 add ASTColumnDeclaration, corresponding formatAST, modify Interpreters. [#METR-12739] 2014-09-25 17:40:26 +04:00
Andrey Mironov
58dd0cbe50 extend parser for default column declaration support. [#METR-12739] 2014-09-24 18:44:57 +04:00
Andrey Mironov
beca178f2f dbms: support WITH TOTALS without GROUP BY 2014-08-08 10:10:12 +04:00
Michael Kolupaev
9bec7e4a28 Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
7643a49b8e Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
e76a00fbd2 dbms: parsing and formatting ALTER TABLE DROP PARTITION. Not interpreting it yet. [#METR-12037] 2014-08-07 16:26:04 +04:00
Pavel Kartavyy
7f7d512f03 dbms: added check query [#METR-11709] 2014-08-05 14:53:27 +04:00
Michael Kolupaev
ac7ee44128 Merge 2014-07-10 14:16:50 +04:00
Alexey Milovidov
8643f02ac0 dbms: reworked GLOBAL subqueries (probably doesn't work) [#METR-11370]. 2014-07-06 23:48:39 +04:00
Alexey Milovidov
e7722f50b1 dbms: JOINs: development [#METR-11370]. 2014-07-06 04:19:49 +04:00
Alexey Milovidov
484b3f1d5d dbms: fixed typo [#METR-11370]. 2014-07-04 05:42:08 +04:00
Alexey Milovidov
8a7a4b11f0 dbms: better [#METR-11370]. 2014-07-04 02:39:13 +04:00
Alexey Milovidov
2fa4a2cf60 dbms: GLOBAL JOINs: development [#METR-11370]. 2014-07-04 00:32:42 +04:00
Michael Kolupaev
da7d837497 added function anyHash64. [#METR-11774] 2014-07-03 15:24:29 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
29e8538f25 dbms: JOINs: development [#METR-11370]. 2014-06-13 13:07:20 +04:00
Alexey Milovidov
1ba07d65ad dbms: development [#METR-11370]. 2014-06-13 03:21:38 +04:00
Alexey Milovidov
136ad3f5d3 dbms: removed garbage [#METR-11370]. 2014-06-12 04:56:43 +04:00
Alexey Milovidov
5e153b2bb9 dbms: support for JOINs in parser [#METR-11370]. 2014-06-12 04:48:56 +04:00
Pavel Kartavyy
f2d2dd2739 clickhouse: alter doesn't need quotes anymore [#METR-11063] 2014-05-20 20:46:33 +04:00
Alexey Milovidov
3b883d6b43 dbms: doc: development [#METR-10719]. 2014-04-24 22:49:07 +04:00
Alexey Milovidov
813406b01b dbms: added line and column information in case of syntax error in multiline query [#METR-10728]. 2014-04-13 12:52:50 +04:00
Alexey Milovidov
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Alexey Milovidov
9dad91788b Improvement [#METR-2807]. 2014-04-08 11:47:51 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Alexey Milovidov
34bf7dd0ae Removed useless code [#METR-2807]. 2014-04-08 10:51:53 +04:00
Michael Kolupaev
7d5429655a Merge 2014-04-07 23:10:14 +04:00
Alexey Milovidov
9174b461f2 dbms: tiny improvement [#METR-10718]. 2014-04-06 11:23:42 +04:00
Alexey Milovidov
143ec07e06 dbms: fixed error with parser [#METR-10718]. 2014-04-02 21:13:10 +04:00
Michael Kolupaev
233557ec72 Merge 2014-04-02 14:40:23 +04:00
Michael Kolupaev
784014f79a dbms: fixed removing arrayJoin from subquery. [#METR-9549] 2014-03-27 23:50:02 +04:00
Michael Kolupaev
852d35615c dbms: Fixed a bug. [#METR-10615] 2014-03-27 23:50:02 +04:00
Michael Kolupaev
634c33c766 Merge 2014-03-27 21:49:08 +04:00
Sergey Fedorov
27f081a382 dbms: create temporary table query, external tables from stdin [METR-10071] 2014-03-27 16:06:45 +04:00
Michael Kolupaev
08f4af22e1 Merge 2014-03-24 17:59:04 +04:00
Alexey Milovidov
a022302ae4 dbms: better pretty-printing [#METR-2944]. 2014-03-10 22:01:26 +04:00
Alexey Milovidov
eb2542009c dbms: improved performance of short queries [#METR-2944]. 2014-03-10 18:47:04 +04:00
Alexey Milovidov
88058d9971 dbms: improved performance of short queries [#METR-2944]. 2014-03-10 16:25:37 +04:00
Pavel Kartavyy
d836e42fc1 dbms: added modify to parser [#METR-10242] 2014-03-05 22:20:55 +04:00
Alexey Milovidov
c4b2c7804e dbms: probably better [#METR-10223]. 2014-03-04 00:22:39 +04:00
Sergey Fedorov
967677e8cf table functions: refixed table function analyzation in expression analyzer [METR-9750] 2014-02-28 17:28:42 +04:00
Alexey Milovidov
fee77d6c98 dbms: Fixed error with incorrect handling of weird case (column names with whitespaces) [#METR-10225]. 2014-02-26 23:50:04 +04:00
Michael Kolupaev
b3c97fb277 clickhouse: fixed ORDER BY, removed obsolete comments. [#METR-9599] 2014-02-14 11:13:39 +00:00
Michael Kolupaev
015fb32382 clickhouse: parsing multiple infix AND and OR into a function call with more than two arguments; fixed handling of variadic and and or in virtual columns and PKCondition. [#METR-9599] 2014-02-13 11:05:51 +00:00
Michael Kolupaev
f8441f5efe clickhouse: fixed exception text and a bug in calculation of an unused value. [#METR-2807] 2014-02-12 12:51:54 +00:00
Sergey Fedorov
7ad57f4062 tableFunctions: updates in interface, fixed misspells in commets [METR-9750] 2014-02-06 16:21:00 +00:00
Sergey Fedorov
205e22e0ba materialized view: added POPULATE option [#METR-9076] 2013-12-10 12:23:43 +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
Sergey Fedorov
d96c682c22 dbms: fix default constructor in ASTDropQuery [#METR-9076] 2013-11-20 16:26:38 +00:00
Sergey Fedorov
13bd27c498 dbms: View and Materialized View fixes, logic updates, implementation [#METR-9076] 2013-11-13 14:39:48 +00:00
Sergey Fedorov
b6b40d4c4e dbms: View and Materialized View implementation [#METR-9076] 2013-11-08 17:43:03 +00:00
Sergey Fedorov
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +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
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
d055d54380 dbms: added SHOW PROCESSLIST query and 'max_concurrent_queries' setting [#CONV-8665] [#CONV-8664]. 2013-09-03 20:21:28 +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
c2fc882312 dbms: tiny improvements [#CONV-8383]. 2013-08-09 00:12:59 +00:00
Pavel Kartavyy
4c07a0bccb Merge 2013-08-08 09:50:15 +00:00
Pavel Kartavyy
a5c799d7a3 Merge 2013-08-07 13:07:42 +00:00
Vyacheslav Alipov
3ab02bffef fixed 'unknown column' issue with ARRAY JOIN section [#CONV-7967] 2013-07-23 16:15:40 +00:00
Vyacheslav Alipov
61f862dfbe ARRAY JOIN section in SELECT [#CONV-7967] 2013-07-22 16:49:19 +00:00
Vyacheslav Alipov
25ebf196f8 compound identifier parser to support '.' [#CONV-7967] 2013-07-16 15:26:35 +00:00
Vyacheslav Alipov
73bc183ffc main classes and first draft of CREATE TABLE parser [#CONV-7967] 2013-07-11 17:35:56 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Michael Kolupaev
9942dcc9c8 clickhouse: removed obsolete code [#CONV-7444]. 2013-06-05 13:42:13 +00:00
Michael Kolupaev
3e7185de22 clickhouse: slightly improved exception message [#CONV-7444]. 2013-06-03 10:53:42 +00:00
Alexey Milovidov
67f905dbc4 dbms: added DISTINCT [#CONV-7756]. 2013-06-01 07:43:57 +00:00
Michael Kolupaev
813c79061a clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-29 11:46:51 +00:00
Vyacheslav Alipov
93d92e2d40 fixed COLLATE parser [#CONV-7651] 2013-05-29 11:33:55 +00:00
Vyacheslav Alipov
f1c161842b added collation [#CONV-7651] 2013-05-28 16:56:05 +00:00
Michael Kolupaev
796df96cbc clickhouse: Expression refactoring: development [#CONV-7444]. 2013-05-24 10:49:19 +00:00
Alexey Milovidov
af6a7b2697 DB/IO: improved writing strings [#CONV-2807]. 2013-05-15 22:58:57 +00:00
Vyacheslav Alipov
066f9ffa7c rolled back to revision 31455 [#CONV-6778] 2013-05-08 09:58:31 +00:00
Michael Kolupaev
48c5dedb42 clickhouse: added parsing of lambda-expressions [#CONV-7444]. 2013-05-08 09:52:02 +00:00
Vyacheslav Alipov
c2d5749128 preserving original column names for distributed queries [#CONV-6778] 2013-05-07 10:30:52 +00:00
Alexey Milovidov
15b0ef253c dbms: added WITH TOTALS modifier for GROUP BY [#CONV-2944]. 2013-05-04 15:46:50 +00:00
Alexey Milovidov
cfb884f853 dbms: tiny improvement [#CONV-2944]. 2013-05-04 15:44:58 +00:00
Vyacheslav Alipov
57b59fcd86 removed debug code in IParserBase[#CONV-2807] 2013-04-24 13:08:25 +00:00
Vyacheslav Alipov
cff712858a Merge 2013-04-24 12:52:49 +00:00
Michael Kolupaev
d97d22919e Merge 2013-04-23 11:08:41 +00:00
Michael Kolupaev
990a634642 clickhouse: added SHOW TABLES NOT LIKE [#CONV-2944]. 2013-03-11 11:28:36 +00:00
Michael Kolupaev
40d71ab381 clickhouse: added DESCRIBE and SHOW CREATE queries, fixed formatting queries with FORMAT section [#CONV-6766]. 2013-02-21 10:02:33 +00:00
Michael Kolupaev
77d5f7e766 clickhouse: added forgotten file [#CONV-6767]. 2013-02-20 13:17:50 +00:00
Michael Kolupaev
7b14c8ac36 clickhouse: support FORMAT section in EXISTS and SHOW queries [#CONV-6767]. 2013-02-20 13:14:12 +00:00
Michael Kolupaev
f5cac625c6 Merge 2013-02-11 11:22:15 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00
Alexey Milovidov
ca5d10a4a0 dbms: fixed errors [#CONV-2944]. 2012-12-27 17:40:54 +00:00
Alexey Milovidov
3bee7c4180 dbms: improvement [#CONV-2944]. 2012-12-27 16:23:12 +00:00
Alexey Milovidov
24df661bdd dbms: development of limits [#CONV-2944]. 2012-12-26 20:29:28 +00:00
Alexey Milovidov
22de09547e dbms: added EXISTS TABLE query [#CONV-2944]. 2012-12-15 03:09:04 +00:00
Michael Kolupaev
42073f42ec clickhouse: added support for SAMPLE clause of SELECT query (works only in merge tree storage) [#6201]. 2012-12-12 14:25:55 +00:00
Alexey Milovidov
143df8a373 dbms: tiny modifications [#CONV-2944]. 2012-12-11 20:32:08 +00:00
Alexey Milovidov
2ae2cf32bb dbms: fixed error [#CONV-2944]. 2012-11-20 22:48:38 +00:00
Alexey Milovidov
e30260d9fa dbms: added parametric aggregate functions; added aggregate function 'quantile' [#CONV-2944]. 2012-10-29 02:58:52 +00:00
Alexey Milovidov
0facf74015 dbms: development (conditional operator) [#CONV-2944]. 2012-09-23 06:16:42 +00:00
Alexey Milovidov
dff7453a3c dbms: development [#CONV-2944]. 2012-08-24 20:40:34 +00:00
Alexey Milovidov
1d4d01a76c dbms: development [#CONV-2944]. 2012-08-23 19:38:45 +00:00
Alexey Milovidov
f81223b22e dbms: development [#CONV-2944]. 2012-08-22 23:09:26 +00:00
Alexey Milovidov
8ea28ddd6e dbms: development [#CONV-2944]. 2012-08-22 20:29:01 +00:00
Alexey Milovidov
40281aa96f dbms: development [#CONV-2944]. 2012-08-22 18:46:09 +00:00
Alexey Milovidov
f43a069627 dbms: development [#CONV-2944]. 2012-08-02 19:05:18 +00:00
Alexey Milovidov
3f9a7aab7d dbms: development [#CONV-2944]. 2012-08-02 19:04:26 +00:00
Alexey Milovidov
9a14f5538a dbms: development [#CONV-2944]. 2012-08-02 19:03:32 +00:00
Alexey Milovidov
b0a8f84c14 dbms: development [#CONV-2944]. 2012-07-31 19:08:49 +00:00
Alexey Milovidov
d5492d3269 dbms: development [#CONV-2944]. 2012-07-12 20:06:45 +00:00
Alexey Milovidov
4a962d543f dbms: development [#CONV-2944]. 2012-07-12 19:49:22 +00:00
Alexey Milovidov
74dfc96c42 dbms: development [#CONV-2944]. 2012-06-18 07:49:19 +00:00
Alexey Milovidov
9a18d75b99 dbms: development [#CONV-2944]. 2012-06-18 06:19:13 +00:00
Alexey Milovidov
f018ea4aac dbms: development [#CONV-2944]. 2012-05-30 01:38:02 +00:00
Alexey Milovidov
2aa2af9950 dbms: development [#CONV-2944]. 2012-05-22 19:32:56 +00:00
Alexey Milovidov
77c46cdcfd dbms: development [#CONV-2944]. 2012-05-21 20:38:34 +00:00
Alexey Milovidov
b9822b02b8 dbms: development [#CONV-2944]. 2012-01-09 19:20:48 +00:00
Alexey Milovidov
390f3b72ff dbms: development [#CONV-2944]. 2011-12-12 06:15:34 +00:00
Alexey Milovidov
e660340170 dbms: development [#CONV-2944]. 2011-11-07 02:10:34 +00:00
Alexey Milovidov
aef03f0478 dbms: development [#CONV-2944]. 2011-11-06 20:47:07 +00:00
Alexey Milovidov
1f3f17a5e5 dbms: development [#CONV-2944]. 2011-11-06 04:21:09 +00:00
Alexey Milovidov
c0c2ca630d dbms: development [#CONV-2944]. 2011-11-06 02:29:13 +00:00
Alexey Milovidov
d51ae544fc dbms: development [#CONV-2944]. 2011-11-05 23:31:19 +00:00
Alexey Milovidov
d9e921a127 dbms: development [#CONV-2944]. 2011-11-01 17:57:37 +00:00
Alexey Milovidov
26c9af828e dbms: development [#CONV-2944]. 2011-11-01 15:16:04 +00:00
Alexey Milovidov
169ef6bf2e dbms: development [#CONV-2944]. 2011-10-31 17:30:44 +00:00
Alexey Milovidov
b1b0d3836a dbms: development [#CONV-2944]. 2011-10-31 06:37:12 +00:00
Alexey Milovidov
69ce664c9c dbms: development [#CONV-2944]. 2011-10-30 11:30:52 +00:00
Alexey Milovidov
bdf0aee3c6 dbms: development [#CONV-2944]. 2011-10-30 05:19:41 +00:00
Alexey Milovidov
db4ad9135e dbms: development [#CONV-2944]. 2011-10-17 08:28:39 +00:00
Alexey Milovidov
70ff575fd9 dbms: development [#CONV-2944]. 2011-09-26 01:50:32 +00:00
Alexey Milovidov
b979162b00 dbms: development [#CONV-2944]. 2011-09-25 03:37:09 +00:00
Alexey Milovidov
5c8b01da3a dbms: development [#CONV-2944]. 2011-09-24 20:32:41 +00:00
Alexey Milovidov
67d99d4773 dbms: development. 2011-09-19 01:42:16 +00:00
Alexey Milovidov
2215bc9626 dbms: development [#CONV-2944]. 2011-09-04 05:14:52 +00:00
Alexey Milovidov
5b7f634b59 dbms: development [#CONV-2944]. 2011-08-28 08:50:27 +00:00
Alexey Milovidov
9b153918e7 dbms: development [#CONV-2944]. 2011-08-28 02:22:23 +00:00
Alexey Milovidov
b67b8d8b54 dbms: development [#CONV-2944]. 2011-08-28 00:31:30 +00:00
Alexey Milovidov
c972f291cb dbms: development [#CONV-2944]. 2011-08-19 18:31:14 +00:00
Alexey Milovidov
bf1e7e85f0 dbms: development [#CONV-2944]. 2011-08-18 18:48:00 +00:00
Alexey Milovidov
624b31602c dbms: development [#CONV-2944]. 2011-08-15 01:12:57 +00:00
Alexey Milovidov
b644b610bb dbms: development [#CONV-2944]. 2011-08-15 01:05:18 +00:00