Commit Graph

87 Commits

Author SHA1 Message Date
dmitrii
5d34b00487 parser + ast 2019-04-18 11:24:06 +03:00
chertus
82dc1fb1db rewrite ASTSelectQuery (consistent children) 2019-04-09 17:22:35 +03:00
Alexey Milovidov
2c7cf23f3f Removed support for constant expressions in TOP because they cannot work 2019-02-10 21:19:26 +03:00
Alexey Milovidov
d22b52b933 Allow constant expressions in LIMIT BY and TOP; fixed error #4246 2019-02-10 18:27:27 +03:00
Vitaliy Karnienko
d9da430982 add arbitrary const expressions in limit processing 2019-02-03 21:31:17 +03:00
chertus
d2518fdb3f more refactoring: funcs to extract database_and_table from AST 2018-10-29 22:04:28 +03:00
CurtizJ
31bf960bfe add new syntax 2018-09-19 14:18:38 +03:00
CurtizJ
8c9fe80d2d add modificator cube 2018-09-17 21:01:04 +03:00
CurtizJ
3bc743c50d do not merge blocks into one 2018-09-03 12:49:04 +03:00
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