Alexey Milovidov
3eff0184fa
Added set size checking when set from subquery is used for index; removed harmful feature for special support of (a, b) IN (SELECT (a, b)) instead of (a, b) IN (SELECT a, b) [#CLICKHOUSE-2]
2018-04-18 22:38:40 +03:00
Nikolai Kochetov
41229b201b
Merge branch 'master' into fix-header-for-union-stream-in-distributed-2
2018-04-13 23:11:04 +03:00
Nikolai Kochetov
325f16f8a5
fix perf
2018-04-13 23:09:13 +03:00
Nikolai Kochetov
c9abeed3f5
remove unused columns from prewhere actions [#CLICKHOUSE-3694] #2156
2018-04-11 22:08:53 +03:00
Alexey Milovidov
30dd11f8ca
Removed (obsolete) special handling for Arrays in the left hand side of IN (continued) #2113
2018-04-06 03:25:14 +03:00
Alexey Milovidov
6452a3bb76
Removed (obsolete) special handling for Arrays in the left hand side of IN [#CLICKHOUSE-2]
2018-04-05 23:52:01 +03:00
Nikolai Kochetov
dc22b881a7
added columns_added_by_join into in with pk [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
fde23f7975
added array_join_columns [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
7d0602c279
added columns from array join to aggregated_columns [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
4f7d262997
added aggregated_columns to mayBenefitFromIndexForIn [#CLICKHOUSE-3680]
2018-04-04 00:17:22 +03:00
Vitaliy Lyudvichenko
1f28410490
Fixed false positive error messages for queries with IN and ARRAY JOIN. [#CLICKHOUSE-2]
2018-03-16 17:11:49 +03:00
Alexey Milovidov
cf6112fd37
Fixed half of bad code [#CLICKHOUSE-2]
2018-03-16 09:39:32 +03:00
Alexey Milovidov
dc4a9be6fa
Fixed error with "makeSetsForIndex" [#CLICKHOUSE-2]
2018-03-16 09:33:23 +03:00
Alexey Milovidov
73b04a4d27
Revert "Attempt to fix bad code, try 2 [#CLICKHOUSE-3649] #1830 "
...
This reverts commit eb0095a7b9
.
2018-03-16 07:37:21 +03:00
Alexey Milovidov
eb0095a7b9
Attempt to fix bad code, try 2 [#CLICKHOUSE-3649] #1830
2018-03-16 07:13:24 +03:00
Alexey Milovidov
83b775fbf5
Attempt to fix bad code, try 1 [#CLICKHOUSE-3649] #1830
2018-03-16 07:10:38 +03:00
Alexey Milovidov
f4c54f02a5
Removed trashy, obsolete code [#CLICKHOUSE-3649]
2018-03-16 07:00:00 +03:00
Alexey Milovidov
3a8d6c28ef
Attempt to fix a regression [#CLICKHOUSE-2]
2018-03-16 00:44:09 +03:00
Vitaliy Lyudvichenko
e77701bd4b
Enable alisas for sets and tuples for IN operator. [#CLICKHOUSE-3]
...
Resolves #2044
2018-03-15 21:44:02 +03:00
Alexey Zatelepin
5906c9a988
rename for clarity
2018-03-13 18:00:28 +03:00
Alexey Zatelepin
fdffbe53ac
encapsulate ColumnsDeclaration [#CLICKHOUSE-3241]
2018-03-13 17:41:25 +03:00
Alexey Zatelepin
78d92f6794
add some useful methods, rename for clarity [#CLICKHOUSE-3241]
2018-03-12 22:10:13 +03:00
Alexey Zatelepin
71642b0880
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
2018-03-12 22:07:48 +03:00
Alexey Milovidov
5ff433b670
Merged Limits to Settings [#CLICKHOUSE-2021]
2018-03-11 03:15:26 +03:00
Alexey Milovidov
3f8ef38b41
Fixed wording #245
2018-03-10 02:23:15 +03:00
Alexey Milovidov
310b9104b8
Removed useless method [#CLICKHOUSE-2]
2018-03-08 05:16:03 +03:00
alexey-milovidov
9b4ea7acde
Merge pull request #1933 from zhang2014/fix/ISSUES-1386
...
ISSUES-1386 add illegal column exception when drop exist depend
2018-03-02 22:33:57 +03:00
zhang2014
4a38e97ed6
Merge branch 'master' into fix/ISSUES-1386
2018-03-02 18:03:18 +08:00
Alexey Milovidov
22bbc9f08c
Added limit on size of AST after expansion of aliases [#CLICKHOUSE-18]
2018-03-02 09:33:17 +03:00
Alexey Milovidov
f7e0912d81
Added support for LIMIT BY arbitary expressions [#CLICKHOUSE-3613] #1947
2018-03-01 08:24:56 +03:00
Alexey Milovidov
e604be2799
Fixed error #1947
2018-03-01 07:57:51 +03:00
Alexey Milovidov
e0798edc09
Better UNION ALL: development #1947
2018-03-01 04:25:06 +03:00
Alexey Milovidov
672fc3a441
Better UNION ALL: development #1947
2018-02-28 07:49:39 +03:00
Alexey Milovidov
f4dbca54a1
Fixed bad code #1947
2018-02-28 07:30:27 +03:00
Alexey Milovidov
9ea0a603a0
Better UNION ALL: development #1947
2018-02-28 04:29:55 +03:00
Alexey Milovidov
17ffe77b8c
Better UNION ALL: development #1947
2018-02-28 00:03:28 +03:00
Alexey Milovidov
d4937621d3
Better UNION ALL: development #1947
2018-02-27 22:02:13 +03:00
Alexey Milovidov
8d72ca25d5
Better UNION ALL: development #1947
2018-02-27 22:00:55 +03:00
Alexey Milovidov
5d27e43f96
Better UNION ALL: development #1947
2018-02-27 00:00:42 +03:00
Alexey Milovidov
4dee4770eb
Better UNION ALL: development #1947
2018-02-26 13:00:56 +03:00
Alexey Milovidov
437ba4856b
Better UNION ALL: development #1947
2018-02-26 12:55:14 +03:00
Alexey Milovidov
44d0736138
Better UNION ALL: development #1947
2018-02-26 12:10:11 +03:00
Alexey Milovidov
ac37b89b16
Better UNION ALL: development #1947
2018-02-26 12:05:06 +03:00
Alexey Milovidov
89c0dc2eea
Fixed build #1947
2018-02-26 06:45:46 +03:00
Alexey Milovidov
d6121a8544
Simplification of AST #1947
2018-02-26 06:40:20 +03:00
Alexey Milovidov
2b974554e5
Fixed test [#CLICKHOUSE-2]
2018-02-24 04:55:43 +03:00
Alexey Milovidov
3772c88472
Removed bad code that may lead to (harmless) race condition [#CLICKHOUSE-2]
2018-02-24 04:31:42 +03:00
Alexey Milovidov
36a9502e80
Simplification #1896
2018-02-23 11:05:21 +03:00
Alexey Milovidov
466837b17c
Removed controversial feature #1896
2018-02-23 10:06:59 +03:00
zhang2014
6f3d67be30
ISSUES-1386 fix failed test
2018-02-22 19:28:02 +08:00
Alexey Milovidov
19a946d8af
Preparation [#CLICKHOUSE-2]
2018-02-21 06:54:55 +03:00
Alexey Milovidov
8942d7c127
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 04:38:42 +03:00
Alexey Milovidov
ee4b5d2527
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 23:23:25 +03:00
Alexey Milovidov
69a9723ce2
Header in every stream: development [#CLICKHOUSE-2]
2018-02-15 22:48:41 +03:00
Vitaliy Lyudvichenko
a4177287b1
Fixed too deep AST traversal. [#CLICKHOUSE-2]
2018-02-14 20:39:16 +03:00
Nikolai Kochetov
e02ca10b9a
merged with master
2018-02-08 20:46:22 +03:00
Nikolai Kochetov
64b0279af5
removed ColumnExpression and DataTypeExpression [#CLICKHOUSE-3550]
2018-02-08 20:20:10 +03:00
Nikolai Kochetov
27179b375a
removed prerequisites [#CLICKHOUSE-3550]
2018-02-08 20:18:52 +03:00
Alexey Milovidov
75fb48c94c
Miscellaneous #1763 #320
2018-02-08 20:10:35 +03:00
alexey-milovidov
287dbcc3dd
Merge pull request #1763 from zhang2014/fix/ISSUES-320
...
ISSUES-320 Fix rewrite expression
2018-02-08 20:07:50 +03:00
Tsarkova Anastasia
c50ccabb0a
Implement MergeTree index using for IN operator with tuple of columns.
2018-02-07 18:29:00 +03:00
Alexey Milovidov
16ff7b7563
Better exception message for "Different expressions with the same alias" [#METRIKASUPP-8947].
2018-02-05 17:03:01 +03:00
zhang2014
c74970c098
ISSUES-195 fix complex in expression with single element
2018-01-31 16:38:48 +03:00
zhang2014
f0e097ea4d
ISSUES-320 fix test failed
2018-01-26 00:57:48 +08:00
Vlad Arkhipov
6738d6a995
Add comments. Improve method names.
2018-01-23 11:18:12 +03:00
Vlad Arkhipov
be96cf5133
Replace subqueries and table expressions on the right side of the IN operator with their results in order to make MergeTree storage engines evaluate the corresponding conditions by using the index.
2018-01-21 11:22:52 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
Alexey Milovidov
c4687b5fb9
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 08:54:34 +03:00
Alexey Milovidov
fcdd5de47d
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
0fa9383d3e
Revert "Addition to prev. revision [#CLICKHOUSE-2]"
...
This reverts commit bc4a5794d9
.
2017-12-28 07:39:01 +03:00
Alexey Milovidov
4cde48fb20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-28 01:40:42 +03:00
Alexey Milovidov
b79aa5db4e
Update documentation about required ZK version; Miscellaneous #1458
2017-12-27 21:34:58 +03:00
Alexey Milovidov
014641a5d9
Addition to prev. revision [#CLICKHOUSE-2]
2017-12-26 01:51:11 +03:00
Alexey Milovidov
c89041ce63
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
827e82efa6
Revert "Addition to prev. revision [#CLICKHOUSE-2]"
...
This reverts commit bc4a5794d9
.
2017-12-26 00:57:19 +03:00
Alexey Milovidov
bc4a5794d9
Addition to prev. revision [#CLICKHOUSE-2]
2017-12-26 00:50:55 +03:00
Alexey Milovidov
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
a85b2e5a95
Removed questionable code [#CLICKHOUSE-2].
2017-12-26 00:10:46 +03:00
Alexey Milovidov
bcfde7c6c0
Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2].
2017-12-25 21:58:39 +03:00
Alexey Milovidov
a71b04e377
Fixed "join_use_nulls" mode #1544
2017-12-25 03:38:45 +03:00
Alexey Milovidov
c990740b33
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
alexey-milovidov
7a97d08b04
Merge branch 'master' into CLICKHOUSE-3361
2017-12-19 23:03:17 +03:00
Alexey Milovidov
93a300bea4
Miscellaneous [#CLICKHOUSE-2].
2017-12-19 00:49:34 +03:00
Alexey Milovidov
7c802ee3de
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 05:37:08 +03:00
Alexey Milovidov
f95ddfce10
Make DataTypes totally immutable [#CLICKHOUSE-2].
2017-12-18 04:11:48 +03:00
Nikolai Kochetov
08fed58a25
use columns from left block out of columns with same name at Join [#CLICKHOUSE-3361]
2017-12-14 18:28:30 +03:00
Alexey Milovidov
f3bb24a3bf
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 04:43:19 +03:00
Alexey Milovidov
c3015bece3
Miscellaneous [#CLICKHOUSE-2].
2017-12-11 01:44:04 +03:00
Alexey Milovidov
acd78e4891
Better [#CLICKHOUSE-2].
2017-12-02 00:13:25 +03:00
Alexey Milovidov
783e812eb7
Fixed error [#CLICKHOUSE-2]
2017-11-04 19:46:14 +03:00
Alexey Milovidov
fa8bcccdb9
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 00:50:22 +03:00
proller
49f8080e52
Small debud improvement
2017-10-13 21:44:26 +03:00
Vitaliy Lyudvichenko
7bc58340b0
Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]
2017-10-13 00:27:25 +03:00
Alexey Milovidov
d29c77adea
Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301].
2017-09-08 06:47:27 +03:00
Alexey Milovidov
9f956d97dd
Removed debug output [#CLICKHOUSE-2].
2017-08-17 21:43:39 +03:00
Alexey Milovidov
eb88391655
Fixed error with alias substitution [#CLICKHOUSE-2986].
2017-08-16 23:10:25 +03:00
Nikolai Kochetov
37b6c98752
added former WITH clause to SELECT query
2017-08-12 00:01:28 +03:00
Alexey Milovidov
3dcb2e6aed
Fixed test [#CLICKHOUSE-2].
2017-07-26 04:21:19 +03:00
Vitaliy Lyudvichenko
03e5bf9471
Add support of parameters in aggregate function constructors. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
alexey-milovidov
d4d266fa18
ColumnConst unification ( #1011 )
...
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* Fixed error in ColumnArray::replicateGeneric [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
2017-07-21 09:35:58 +03:00
Alexey Milovidov
295459e89e
Miscellaneous [#CLICKHOUSE-2].
2017-07-17 01:55:40 +03:00
Alexey Milovidov
9406b6a5aa
Get rid of ASTSet, because it is not really an AST and it lead to bugs [#CLICKHOUSE-3148].
2017-07-15 06:48:36 +03:00
Alexey Milovidov
200a1e27e3
Merge branch 'master' into get-rid-of-ast-set
2017-07-15 03:23:20 +03:00
Alexey Milovidov
9bb902c3ef
Allow to use database.table in right hand side of IN, JOIN [#CLICKHOUSE-3144].
2017-07-14 04:00:29 +03:00
Alexey Milovidov
1a0f5dd7cf
Getting rid of ASTSet (incomplete) [#CLICKHOUSE-2]
2017-07-14 03:33:37 +03:00
Alexey Milovidov
f16eaa99a1
Fixed error with unusual case of ARRAY JOIN [#METR-25109].
2017-06-21 21:21:37 +03:00
Vitaliy Lyudvichenko
b772eaa3a8
Resolved #891 . Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3]
2017-06-19 22:40:12 +03:00
Alexey Milovidov
b0c0432b71
Fixed build [#CLICKHOUSE-31].
2017-06-19 06:18:30 +03:00
Alexey Milovidov
eb47356e4f
Qualified names: continued [#CLICKHOUSE-31].
2017-06-19 06:05:05 +03:00
Alexey Milovidov
6fe3e432c5
Implemented qualified identifiers in a bad way [#CLICKHOUSE-31].
2017-06-19 05:14:18 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
Alexey Milovidov
baf2e6e95b
Added 'join_use_nulls' setting to allow using NULLs as default values for non-joined rows in case of outer joins [#CLICKHOUSE-2].
2017-04-04 09:52:39 +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 Milovidov
4e67e05835
Fixed error [#CLICKHOUSE-2].
2017-03-14 03:14:19 +03:00
alexey-milovidov
6d5bfc8c6f
Refactoring of numeric DataTypes ( #581 )
...
* Better code [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
Vitaliy Lyudvichenko
11b3aad985
Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760]
2017-02-07 23:43:31 +04:00
alexey-milovidov
8c0e81f8cb
Remove stringstream performance on very short queries ( #391 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +04:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
artpaul
79eb282eda
fix formatting of LIMIT BY; add tests with remote() [#METR-23881]
2017-01-09 18:24:54 +05:00
Alexey Milovidov
d89ee33ce2
Squashed commit of the following:
...
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:35:01 2017 +0300
Style [#METR-2944].
commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:33:11 2017 +0300
Miscellaneous [#METR-2944].
commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:30:19 2017 +0300
Miscellaneous [#METR-2944].
commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:11:41 2017 +0300
Miscellaneous [#METR-2944].
commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:56:15 2017 +0300
Miscellaneous [#METR-2944].
commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:47:52 2017 +0300
Miscellaneous [#METR-2944].
commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:46:05 2017 +0300
Miscellaneous [#METR-2944].
commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:39:46 2017 +0300
Miscellaneous [#METR-2944].
commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:38:03 2017 +0300
Miscellaneous [#METR-2944].
commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:34:15 2017 +0300
Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
a1a6ddd01e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 19:34:05 +03:00
Alexey Milovidov
625b6c6050
Function "sleep": do not sleep during query analyze (continued) [#METR-21574].
2017-01-04 06:43:43 +03:00
Alexey Milovidov
4140e7e889
Get out garbage from AST [#METR-2944].
2017-01-03 10:37:29 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
artpaul
3f064d9ff7
first dirty implementation of LIMIT BY clause [#METR-23881]
2016-12-28 20:12:54 +05:00
Alexey Milovidov
dc9e88a9d7
Merging [#METR-19266].
2016-12-10 09:16:06 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Pavel Kartavyy
5dfbd57bad
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 16:19:39 +03:00
Pavel Kartavyy
106bb24fd8
ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545]
2016-11-29 22:19:15 +03:00
Pavel Kartavyy
84a89b3b3d
ExpressionAnalyzer: optimize if with constant condition [#METR-23545]
2016-11-24 17:18:44 +03:00
Alexey Milovidov
b0fa239612
Fixed error [#METR-2944].
2016-11-21 03:56:59 +03:00
Alexey Milovidov
ef3fb70123
Fixed error [#METR-2944].
2016-11-21 03:36:50 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Milovidov
4d65dd3b37
Get rid of buggy code (that coincidently was useless too) [#METR-2944].
2016-09-04 03:01:48 +03:00
Alexey Milovidov
902c70bfa9
Fixed error with duplicate columns in subqueries [#METR-22381].
2016-08-20 20:10:00 +03:00
Alexey Milovidov
70d7451c8c
Miscellaneous [#METR-2944].
2016-08-17 05:44:45 +03:00
Alexey Arno
568fe119fb
dbms: Got rid of useless display code for CASE and IS NULL/IS NOT NULL. Also simplified CASE implementation. [#METR-19266]
2016-08-12 17:06:58 +03:00
Alexey Milovidov
8224217e25
Fixed build [#METR-2944].
2016-08-11 23:59:17 +03:00
Alexey Arno
3fcf4347cd
dbms: More comments. Cleanups. Moved a lot of FunctionsArray code into implementation file. [#METR-19266]
2016-08-11 19:47:28 +03:00
Alexey Milovidov
9f51a59322
Merge branch 'master' of github.com:yandex/ClickHouse
2016-08-11 03:47:47 +03:00
Alexey Milovidov
715cb482fa
Miscellaneous [#METR-2807].
2016-08-11 03:47:01 +03:00
Alexey Milovidov
b0256b9935
Fixed stack overflow [#METR-22219].
2016-08-10 21:49:10 +03:00
Alexey Milovidov
1d2a5086d2
Fixed incompatibility [#METR-22226].
2016-07-28 23:25:38 +03:00
Alexey Milovidov
f1aab70e3d
Fixed incompatibility with new parser of JOINs [#METR-22206].
2016-07-26 22:43:58 +03:00
Alexey Milovidov
5f423e9023
Fixing incompatibilities [#METR-2944].
2016-07-23 05:42:42 +03:00
Alexey Milovidov
dc665c67c5
Fixing incompatibilities [#METR-2944].
2016-07-23 05:25:09 +03:00
Alexey Milovidov
130ec8b58b
Compatibility with new parser and AST of tables list [#METR-2944].
2016-07-22 23:39:28 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Milovidov
a01534e6ab
Added syntactic sugar for count(DISTINCT ...) and 'count_distinct_implementation' setting [#METR-22035].
2016-07-10 18:52:35 +03:00
Alexey Milovidov
003d63023b
Fixed error [#METR-18149].
2016-07-10 10:24:24 +03:00
Alexey Milovidov
4858a2518e
Fixed error after moving from Poco::SharedPtr to std::shared_ptr [#METR-21503].
2016-05-30 23:31:03 +03:00
Alexey Milovidov
128f4a963c
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:25:09 +03:00
Alexey Milovidov
9eb249afa6
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:19:27 +03:00
Alexey Milovidov
e336ba10eb
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:56:51 +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
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
61ae4e5547
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:15:50 +03:00
Alexey Milovidov
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Alexey Arno
286baa8611
Merge
2016-05-04 02:19:14 +03:00
Alexey Milovidov
c43b34d3f0
Added function 'indexHint' [#METR-20940].
2016-04-16 02:10:29 +03:00
Alexey Milovidov
f5247021b1
Fixed error [#METR-20296].
2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125
Better diagnostics [#METR-19808].
2016-03-05 05:30:20 +03:00
Alexey Milovidov
9a53bd2a3e
dbms: tiny fixes (tnx. orantius) [#METR-2944].
2016-01-13 04:02:10 +03:00
Alexey Milovidov
ab1b725779
dbms: less dependencies [#METR-2944].
2016-01-13 03:32:59 +03:00
Alexey Milovidov
13c7d0983a
dbms: cutting dependency [#METR-2944]..
2016-01-12 00:46:36 +03:00
Andrey Mironov
1506cc25c0
dbms: allow conversion of most types to enum (not enum to enum though)[#METR-19265]
2015-12-25 17:45:58 +03:00
Andrey Mironov
c483485eaf
dbms: create a separate type for Tuple in Field [#METR-19265]
2015-12-25 15:06:17 +03:00
Andrey Mironov
13f56d4465
dbms: use CAST internally whenever a conversion is required [#METR-19265]
2015-12-25 15:06:16 +03:00
Andrey Mironov
49236beee8
dbms: CAST(expression AS type
) [#METR-19265]
2015-12-25 15:06:16 +03:00
Alexey Milovidov
ce70e528e0
dbms: fixed error with max_subquery_depth and GLOBAL subqueries [#METR-19569].
2015-12-25 04:37:17 +03:00
Andrey Mironov
9d16702f84
dbms: unconditionally move evaluation of storage ALIASes to InterpterSelectQuery [#METR-19317]
2015-12-15 17:15:06 +03:00
Alexey Milovidov
109eec92ff
dbms: fixed error with UNION ALL and subqueries in IN [#METR-18808].
2015-11-13 23:50:51 +03:00
Alexey Milovidov
c3a196904f
dbms: fixed error with ARRAY JOIN and UNION ALL [#METR-18646].
2015-11-05 03:42:18 +03:00
Alexey Milovidov
1a01606bf6
dbms: fixed error with GLOBAL subqueries and aliases [#METR-18650].
2015-11-05 01:02:52 +03:00
Alexey Milovidov
213a6dedbd
dbms: probably fixed error [#METR-18611].
2015-11-02 22:19:29 +03:00
Andrey Mironov
37ba429c1e
dbms: handle ALIAS columns differently, support them in ARRAY JOIN. [#METR-18221]
2015-10-29 18:42:40 +03:00
Alexey Milovidov
6f00b5949c
dbms: fixed ARRAY JOIN when joined array is not used, but original is used [#METR-18406].
2015-10-22 23:56:52 +03:00
Alexey Milovidov
9b0da24558
dbms: allowed to GROUP BY constants with no aggregates [#METR-18298].
2015-10-22 00:43:42 +03:00
Alexey Arno
3d7a3bcd92
dbms: Server: Fixed typo in comment. [#METR-18155]
2015-10-15 16:07:35 +03:00
Alexey Arno
f4d2d42ea8
dbms: Server: Fixed bug in query analysis ordering. [#METR-18155]
2015-10-15 14:07:39 +03:00
Andrey Mironov
797b947425
dbms: add concatAssumeInjective [#METR-18261]
2015-10-14 15:50:21 +03:00
Alexey Milovidov
fefd3791f1
Moved files [#METR-17973].
2015-10-05 03:33:43 +03:00
Alexey Milovidov
28f67084a4
Merge
2015-09-30 01:31:22 +03:00
Alexey Milovidov
9be353dd28
dbms: added old modification [#METR-2944].
2015-09-30 01:30:59 +03:00
Alexey Arno
8bdb8f93c0
Merge
2015-09-29 17:40:23 +03:00
Alexey Arno
1cae6e8b54
Merge
2015-09-18 16:36:10 +03:00
Alexey Milovidov
8e23685201
dbms: allowed tuples with one element; allowed empty sets [#METR-18020].
2015-09-11 23:58:44 +03:00
Alexey Milovidov
4e54056c66
dbms: allowed to specify duplicate columns in JOIN subquery [#METR-17664].
2015-09-09 03:52:35 +03:00
Alexey Milovidov
8d25390c48
dbms: fixed error [#METR-17758].
2015-09-06 01:47:13 +03:00
Alexey Milovidov
87465416b0
dbms: pull method for GLOBAL subqueries: supported JOINs [#METR-17758].
2015-09-05 04:53:16 +03:00