alexey-milovidov
a4e9c59aa3
Merge pull request #4648 from 4ertus2/joins
...
Refactoring: move JOIN conversions to InterpreterSelectQuery
2019-03-11 22:17:58 +03:00
Ivan Lezhankin
a3a8b2bbf7
Include IAST_fwd.h for using ASTPtr
2019-03-11 17:01:45 +03:00
Ivan Lezhankin
d1ead22073
Rename As<…> → as<…>
2019-03-11 16:22:51 +03:00
Ivan Lezhankin
1e9f7847dc
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-11 16:11:22 +03:00
chertus
c089d5b88a
CrossToInnerJoinVisitor before JoinToSubqueryTransformVisitor
2019-03-11 16:08:51 +03:00
Ivan Lezhankin
a7e838e328
Replace all other casts to method IAST::As<Derived>
...
Also remove some redundant methods like IsIdentifier() et. al.
2019-03-11 15:49:39 +03:00
chertus
04f5584d72
move JOIn convertions to InterpreterSelectQuery
2019-03-11 15:20:55 +03:00
chertus
09a3b24cbc
join kind helpers
2019-03-11 14:14:09 +03:00
Ivan Lezhankin
0e325c7a4a
Replace const typeid_casts with As<Derived>() method invocations
2019-03-08 12:48:20 +03:00
Alexey Zatelepin
3344955154
separate Read and Write lock holders, better method names
2019-03-07 21:10:21 +03:00
zhang2014
fb44b6692a
rename setting name
2019-03-04 10:09:44 +08:00
zhang2014
b696ef34d2
Add max_execution_speed & min_execution_bytes_speed & max_execution_bytes_speed
2019-03-02 15:08:02 +08:00
alexey-milovidov
ee903886e6
Merge pull request #4387 from abyss7/CLICKHOUSE-4268
...
Improve push-down logic for joined statements
2019-03-02 04:19:50 +03:00
Alexey Zatelepin
0d7ab9e3ea
allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
...
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
Ivan Lezhankin
c8eefb3927
Always modify subqueries if modifying inplace
...
to support push-down while analyzing.
2019-02-26 13:18:12 +03:00
Ivan Lezhankin
0a443399a0
Implement the debug query "ANALYZE"
...
that prints out the query after syntax analysis.
Should be helpful for tests.
2019-02-26 13:17:25 +03:00
Alexey Milovidov
58a6accee5
Updated test #4246
2019-02-10 19:55:12 +03:00
Alexey Milovidov
d22b52b933
Allow constant expressions in LIMIT BY and TOP; fixed error #4246
2019-02-10 18:27:27 +03:00
Alexey Milovidov
c603d270f4
Cleanups #4246
2019-02-10 18:17:45 +03:00
alexey-milovidov
75c087bcf5
Merge branch 'master' into arbitrary-const-expressions-in-limit
2019-02-10 17:20:31 +03:00
Vitaliy Karnienko
d9da430982
add arbitrary const expressions in limit processing
2019-02-03 21:31:17 +03:00
alexey-milovidov
fdfb60318c
Merge pull request #4193 from 4ertus2/ast
...
Refactoring: extract SubqueryForSet to own files
2019-02-02 15:28:31 +03:00
chertus
866c2b2e78
move required right keys calculation to Join.cpp
2019-01-30 18:51:39 +03:00
chertus
d6450bc488
Refactoring: extract SubqueryForSet to own files
2019-01-30 15:01:00 +03:00
Ivan Lezhankin
05ab15cc84
Merge IBlockInputStream
and IProfilingBlockInputStream
into one
2019-01-23 17:48:50 +03:00
maiha
6c83beafdd
dbms: Fixed misspells in comments
2019-01-23 04:56:53 +09:00
chertus
8bb35ac987
minor changes
2019-01-16 21:38:19 +03:00
Alexey Milovidov
e8871bc211
Added a check #3837
2019-01-16 03:26:15 +03:00
chertus
729ca697d9
minor SyntaxAnalyzer refactoring
2019-01-09 19:16:59 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Samuel Chou
fcde47b45e
Ensure ROLLUP and CUBE respect HAVING (no change to TOTALS)
2018-12-14 22:27:40 -08:00
Nikolai Kochetov
2fc0643bc9
Do not use table column aliases in prewhere alias action source columns
2018-12-05 19:36:26 +03:00
alexey-milovidov
48b30edcf5
Merge branch 'master' into alter-order-by
2018-12-02 21:06:38 +03:00
alexey-milovidov
bf7b68cf95
Merge pull request #3689 from abyss7/CLICKHOUSE-3936
...
CLICKHOUSE-3936
2018-12-01 01:50:04 +03:00
Alexey Milovidov
97280bb361
Whitespace [#CLICKHOUSE-2]
2018-11-28 21:28:30 +03:00
Ivan
448846fc0d
Merge branch 'master' into CLICKHOUSE-3936
2018-11-28 18:59:57 +03:00
Ivan Lezhankin
8b5a05947c
Remove redundant information from RWLock.
...
And fix broken exception in some race conditions
2018-11-28 18:50:52 +03:00
Alexey Milovidov
52fea90a86
Removed useless code [#CLICKHOUSE-2]
2018-11-28 17:33:40 +03:00
Alexey Zatelepin
d3d9242462
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Parsers/ASTAlterQuery.h
dbms/src/Parsers/ParserAlterQuery.cpp
dbms/src/Storages/AlterCommands.cpp
dbms/src/Storages/AlterCommands.h
2018-11-26 16:01:48 +03:00
Alexey Milovidov
dbbacf4f87
Added more style checks [#CLICKHOUSE-3]
2018-11-23 21:52:00 +03:00
Alexey Zatelepin
29b34365e6
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Interpreters/ExpressionAnalyzer.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
2018-11-13 16:27:19 +03:00
Alexey Zatelepin
7167bfd7b3
fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859]
2018-11-13 16:15:12 +03:00
Nikolai Kochetov
1e9aeba603
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-09 18:01:18 +03:00
Nikolai Kochetov
726ae0cb9a
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-08 19:47:12 +03:00
Nikolai Kochetov
7a5cfc7a6d
Skip columns from prewhere_info->remove_columns_actions in prewhere result for alias source columns. [#CLICKHOUSE-4111]
2018-11-07 13:53:36 +03:00
Nikolai Kochetov
8df77930ec
Added InterpreterSelectQuery::unifyStreams
2018-11-06 14:44:45 +03:00
Nikolai Kochetov
d7992b11d8
Fix block structure mismatch in MergingSorted stream.
2018-11-06 13:11:37 +03:00
chertus
4ff0391ca6
DatabaseAndTableWithAlias - the only place for db & table expraction from AST
2018-10-30 19:31:21 +03:00
chertus
d2518fdb3f
more refactoring: funcs to extract database_and_table from AST
2018-10-29 22:04:28 +03:00
Nikolai Kochetov
d2f0925685
Uniform headers for union stream. #2156
2018-10-23 21:01:38 +03:00
Alexey Milovidov
50234013b5
Whitespaces [#CLICKHOUSE-4016]
2018-10-14 11:23:21 +03:00
Alexey Milovidov
e752271d99
Added check for invalid PREWHERE #3336
2018-10-11 23:52:25 +03:00
CurtizJ
16bea3d008
remove logs
2018-10-10 20:09:09 +03:00
CurtizJ
815380b8b2
fix unnecessarily preparations for join at initial server
2018-10-10 20:07:21 +03:00
alexey-milovidov
b9d1eb4154
Merge pull request #3298 from yandex/fix-prewhere-with-altered-columns
...
Fix prewhere with altered columns
2018-10-04 23:57:11 +03:00
Nikolai Kochetov
b1fa3fab9d
Fix prewhere whith final. #2827
2018-10-04 21:18:54 +03:00
zhang2014
6778220ffd
ISSUES-3232 remake interpreter_subquery when rewrite subqueries
2018-09-30 17:27:59 +08:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
Alexey Milovidov
8e7c6598e8
Added remerge step to process ORDER BY with LIMIT when memory usage is high #3179
2018-09-24 23:07:30 +03:00
alexey-milovidov
4a54a1c310
Merge pull request #3138 from yandex/low-cardinality-group-by
...
Low cardinality group by
2018-09-21 13:38:20 +03:00
CurtizJ
b89feb1572
replace bool by enum
2018-09-20 20:51:42 +03:00
CurtizJ
8644853558
optimize
2018-09-20 18:46:37 +03:00
CurtizJ
43951e4879
add test
2018-09-17 22:16:51 +03:00
CurtizJ
8c9fe80d2d
add modificator cube
2018-09-17 21:01:04 +03:00
Nikolai Kochetov
16ed282dfc
Fix build.
2018-09-14 12:42:38 +03:00
Nikolai Kochetov
3dc5cd3a3a
Merged with master.
2018-09-14 12:14:37 +03:00
Nikolai Kochetov
4674beb900
Shared cache for low cradinality single aggregation column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
787e814e4c
Low cardinality group by signle column. [#CLICKHOUSE-3903]
2018-09-14 11:03:02 +03:00
zhang2014
5834b42083
ISSUES-2560 fix crash when create temporary with in clause
2018-09-11 19:31:59 +08:00
Alexey Milovidov
c9b612de48
Attempt to fix CLICKHOUSE-3888 bug
2018-09-10 06:59:48 +03:00
Nikolai Kochetov
8b658f091d
Fix test.
2018-09-07 21:00:53 +03:00
Nikolai Kochetov
6e41be3476
Avoid removing columns used in sample expression in prewhere actions. [#CLICKHOUSE-3969]
2018-09-07 19:01:21 +03:00
Nikolai Kochetov
a6b51d1fc7
Fix virtual columns for prewhere with aliases.
2018-09-06 22:18:38 +03:00
Nikolai Kochetov
8593145794
Merged with master
2018-09-06 21:30:03 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
...
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
Nikolai Kochetov
641771f66f
Fix virtual columns for prewhere with aliases.
2018-09-06 20:45:49 +03:00
alesapin
f331b48c58
Fix build
2018-09-06 12:52:22 +03:00
Nikolai Kochetov
ee89ddb445
Fix removing source aliased columns. [#CLICKHOUSE-3965]
2018-09-06 12:41:42 +03:00
Alexander Sapin
03174e131d
Merge remote-tracking branch 'upstream/master'
2018-09-06 12:39:42 +03:00
Alexey Milovidov
9df01c1012
Style #2948
2018-09-06 04:06:30 +03:00
alexey-milovidov
0ca8e20e66
Merge pull request #2948 from CurtizJ/CLICKHOUSE-3893
...
CLICKHOUSE-3893 - Add modificator rollup.
2018-09-06 03:59:02 +03:00
Anton Popov
7f71bc4189
Update InterpreterSelectQuery.cpp
2018-09-05 19:29:13 +03:00
Anton Popov
e6d49c4c93
Update InterpreterSelectQuery.cpp
2018-09-05 19:28:30 +03:00
CurtizJ
472adf4ab9
add rollup to formatted query
2018-09-05 19:23:28 +03:00
CurtizJ
18da41afe3
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893
2018-09-05 12:49:02 +03:00
CurtizJ
a7bbf83c91
Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893""
...
This reverts commit cdb2c8a770
.
2018-09-05 12:47:57 +03:00
CurtizJ
cdb2c8a770
Revert "Merge branch 'master' into CLICKHOUSE-3893"
...
This reverts commit 0704da5756
, reversing
changes made to 4534d449c1
.
2018-09-05 12:45:57 +03:00
Nikolai Kochetov
8b9937ec51
More comments. [#CLICKHOUSE-3944]
2018-09-04 21:50:19 +03:00
Nikolai Kochetov
3c6db8ebc1
Fix prewhere with aliased columns. [#CLICKHOUSE-3944]
2018-09-04 21:28:01 +03:00
alesapin
11d248ba10
Resolve conflict
2018-09-03 13:11:10 +03:00
CurtizJ
3bc743c50d
do not merge blocks into one
2018-09-03 12:49:04 +03:00
alesapin
6e64067a70
CLICKHOUSE-3800: Move cache to context, change hashing algorithm, add drop instruction for compiled expressions cache
2018-08-30 19:31:20 +03:00
CurtizJ
a603595120
remove redundant code
2018-08-28 12:27:17 +03:00
Alexey Milovidov
5b257c588f
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:42:13 +03:00
Alexey Milovidov
aa936b09f9
Added check for max_block_size = 0 #2447
2018-08-25 19:32:44 +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
Alexey Milovidov
465ff07398
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-20 18:50:09 +03:00
Alexey Milovidov
2717185991
Modified names #2015
2018-08-20 18:49:39 +03:00
Nikolai Kochetov
b64bb8af14
Fix tests.
2018-08-20 15:57:31 +03:00
Nikolai Kochetov
391b4b5927
Merged with master.
2018-08-20 15:25:06 +03:00
alexey-milovidov
e7b671ec98
Merge branch 'master' into feature/ISSUES-863
2018-08-15 00:10:21 +03:00
Nikolai Kochetov
f4d9d50168
Merged with master.
2018-08-08 15:01:18 +03:00
Alexey Milovidov
207a2b8b3c
Fixed error #2795
2018-08-08 06:09:59 +03:00
Alexey Milovidov
28771401a9
Merging #2226
2018-08-05 10:06:58 +03:00
Alexey Milovidov
2016374d20
Merging #2226
2018-08-05 10:05:43 +03:00
alexey-milovidov
05c7a1971d
Update InterpreterSelectQuery.cpp
2018-08-05 08:29:12 +03:00
zhang2014
d61c53fc3e
ISSUES-863 support predicate push down with subquery
2018-08-01 17:56:02 +08:00
Alexey Zatelepin
55301ce1f0
create input streams for parts using InterpreterSelectQuery [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
f75fb6cd68
refactor InterpreterSelectQuery constructors [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Nikolai Kochetov
3a74ec7c0c
Mergred with master
2018-07-20 14:08:54 +03:00
alexey-milovidov
164425d1ec
Fix performance regression with prepared sets when they are used inside another subquery. ( #2677 )
...
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Updated documentation about ClickHouse testing [#CLICKHOUSE-2]
* Revert "Updated documentation about ClickHouse testing [#CLICKHOUSE-2]"
This reverts commit 9eafc13f3b
.
* Revert "Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]"
This reverts commit e28ad4b5fe
.
* Fixed test #2677
* Update InterpreterSelectQuery.cpp
2018-07-19 16:36:21 +03:00
Nikolai Kochetov
6e5e57353a
Review fixes. [#CLICKHOUSE-3694] #2156
2018-06-29 19:18:50 +03:00
Nikolai Kochetov
9f591b8d02
Merged with master.
2018-06-26 17:41:29 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Alexey Milovidov
045d5975b3
Fixed discrepancy between Query, SelectQuery, InsertQuery profile events [#CLICKHOUSE-3769]
2018-06-08 22:32:35 +03:00
Alexey Milovidov
f45c479a8b
Removed wrong query optimization [#CLICKHOUSE-3726]
2018-05-31 21:28:04 +03:00
Nikolai Kochetov
937cb2db29
Merged with master.
2018-05-21 14:38:50 +03:00
Nikolai Kochetov
530b99cee5
Added ConvertColumnWithDictionaryToFullBlockInputStream.
2018-05-04 14:39:15 +03:00
Nikolai Kochetov
7e45661a38
merged with master
2018-04-20 22:51:21 +03:00
Nikolai Kochetov
233ac6c599
style fixes
2018-04-20 22:38:34 +03:00
Alexey Milovidov
c087449023
Fixed error #2246
2018-04-20 22:14:04 +03:00
Nikolai Kochetov
a6375d6155
merged with master
2018-04-20 17:15:03 +03:00
Nikolai Kochetov
f5fe383620
fix build
2018-04-20 17:06:01 +03:00
Alexey Milovidov
a6c194fa6d
Insignificant change #2246
2018-04-19 23:32:56 +03:00
Nikolai Kochetov
a3308bf675
added IStorage::getQueryProcessingStage
2018-04-19 17:47:09 +03:00
Nikolai Kochetov
081f0feb56
fix test [#CLICKHOUSE-3694] #2156
2018-04-16 22:49:14 +03:00
Nikolai Kochetov
325f16f8a5
fix perf
2018-04-13 23:09:13 +03:00
Nikolai Kochetov
42f9a4d773
added PrewhereInfo [#CLICKHOUSE-3694] #2156
2018-04-11 22:10:08 +03:00
Nikolai Kochetov
c9abeed3f5
remove unused columns from prewhere actions [#CLICKHOUSE-3694] #2156
2018-04-11 22:08:53 +03:00
Alexey Milovidov
205d648e0d
Fixed error with timeout of distributed queries, part 1 #217 [#CLICKHOUSE-1942]
2018-04-02 21:01:25 +03:00
Alexey Milovidov
25a691f03d
Don't allow Distributed table that look at itself [#CLICKHOUSE-2919].
2018-03-16 05:08:31 +03:00
Alexey Milovidov
1656eafd8c
Revert "Attempt to fix regression: missing support for remote tables in IN section when querying Distributed tables [#CLICKHOUSE-2]"
...
This reverts commit d52f688883
.
2018-03-15 19:22:43 +03:00
Alexey Milovidov
d52f688883
Attempt to fix regression: missing support for remote tables in IN section when querying Distributed tables [#CLICKHOUSE-2]
2018-03-15 00:19:47 +03:00
alexey-milovidov
8bb3672bea
Update InterpreterSelectQuery.cpp
2018-03-14 05:42:48 +03:00
Alexey Zatelepin
fdffbe53ac
encapsulate ColumnsDeclaration [#CLICKHOUSE-3241]
2018-03-13 17:41:25 +03:00
Alexey Zatelepin
de1db216a5
getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241]
2018-03-12 23:21:54 +03:00
Alexey Zatelepin
71642b0880
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
2018-03-12 22:07:48 +03:00
Vitaliy Lyudvichenko
30b69c84ae
Fixed Illegal PREWHERE error for Merge tables over Distributed. [#CLICKHOUSE-3637]
2018-03-12 18:14:26 +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
7e7fe3c441
Execute table functions once for a query [#CLICKHOUSE-3615]
2018-03-02 08:44:17 +03:00
Alexey Milovidov
b162850754
Fixed error in checking limit on number of columns to read; added test for unnecessary columns removal inside subqueries with UNION ALL #1947 [#CLICKHOUSE-2210]
2018-03-01 11:46:59 +03:00
Alexey Milovidov
15dc5da190
Fixed error #1947
2018-03-01 09:07:04 +03:00
Alexey Milovidov
b9c8c04d4b
Fixed error #1947
2018-03-01 08:42:44 +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
f159be3832
Fixed error #1947
2018-03-01 07:42:18 +03:00
Alexey Milovidov
280b4663c1
Caching table functions in query context #1947
2018-03-01 04:49:36 +03:00
Alexey Milovidov
e0798edc09
Better UNION ALL: development #1947
2018-03-01 04:25:06 +03:00
Alexey Milovidov
73e208ff97
Better UNION ALL: development #1947
2018-02-28 05:32:34 +03:00
Alexey Milovidov
9ea0a603a0
Better UNION ALL: development #1947
2018-02-28 04:29:55 +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
417cc7f6e2
Better UNION ALL: development #1947
2018-02-26 13:19:47 +03:00
Alexey Milovidov
437ba4856b
Better UNION ALL: development #1947
2018-02-26 12:55:14 +03:00
Alexey Milovidov
ac37b89b16
Better UNION ALL: development #1947
2018-02-26 12:05:06 +03:00
Alexey Milovidov
6ef9917fe2
Better UNION ALL: development #1947
2018-02-26 09:12:59 +03:00
Alexey Milovidov
601ff1eee4
Simplification of AST #1947
2018-02-26 06:37:08 +03:00
Alexey Milovidov
6e93635275
Better UNION ALL: development #1947
2018-02-25 09:35:24 +03:00
Alexey Milovidov
ab594375ab
Better UNION ALL: development #1947
2018-02-25 03:50:53 +03:00
Alexey Milovidov
ffc1a76d28
Removed unused method #1947
2018-02-23 12:09:49 +03:00
Alexey Milovidov
0207760c05
Limit and quota on result must not apply for intermediate data in subqueries and INSERT SELECT [#CLICKHOUSE-3351]
2018-02-23 09:38:23 +03:00
Alexey Milovidov
1f029c3f15
Preparations #1947
2018-02-23 09:00:48 +03:00
Alexey Milovidov
72aac966b1
Fixed error with order of columns in FULL JOIN that may lead to segfault [#CLICKHOUSE-2]
2018-02-21 11:16:01 +03:00
Alexey Milovidov
4e3a0f0ac6
Fixed error [#CLICKHOUSE-2]
2018-02-21 09:25:21 +03:00
Alexey Milovidov
63a9f96198
Preparation [#CLICKHOUSE-2]
2018-02-21 06:49:10 +03:00
Alexey Milovidov
a890473c02
Preparation [#CLICKHOUSE-2]
2018-02-21 06:26:06 +03:00
Alexey Milovidov
fa6420b34d
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 04:14:38 +03:00
Alexey Milovidov
4add285d55
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 02:39:16 +03:00
Alexey Milovidov
ee4b5d2527
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 23:23:25 +03:00
Alexey Milovidov
7415513151
Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51
2018-02-18 08:35:48 +03:00
Alexey Milovidov
30b657a0da
Header in every stream: development [#CLICKHOUSE-2]
2018-02-15 21:54:12 +03:00
Alexey Milovidov
921e09b5f8
Merge branch 'master' into header-in-input-streams
2018-02-15 19:20:36 +03:00
Alexey Milovidov
03adf79fdc
Miscellaneous #320 #1763
2018-02-08 20:17:48 +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
zhang2014
f0e097ea4d
ISSUES-320 fix test failed
2018-01-26 00:57:48 +08:00
zhang2014
0f415424f8
ISSUES-320 fix failed test
2018-01-21 18:58:13 +08:00
zhang2014
054777a5ab
ISSUES-320 fix rewrite expression for union all
2018-01-21 17:29:55 +08:00
Alexey Milovidov
9a02d4f5ff
Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams
2018-01-20 04:20:40 +03:00
Amos Bird
00c35897fa
Get rid of unnecessary check
2018-01-15 11:18:52 +08:00
Alexey Milovidov
550053a0ca
Merge branch 'master' into header-in-input-streams
2018-01-10 03:05:51 +03:00
Alexey Milovidov
d5f6c8365e
Fixed test [#CLICKHOUSE-2].
2018-01-10 00:26:11 +03:00
Alexey Milovidov
fe880d73e7
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 03:19:58 +03:00
Alexey Milovidov
1780e6c1d9
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-08 04:14:43 +03:00
Alexey Milovidov
12c521fa25
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-07 03:35:44 +03:00
Alexey Milovidov
9996e181e1
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-06 21:10:44 +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
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
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Chen Yufei
11c1f0ecc1
Fix LimitBlockInputStream creation.
...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2017-12-24 08:21:30 +03:00
proller
4f2b4efa25
UNION ALL: mismatch size #1444 ( #1446 )
...
* UNION ALL: mismatch size #1444
* Fix test reference
* restore InterpreterSelectQuery::initQueryAnalyzer
2017-12-22 21:30:42 +03:00
Alexey Milovidov
7c802ee3de
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 05:37:08 +03:00
Alexey Milovidov
acd78e4891
Better [#CLICKHOUSE-2].
2017-12-02 00:13:25 +03:00
Alexey Milovidov
07d594c505
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:59:58 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
alexey-milovidov
942e59d459
Merge pull request #1455 from yandex/fix-mv-populate
...
Fix applying WHERE clause in MATERIALIZED VIEW with POPULATE
2017-11-19 23:01:23 +03:00
Alexey Zatelepin
d6b82a28fd
clone query when populating MaterializedView so that it is not garbled [#CLICKHOUSE-3412]
2017-11-05 20:50:12 +03:00
Alexey Milovidov
783e812eb7
Fixed error [#CLICKHOUSE-2]
2017-11-04 19:46:14 +03:00
proller
1e961cc69d
Fix complex queries with GLOBAL IN and UNION ALL (#CLICKHOUSE-3356) ( #1339 )
...
* TEST only: why initQueryAnalyzer ?
* Better tests
* missing file
* Missing file
* Add test
* Test fixes
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Better tests
* comment
* clean
* REmove wrong code
* clean
2017-10-13 00:28:24 +03:00
Alexey Milovidov
4bf1f39190
Fixed build [#CLICKHOUSE-2].
2017-09-12 20:21:02 +03:00
alexey-milovidov
af323d4e16
Update InterpreterSelectQuery.cpp
2017-09-12 20:06:31 +03:00
leozhang
a80ebcdbc2
fix union all bug #1059
2017-09-12 20:06:31 +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
e9ae193870
Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301].
2017-09-08 05:29:47 +03:00
Vitaliy Lyudvichenko
566160c048
Use FIFO lock in IStorage. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Alexey Zatelepin
64fa3ebc58
correctly choose number of merge threads for external aggregation [#CLICKHOUSE-2]
2017-07-25 22:43:23 +03:00
Alexey Zatelepin
4866a37a2b
fix selecting max_threads for MergingAggregatedBlockInputStream [#CLICKHOUSE-3156]
2017-07-18 23:40:23 +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
Nikolai Kochetov
75be0b81d8
removed typeid_cast from IColumn.h
2017-07-13 23:58:19 +03:00
Alexey Milovidov
032d12d431
Fixed translation error [#CLICKHOUSE-2].
2017-07-04 15:46:31 +03:00
Alexey Milovidov
727ce48c23
Fixed error with selecting number of threads for distributed query processing [#CLICKHOUSE-3115].
2017-07-04 00:04:10 +03:00
Alexey Zatelepin
8ee85e6440
calculate isRemote() from underlying tables of StorageMerge [#CLICKHOUSE-2911]
2017-06-15 22:24:59 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Alexey Milovidov
59ac7f8063
Preparation: untangle settings manipulation in InterpreterSelectQuery [#CLICKHOUSE-31].
2017-05-24 23:25:01 +03:00
Alexey Milovidov
cb83b200cb
Preparation [#CLICKHOUSE-31].
2017-05-24 23:13:04 +03:00
Alexey Milovidov
a822dedc45
Preparations, part 2 [#CLICKHOUSE-31].
2017-05-23 21:24:43 +03:00
Yuri Dyachenko
c6d6f2de3d
add DataStreams::DistinctSortedBlockInputStream
2017-04-14 23:00:44 +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
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +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
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +03:00
Artemkin Pavel
cc62477403
extra distinct pass was eliminated in case of single stream mode [#METR-23942] ( #492 )
2017-02-16 00:17:46 +04:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +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
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
artpaul
333d47ee2e
don't allow partial sort in case if LIMIT BY is present [#METR-23881]
2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12
fix calculation of condition for skipping all block [#METR-23881]
2016-12-30 16:15:17 +05:00
artpaul
1f49735581
disable some optimization related to LIMIT clause if LIMIT BY clause is present [#METR-23881]
2016-12-29 17:53:35 +05:00
artpaul
405382b092
getAliasOrColumnName instead of getColumnName [#METR-23881]
2016-12-29 15:42:08 +05:00
artpaul
3f064d9ff7
first dirty implementation of LIMIT BY clause [#METR-23881]
2016-12-28 20:12:54 +05:00
artpaul
9bfd80b412
style of constructor init list
2016-12-27 13:33:32 +05:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
artpaul
e1cda4b760
move impl of common parsers to cpp
2016-11-12 22:55:40 +05:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
Alexey Milovidov
6b2755bf2a
Non significant change [#METR-2944].
2016-09-23 23:33:06 +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
75632fe3ae
Better diagnostics [#METR-21926].
2016-06-30 23:39:35 +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
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
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
12363ed329
Added limited support for expressions in INSERT ... VALUES [#METR-20048].
2016-02-13 09:37:19 +03:00
Alexey Milovidov
b3e4adfb6d
dbms: fixed error [#METR-19758].
2016-01-24 09:38:10 +03:00
Alexey Milovidov
e720a53cf2
dbms: return early on WHERE 0 [#METR-19758].
2016-01-22 23:43:16 +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
9d16702f84
dbms: unconditionally move evaluation of storage ALIASes to InterpterSelectQuery [#METR-19317]
2015-12-15 17:15:06 +03:00
Alexey Milovidov
fa76a1a452
dbms: MergingAggregatedMemoryEfficientBlockInputStream: reading data in parallel [#METR-17000].
2015-12-05 07:20:37 +03:00
Alexey Milovidov
6859f2085e
dbms: fixed error with TOTALS [#METR-19259].
2015-12-04 23:33:38 +03:00
Alexey Milovidov
0ceb0280f7
dbms: added setting 'aggregation_memory_efficient_merge_threads' [#METR-17000].
2015-12-03 08:03:23 +03:00
Alexey Milovidov
99d7aa59b8
dbms: allowed to merge partial-aggregated streams memory-efficient in parallel [#METR-17000].
2015-12-02 01:35:48 +03:00
Alexey Milovidov
fe8f947a43
dbms: allowed external aggregation with non-parallel aggregation [#METR-17000].
2015-12-01 17:43:51 +03:00
Alexey Milovidov
48e840a199
dbms: external aggregation: development [#METR-17000].
2015-11-30 22:57:46 +03:00
Alexey Milovidov
83cf1f81ec
dbms: Aggregator: preparation [#METR-17000].
2015-11-30 19:57:05 +03:00
Alexey Milovidov
2d00e5d84f
dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847].
2015-11-20 00:34:53 +03:00
Alexey Milovidov
d21307c535
dbms: fixed error with views [#METR-18748].
2015-11-10 23:07:38 +03:00
Alexey Arno
29dc5f91d1
Merge
2015-11-06 20:44:01 +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
23144fb2c1
Revert "dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]."
...
This reverts commit d5a33de26e7f69f65d7c056394e6a1d70b3a3f2a.
2015-10-27 03:50:01 +03:00
Alexey Milovidov
6affd9f342
dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534].
2015-10-23 22:05:21 +03:00
Alexey Arno
5f17c9d55d
Merge
2015-10-12 17:53:16 +03:00
Alexey Milovidov
767a3c8090
dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561].
2015-09-04 22:40:55 +03:00
Alexey Milovidov
845758e378
Merge
2015-08-03 23:12:23 +03:00
Alexey Milovidov
70f4887d74
dbms: tiny modifications [#METR-2944].
2015-08-03 23:11:57 +03:00
Alexey Milovidov
5b0b5dc9cf
dbms: added memory-efficient mode of distributed aggregation [#METR-17536].
2015-07-31 02:41:02 +03:00
Alexey Milovidov
6acbf3db3e
dbms: fixed progress bar for INSERT SELECT and CREATE AS SELECT queries [#METR-17470].
2015-07-25 13:38:52 +03:00
Alexey Milovidov
d660d987ce
dbms: FULL and RIGHT JOIN: development [#METR-15418].
2015-07-22 22:43:09 +03:00
Alexey Milovidov
b0387d5ccf
dbms: FULL and RIGHT JOINs: partial implementation [#METR-15418].
2015-07-22 05:59:47 +03:00
Alexey Milovidov
d44cc0ca08
dbms: preparations [#METR-15418].
2015-07-22 04:46:35 +03:00
Alexey Milovidov
71ae4a9931
dbms: preparation [#METR-15418].
2015-07-22 03:59:22 +03:00
Alexey Milovidov
ca17e5f14a
dbms: FULL and RIGHT JOIN: preparation [#METR-15418].
2015-07-22 00:29:02 +03:00
Alexey Milovidov
45bfe8e361
dbms: fixed error with DISTINCT [#METR-17364].
2015-07-21 00:43:53 +03:00
Alexey Milovidov
c0e029bb1b
dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944].
2015-07-17 04:27:35 +03:00
Alexey Milovidov
6815bd7c00
dbms: addition to prev. revision [#METR-15553].
2015-07-15 05:58:28 +03:00
Alexey Milovidov
bc3a0de6ab
dbms: fixed GLOBAL IN inside subquery [#METR-15553].
2015-07-15 05:52:19 +03:00
Alexey Milovidov
226731128b
dbms: get rid of columns inside Context [#METR-15553].
2015-07-15 04:26:35 +03:00
Alexey Arno
aa30036fd4
dbms: Server: Cosmetic changes that make easier to read, understand, and maintain the code that handles UNION ALL. [#METR-14099]
2015-07-13 18:02:29 +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
0719320758
dbms: improvement [#METR-2944].
2015-06-18 05:11:05 +03:00
Alexey Milovidov
51be2693ee
dbms: addition to SETTINGS [#METR-16354].
2015-06-06 23:00:08 +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
0984363b9c
dbms: removed passing DataTypeFactory everywhere [#METR-16545].
2015-05-28 06:49:28 +03:00
Alexey Milovidov
566b62854b
dbms: more unform distribution of work among threads (experimental) [#METR-2944].
2015-05-11 03:11:22 +03:00
Alexey Milovidov
c57063be27
Merge
2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863
dbms: cut dependency [#METR-2944].
2015-05-07 02:35:37 +03:00
Alexey Arno
8ff005e909
dbms: Server: Fixed incorrect behavior with the DISTINCT keyword [#METR-14408]
2015-05-05 17:02:57 +03:00
Alexey Arno
14823c82a5
dbms: Server: Added comment. [#METR-15354]
2015-04-30 16:00:56 +03:00
Alexey Arno
999bc75dfe
dbms: Server: Removed unneeded optimization (ii). [#METR-14408]
2015-04-23 16:16:42 +03:00
Alexey Arno
7a755007eb
dbms: Server: Removed unneeded optimization. [#METR-14408]
2015-04-23 16:09:43 +03:00
Alexey Arno
a15052e0e6
Merge
2015-04-23 15:57:39 +03:00
Alexey Arno
80850909c7
Merge
2015-04-23 14:07:15 +03:00
Alexey Arno
543afcf58f
dbms: Server: More correct logic. It does not change functionality, but it adds coherency. [#METR-14408]
2015-04-22 01:28:42 +03:00
Alexey Arno
5136ffb2a6
dbms: Server: Simplified code. [#METR-14408]
2015-04-21 18:12:08 +03:00
Alexey Arno
8a317f076d
Merge
2015-04-17 16:56:29 +03:00
Alexey Milovidov
114b3de689
dbms: cut dependencies [#METR-2944].
2015-04-16 09:12:35 +03:00
Alexey Milovidov
0535438ea4
dbms: fixed bad code with GLOBAL operations [#METR-15144].
2015-03-15 11:05:28 +03:00
Alexey Milovidov
db2956eb73
dbms: removing duplicate elements from ORDER BY [#METR-2944].
2015-03-12 06:31:15 +03:00
Alexey Milovidov
ae4c458c5b
dbms: more uniform distribution of work among threads [#METR-2944].
2015-03-08 01:00:58 +03:00
Alexey Milovidov
b6f4d3d3e8
dbms: added setting 'group_by_two_level_threshold' for fine tuning [#METR-2944].
2015-02-22 08:51:16 +03:00
Alexey Arno
b5105ecdf7
dbms: Server: fixed bug in UNION ALL [#METR-15077]
2015-02-13 14:40:58 +03:00
Alexey Arno
e8902aa644
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-09 01:37:55 +03:00
Alexey Arno
35356191c9
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
28570a12ce
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:13 +03:00
Alexey Arno
e86abf0311
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:12 +03:00
Alexey Milovidov
ee98a3babc
dbms: fixed error with 'max_distributed_connections = 1' [#METR-14855].
2015-02-01 11:02:18 +03:00
Alexey Milovidov
d7e8251ad2
dbms: fixed error with IN [#METR-14678].
2015-01-22 23:56:40 +03:00
Alexey Milovidov
9947387bef
dbms: added distributed sorting [#METR-2944].
2015-01-18 11:27:28 +03:00
Alexey Milovidov
715f5bf8d1
dbms: fixed error with GLOBAL IN when one of shard is localhost [#METR-14557].
2015-01-14 05:44:25 +03:00
Alexey Milovidov
a7a988bdc3
dbms: removed setting asynchronous (useless, obsolete) [#METR-2944].
2015-01-13 03:36:26 +03:00
Alexey Milovidov
1f3e691fff
dbms: addition to prev. revision [#METR-2944].
2015-01-13 03:11:47 +03:00
Alexey Milovidov
ba732b6ba3
dbms: removed SplittingAggregator [#METR-2944].
2015-01-13 03:08:36 +03:00
Alexey Milovidov
a7a2712630
dbms: compiled aggregator: development [#METR-2944].
2015-01-10 05:30:03 +03:00
Alexey Milovidov
41a7fc50d6
dbms: added support for external sorting [#METR-2944].
2015-01-07 20:19:23 +03:00
Alexey Milovidov
8620b80d99
dbms: fixed collations; preparation to external sorting [#METR-2944].
2015-01-07 18:30:11 +03:00
Alexey Milovidov
6212e7080b
dbms: more scalable aggregator: development [#METR-2944].
2015-01-03 09:49:32 +03:00
Alexey Milovidov
221efeb82a
dbms: more scalable aggregator: development [#METR-2944].
2015-01-03 06:18:49 +03:00
Alexey Arno
2cdffef31c
dbms: Server: minimize the number of calls to executeUnion(). [#METR-14099]
2014-12-27 00:37:38 +03:00
Alexey Arno
b288819e2e
dbms: Server: add small performance improvement. [#METR-14099]
2014-12-26 13:35:03 +03:00
Alexey Arno
42b09c417e
dbms: Server: fix style. [#METR-14099]
2014-12-25 19:09:23 +03:00
Alexey Arno
461954f17a
dbms: Server: fix typo. [#METR-14099]
2014-12-25 18:29:22 +03:00
Alexey Arno
627143a537
dbms: Server: more optimizations, fixed indentation. [#METR-14099]
2014-12-25 18:27:03 +03:00
Alexey Arno
d52d26dcb5
dbms: Server: more optimizations. [#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
70d01a1696
dbms: Server: fixed function names according to naming convention, added more comments and functional tests. [#METR-14099]
2014-12-25 13:22:24 +03:00
Alexey Arno
82913caa2a
dbms: Server: update comments. [#METR-14099]
2014-12-24 18:30:15 +03:00
Alexey Arno
3cc4410c50
dbms: Server: add more optimizations and refactoring in InterpreterSelectQuery initialization. [#METR-14099]
2014-12-24 18:30:15 +03:00
Alexey Arno
008668b3da
dbms: Server: add optimization in InterpreterSelectQuery initialization. [#METR-14099]
2014-12-24 18:30:15 +03:00
Alexey Arno
b0256d0990
dbms: Server: Remove boilerplate code. [#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
Alexey Arno
3cd60f0aef
Merge
2014-12-20 00:26:08 +03:00
Alexey Arno
28055dde55
dbms: Server: fixed typo in function declaration [#METR-14408]
2014-12-20 00:19:48 +03:00
Alexey Milovidov
41a005ba73
dbms: style [#METR-2944].
2014-12-19 21:33:30 +03:00
Alexey Arno
5d23310cea
dbms: Server: execute queries from views with as most parallelism as possible [#METR-14408]
2014-12-19 18:56:12 +03:00
Alexey Arno
d5c8b52f7c
dbms: Server: added better diagnostic in union all type mismatch exceptions. [#METR-14099]
2014-12-19 16:10:48 +03:00
Alexey Arno
84456a08c3
dbms: Server: rewrite expression lists in each SELECT query of the UNION ALL chain, if needed. [#METR-14099]
2014-12-19 16:10:48 +03:00
Alexey Arno
747d2211d6
Remove code that turned out to be redudant. [#METR-14099]
2014-12-17 23:57:21 +03:00