Commit Graph

78 Commits

Author SHA1 Message Date
CurtizJ
a603595120 remove redundant code 2018-08-28 12:27:17 +03:00
CurtizJ
0e28195e7a update syntax and test 2018-08-27 19:43:29 +03:00
CurtizJ
b48a144d78 add mysql like rollup syntax 2018-08-27 12:50:30 +03:00
CurtizJ
cf3fbb8c51 minor changes 2018-08-24 20:37:08 +03:00
CurtizJ
c18ad18d96 Add rollup modificator 2018-08-24 18:00:00 +03:00
CurtizJ
0704da5756 Merge branch 'master' into CLICKHOUSE-3893 2018-08-21 20:34:01 +03:00
CurtizJ
4534d449c1 working on rollup 2018-08-21 19:08:45 +03:00
VadimPE
bb9d99b00c CLICKHOUSE-3211 add Exception 2018-08-13 13:45:27 +03:00
VadimPE
e8ebcc4d48 CLICKHOUSE-3211 add TOP m, and OFFSET k 2018-08-10 14:12:43 +03:00
Alexey Milovidov
601ff1eee4 Simplification of AST #1947 2018-02-26 06:37:08 +03:00
Alexey Milovidov
ab594375ab Better UNION ALL: development #1947 2018-02-25 03:50:53 +03:00
Alexey Milovidov
9aca95001e Fixed regression, added test [#CLICKHOUSE-2]. 2017-08-13 12:20:05 +03:00
Nikolai Kochetov
37b6c98752 added former WITH clause to SELECT query 2017-08-12 00:01:28 +03:00
Alexey Milovidov
02274ed511 Using lexer (incomplete) [#CLICKHOUSE-2]. 2017-07-13 08:59:01 +03:00
Alexey Milovidov
2073fef375 Using lexer (incomplete) [#CLICKHOUSE-2]. 2017-07-13 08:59:01 +03:00
Alexey Milovidov
1bab7fc344 Using lexer (incomplete) [#CLICKHOUSE-2]. 2017-07-13 08:59:01 +03:00
Alexey Milovidov
5b5795633e Using lexer (incomplete) [#CLICKHOUSE-2]. 2017-07-13 08:59:01 +03:00
Alexey Milovidov
313e52279d UNION ALL rewrite: preparation [#CLICKHOUSE-31]. 2017-06-18 06:35:25 +03:00
Alexey Milovidov
bc45598c08 Fixed name [#CLICKHOUSE-2]. 2017-06-15 20:55:57 +03:00
f1yegor
b4c23f122a Translated comments 2017-04-02 20:37:49 +03:00
Alexey Milovidov
310736cd7e Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
Alexey Zatelepin
5de1975bc4 parse INTO OUTFILE clause [#CLICKHOUSE-2133] 2017-01-19 03:48:59 +04: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
Alexey Milovidov
1ef87202f6 Rectifications of JOINs: development [#METR-2944]. 2016-07-21 18:48:11 +03:00
Alexey Milovidov
9f9be1b7fc Rectification of JOINs [#METR-2944]. 2016-07-18 04:20:53 +03:00
Alexey Milovidov
40ae51e7b3 Rectifying JOINs [#METR-2944]. 2016-07-18 03:14:24 +03:00
Alexey Milovidov
fc65afb6f0 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:46:03 +03:00
Alexey Milovidov
8c4abcdd43 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:42:22 +03:00
Alexey Milovidov
f81aa67fc4 Preparation [#METR-20307]. 2016-03-07 04:08:01 +03:00
Alexey Milovidov
2d00e5d84f dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847]. 2015-11-20 00:34:53 +03:00
Alexey Milovidov
09dd253636 dbms: added support for SAMPLE ... OFFSET [#METR-18847]. 2015-11-19 00:37:28 +03:00
Alexey Milovidov
52a3b686cd dbms: fixed error; parsing 'ON' expression in JOINs [#METR-18692]. 2015-11-08 05:42:33 +03:00
Alexey Milovidov
4482871274 dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573]. 2015-11-08 03:28:12 +03:00
Alexey Arno
e059442193 Merge 2015-10-21 17:57:10 +03:00
Alexey Arno
64d47f35df dbms: Server: Fixed possible cyclic dependencies. [#METR-14099] 2015-09-09 01:13:43 +03:00
Alexey Milovidov
0439ef5f7f dbms: implemented LEFT ARRAY JOIN [#METR-17474]. 2015-07-26 13:54:45 +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 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 Milovidov
3a6d28eb0e dbms: fixed error: empty queries in process list [#METR-16577]. 2015-05-29 22:08:51 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Alexey Milovidov
9ec393df61 dbms: better diagnostics on syntax error [#METR-15933]. 2015-04-11 06:10:23 +03:00
Alexey Milovidov
380ab2dacc dbms: added (ignored) table and FROM/JOIN subquery aliases [#METR-15573]. 2015-03-25 05:49:29 +03:00
Alexey Arno
b5105ecdf7 dbms: Server: fixed bug in UNION ALL [#METR-15077] 2015-02-13 14:40:58 +03:00
Alexey Milovidov
d9d20f8c01 dbms: fixed error with IN with subquery with WHERE and PREWHERE in distributed query execution [#METR-14901]. 2015-02-03 19:38:30 +03:00
Alexey Arno
f8cb28cf07 Apply required fixes [#METR-14099]. 2014-12-17 18:56:52 +03:00
Alexey Arno
6323cf5977 Add support for UNION ALL in the SQL query parser 2014-12-15 19:07:49 +03:00