Commit Graph

338 Commits

Author SHA1 Message Date
Alexey Milovidov
8d736e91c7 dbms: fixed reading past end of buffer [#METR-10718]. 2014-04-04 06:32:35 +04:00
Michael Kolupaev
233557ec72 Merge 2014-04-02 14:40:23 +04:00
Sergey Fedorov
e426667931 dbms: fixes in create temporary table [METR-10071] 2014-04-01 17:41:03 +04:00
Alexey Milovidov
26848b6803 dbms: added pretty-formatting for GLOBAL IN; pedantic modifications in comments [#METR-10071]. 2014-03-27 21:58:25 +04:00
Michael Kolupaev
634c33c766 Merge 2014-03-27 21:49:08 +04:00
Sergey Fedorov
f0aae9604a dbms: Global in function, sexternal tables transfers to remote servers [METR-10071] 2014-03-27 16:06:45 +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
a202cb4eaf Merge 2014-03-25 18:06:40 +04:00
Michael Kolupaev
d123bbc271 clickhouse: fixed bad_cast when formatting AST with PREWHERE. [#METR-10504] 2014-03-19 16:01:39 +04:00
Alexey Milovidov
9ffad47bdc dbms: fixed error [#METR-10489]. 2014-03-18 21:45:54 +04:00
Alexey Milovidov
68dd884b1f dbms: tiny modification [#METR-10489]. 2014-03-18 21:23:30 +04:00
Alexey Milovidov
ce98defebe dbms: fixed error [#METR-10489]. 2014-03-18 21:20:44 +04:00
Alexey Milovidov
f7e2ba67c0 dbms: fixed error with query formatting [#METR-10476]. 2014-03-17 23:56:37 +04:00
Alexey Milovidov
1e44f91f00 dbms: fixed error in formatAST [#METR-10443]. 2014-03-13 21:30:58 +04:00
Alexey Milovidov
3c4c400e68 dbms: formatAST: better [#METR-2944]. 2014-03-12 21:12:09 +04:00
Alexey Milovidov
780e75252e Addition to prev. revision [#METR-2944]. 2014-03-10 22:10:44 +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
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
Sergey Fedorov
a182091621 storages: support for CREATE MATERIALIZED VIEW IF NOT EXISTS [METR-9965] 2014-02-11 18:54:31 +00:00
Sergey Fedorov
7ad57f4062 tableFunctions: updates in interface, fixed misspells in commets [METR-9750] 2014-02-06 16:21:00 +00:00
Alexey Milovidov
ab24d20f23 dbms: fixed error with PREWHERE [#METR-9837]. 2014-02-01 01:27:00 +00:00
Sergey Fedorov
a7edba5032 table functions: main interface implementation, function merge implementation, plug for remote function [METR-9750] 2014-01-28 16:45:10 +00:00
Sergey Fedorov
6bf937e897 [materialized view]: Couple of changes in format and metadata [METR-9076] 2013-12-24 17:01:50 +00:00
Sergey Fedorov
1fb34154c6 dbms, ParserCreateQuery: fixed using uninitialized variable [METR-9531] 2013-12-17 14:07:59 +00:00
Sergey Fedorov
205e22e0ba materialized view: added POPULATE option [#METR-9076] 2013-12-10 12:23:43 +00:00
Michael Kolupaev
857cebea6f ClickHouse: small fixes for PREWHERE. [#METR-9091] 2013-12-05 13:07:55 +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
Alexey Milovidov
ad37fa5777 dbms: probably fixed error [#METR-9194]. 2013-11-18 01:35:24 +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
be738dc12b dbms: Erase extra includes in StorageView.cpp and extra variables in Parser [#METR-9076] 2013-10-30 14:04:27 +00:00
Sergey Fedorov
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +00:00
Sergey Fedorov
b3ba5e4cab dbms: Support columns in Insert query, bug-fix and Code Style fixes [#METR-8975] 2013-10-28 14:43:36 +00:00
Alexey Milovidov
a38317e1f5 dbms: better exception messages [#METR-8224]. 2013-10-26 03:20:51 +00:00
Sergey Fedorov
8fd6963212 My latest changes.
REVIEW:new
2013-10-25 14:56:47 +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
Pavel Kartavyy
20da4e0a2b dbms: make TABLE to be optional world in DESC query [#CONV-8911] 2013-10-21 11:06:26 +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
25e36aebc4 dbms: fixed leak [#CONV-8383]. 2013-09-14 00:39:34 +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
Alexey Milovidov
e6df8f2882 dbms: style [#CONV-8383]. 2013-08-09 00:18:03 +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
ef8cd52e73 added alias support for ARRAY JOIN section [#CONV-7967] 2013-07-30 17:25:46 +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
277759146d identifier parser now supports '.' [#CONV-7967] 2013-07-16 15:10:37 +00:00
Vyacheslav Alipov
7bee7ed8ca updated ParserNestedTable: save parsed columns to func->args [#CONV-7967] 2013-07-12 16:46:58 +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
57b3b4837e clickhouse: fixed show tables not like [#CONV-7444]. 2013-06-14 19:07:35 +00:00
Alexey Milovidov
67f905dbc4 dbms: added DISTINCT [#CONV-7756]. 2013-06-01 07:43:57 +00:00
Vyacheslav Alipov
7c9a0f8ac1 renamed methods with collator in ColumnString, removed catching exception [#CONV-7651] 2013-05-30 14:28:27 +00:00
Vyacheslav Alipov
c60fd424a4 added COLLATE to formatAST [#CONV-7651] 2013-05-29 12:38:20 +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
c7ecc266c6 clickhouse: fixed parsing lambda expressions [#CONV-7444]. 2013-05-08 10:59:21 +00:00
Michael Kolupaev
4a19d688dd clickhouse: fixed parsing lambda expressions [#CONV-7444]. 2013-05-08 10:33:37 +00:00
Michael Kolupaev
48c5dedb42 clickhouse: added parsing of lambda-expressions [#CONV-7444]. 2013-05-08 09:52:02 +00:00
Alexey Milovidov
15b0ef253c dbms: added WITH TOTALS modifier for GROUP BY [#CONV-2944]. 2013-05-04 15:46:50 +00:00
Michael Kolupaev
7b343659e6 clickhouse: added FINAL to formatAST [#CONV-7363]. 2013-04-29 11:34:28 +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
2dc383a07b clickhouse: fixed SHOW CREATE TABLE and DESCRIBE TABLE [#CONV-6766]. 2013-02-21 11:34:32 +00:00
Michael Kolupaev
71377de83d clickhouse-client: fixed parsers again [#CONV-6766]. 2013-02-21 11:12:31 +00:00
Michael Kolupaev
c7cd17004f clickhouse-client: fixed formatAST again, added info to exception text [#CONV-6766]. 2013-02-21 11:08:29 +00:00
Michael Kolupaev
b4222e65e3 clickhouse: fixed formatting SHOW DATABASES ... FORMAT [#CONV-6766]. 2013-02-21 10:51:25 +00:00
Michael Kolupaev
625d207ac5 clickhouse: fixed parser [#CONV-6766]. 2013-02-21 10:45:00 +00:00
Michael Kolupaev
1fa892182d clickhouse: fixed SHOW DATABASES ... FORMAT [#CONV-6767]. 2013-02-21 10:39:24 +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
7b14c8ac36 clickhouse: support FORMAT section in EXISTS and SHOW queries [#CONV-6767]. 2013-02-20 13:14:12 +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
63ab9a262e dbms: fixed error (numbers aren't parsing after previous query with huge number) [#CONV-2944]. 2012-12-15 04:26:48 +00:00
Alexey Milovidov
22de09547e dbms: added EXISTS TABLE query [#CONV-2944]. 2012-12-15 03:09:04 +00:00
Michael Kolupaev
bd843a65bd clickhouse: added SAMPLE to formatAST [#6201]. 2012-12-12 16:49:08 +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
2ae2cf32bb dbms: fixed error [#CONV-2944]. 2012-11-20 22:48:38 +00:00
Alexey Milovidov
cbb5a06d63 dbms: addition to prev. revision [#CONV-2944]. 2012-10-29 05:29:34 +00:00
Alexey Milovidov
4ac448cb26 dbms: addition to prev. revision [#CONV-2944]. 2012-10-29 04:54:46 +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
40281aa96f dbms: development [#CONV-2944]. 2012-08-22 18:46:09 +00:00
Alexey Milovidov
ae75c86be3 dbms: development [#CONV-2944]. 2012-08-21 15:14:04 +00:00
Alexey Milovidov
8359bbbe6b dbms: development [#CONV-2944]. 2012-08-20 20:28:34 +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
60987d7ecd dbms: fixed error with case [#CONV-5229]. 2012-07-27 19:20:44 +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
680936cf2a dbms: development [#CONV-2944]. 2012-05-28 19:34:55 +00:00
Alexey Milovidov
77c46cdcfd dbms: development [#CONV-2944]. 2012-05-21 20:38:34 +00:00
Alexey Milovidov
e90a8bba54 dbms: development [#CONV-2944]. 2012-05-08 11:19:00 +00:00
Alexey Milovidov
b9822b02b8 dbms: development [#CONV-2944]. 2012-01-09 19:20:48 +00:00
Alexey Milovidov
65b70d10ca dbms: development [#CONV-2944]. 2011-12-26 07:07:30 +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
5bc7288e0d dbms: development [#CONV-2944]. 2011-11-01 15:38:01 +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
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
420e68e7c7 dbms: development [#CONV-2944]. 2011-08-28 05:13:24 +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
b644b610bb dbms: development [#CONV-2944]. 2011-08-15 01:05:18 +00:00
Alexey Milovidov
532a578b7a dbms: development [#CONV-2944]. 2011-08-13 21:05:18 +00:00
Alexey Milovidov
082aac3771 dbms: development [#CONV-2944]. 2011-08-12 18:27:39 +00:00
Alexey Milovidov
9f5cc680a4 dbms: development [#CONV-2504]. 2011-08-09 19:19:00 +00:00
Alexey Milovidov
c9245b4036 Unification: removed strconvert manips, using mysqlxx manips. 2011-03-29 17:56:51 +00:00
Alexey Milovidov
a55f64a8aa dbms: development. 2010-06-28 13:44:42 +00:00
Alexey Milovidov
9a9bdc8123 dbms: development. 2010-06-28 13:42:36 +00:00
Alexey Milovidov
ba83040cb0 dbms: development. 2010-06-25 19:55:19 +00:00
Alexey Milovidov
a3470586b9 dbms: development. 2010-06-25 16:36:13 +00:00
Alexey Milovidov
e5d9895b57 dbms: development. 2010-06-24 19:37:23 +00:00
Alexey Milovidov
8fc01e90d7 dbms: development. 2010-06-24 19:12:10 +00:00
Alexey Milovidov
e3d91b90f2 dbms: development. 2010-03-17 20:33:47 +00:00
Alexey Milovidov
c788fd5bcc dbms: development. 2010-03-17 20:03:06 +00:00