Commit Graph

249 Commits

Author SHA1 Message Date
Alexey Milovidov
0439ef5f7f dbms: implemented LEFT ARRAY JOIN [#METR-17474]. 2015-07-26 13:54:45 +03:00
Alexey Milovidov
8e44832c85 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 10:55:48 +03:00
Alexey Milovidov
763fe6fb93 dbms: added CROSS JOIN [#METR-16893]. 2015-07-23 23:23:24 +03:00
Alexey Arno
135cac6d77 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 18:16:59 +03:00
Alexey Arno
8410736612 dbms: Server: Correctly handle backward linking of SELECT queries inside UNION ALL. [#METR-16778] 2015-07-11 03:44:45 +03:00
Alexey Arno
10b695465a dbms: Server: Fixed the bug in a much nicer way: InterpreterSelectQuery does not split anymore its AST. [#METR-16778] 2015-07-10 21:26:46 +03:00
Alexey Milovidov
9527f99d07 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 08:46:55 +03:00
Alexey Milovidov
b308d79f5e dbms: improved performance of query parsing and analyzing with very long arrays [#METR-17061]. 2015-06-29 07:54:52 +03:00
Alexey Arno
a522013939 Merge 2015-06-25 20:38:54 +03:00
Alexey Milovidov
854a2f4cc8 dbms: added optional section SETTINGS to SELECT query [#METR-16354]. 2015-06-06 00:28:04 +03:00
Alexey Arno
ac80e39c1e dbms: Server: Deleted forgotten garbage from header file. [#METR-16546] 2015-06-03 14:28:16 +03:00
Alexey Arno
20fe37511f Merge 2015-06-02 14:16:02 +03:00
Alexey Milovidov
f33943144d Revert "dbms: improvement [#METR-16164]."
This reverts commit b9f977d430df589f006d6c2bb3ffc32bc2f54a31.
2015-05-03 12:13:29 +03:00
Alexey Milovidov
310ed66b00 Revert "dbms: improvement (incomplete) [#METR-16164]."
This reverts commit 6f4f44ce7980cace32edd0913b8d1d53cd51682b.
2015-05-03 12:13:08 +03:00
Alexey Milovidov
b5f1084132 dbms: improvement (incomplete) [#METR-16164]. 2015-04-30 08:45:34 +03:00
Alexey Milovidov
cb1301d3cb dbms: improvement [#METR-16164]. 2015-04-30 00:30:40 +03:00
Andrey Mironov
77b2ef6f81 Merge 2015-04-21 16:10:08 +03:00
Alexey Milovidov
a2f2cc369d dbms: preparation for FULL and RIGHT JOINs [#METR-15418]. 2015-04-17 11:46:06 +03:00
Alexey Milovidov
3a658e4b26 dbms: fixed error with multiquery mode in Client [#METR-15975]. 2015-04-14 23:46:34 +03:00
Alexey Milovidov
cfd2d2aad5 dbms: removed useless code [#METR-2944]. 2015-04-14 05:55:59 +03:00
Alexey Milovidov
463526910d dbms: little better [#METR-15933]. 2015-04-14 04:39:30 +03:00
Alexey Milovidov
00305592bc dbms: addition to prev. revision [#METR-15933]. 2015-04-11 07:15:14 +03:00
Alexey Milovidov
9ec393df61 dbms: better diagnostics on syntax error [#METR-15933]. 2015-04-11 06:10:23 +03:00
Alexey Milovidov
0828dba841 dbms: preparation [#METR-2944]. 2015-03-02 04:10:58 +03:00
Alexey Arno
a4f4c6a811 dbms: Server: performance optimization [#METR-14875] 2015-02-19 02:15:20 +03:00
Alexey Milovidov
3782bdfa16 dbms: added comment [#METR-14901]. 2015-02-04 08:27:28 +03:00
Alexey Milovidov
a65acf8a03 dbms: better [#METR-2944]. 2015-02-01 10:27:56 +03:00
Andrey Mironov
00324f2f9c dbms: allow non-parenthesised expressions in array access operator []. [#METR-14585] 2015-01-16 13:25:34 +03:00
Alexey Arno
627143a537 dbms: Server: more optimizations, fixed indentation. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
ae2fb27f9b dbms: Server: add optimization for UNION ALL queries that do not contain wildcards. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
255c7669a9 dbms: Server: modify columns renaming rules [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
9c9db14d95 dbms: Server: second part of the fix for column renaming in UNION ALL queries. [#METR-14099] 2014-12-24 18:30:14 +03:00
Alexey Arno
ece876f05d dbms: Server: add first part of a fix for column renaming in UNION ALL queries. 2014-12-24 18:30:14 +03:00
Andrey Mironov
e7301a4050 dbms: add override to AST types 2014-12-17 18:51:21 +03:00
Andrey Mironov
29de25c608 dbms: implement ASTSubquery::clone properly. [#METR-13399] 2014-12-16 15:40:25 +03:00
Alexey Arno
6323cf5977 Add support for UNION ALL in the SQL query parser 2014-12-15 19:07:49 +03:00
Andrey Mironov
50328d120a Merge 2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
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