vdimir
33ebdb283c
Split ExpressionAnalyzer::analyzeAggregation
2021-09-01 15:05:47 +03:00
vdimir
3443b3b5c4
Separate functoin buildJoinedPlan, minor refactoring
2021-08-31 15:27:44 +03:00
Amos Bird
9bdd9c912e
update as suggested
2021-07-30 20:19:39 +08:00
Amos Bird
0558ecdc3f
Aggressive IN index analysis for projections.
2021-07-14 22:56:52 +08:00
kssenii
02681019f8
Fix
2021-07-03 08:48:42 +00:00
Nikolai Kochetov
d5bd2b1fa9
Merge pull request #25719 from ClickHouse/remove-PrewhereDAGInfo
...
Remove PrewhereDAGInfo.
2021-06-29 18:58:03 +03:00
Nikolai Kochetov
6bc0a628cd
Remove PrewhereDAGInfo.
2021-06-25 17:49:28 +03:00
vdimir
eb85c5a8e7
Fix assert with non uint8 in prewhere
2021-06-21 15:32:29 +03:00
Amos Bird
9dfa4c06bd
Try reusing built sets during multi-pass analysis
2021-06-03 22:06:05 +08:00
Maksim Kita
150a88d647
ExpressionActions compile only necessary places
2021-05-19 11:43:16 +03:00
Amos Bird
718c284437
Fix more tests
2021-05-11 18:12:28 +08:00
Amos Bird
42f161b1dc
Fix more
2021-05-11 18:12:28 +08:00
Nikolai Kochetov
3d5b61d63f
Fix fuild.
2021-04-30 13:18:01 +03:00
Nikolai Kochetov
b500c420b9
Fix build and style.
2021-04-29 17:14:23 +03:00
Nikolai Kochetov
69ddca1d73
Refactor join step, part 3
2021-04-28 20:32:12 +03:00
Nikolai Kochetov
a51a380645
Refactor join step, part 1
2021-04-27 17:00:16 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Alexey Milovidov
230b2930b7
Merge branch 'master' into virtualutil
2021-03-30 00:43:00 +03:00
Nikolai Kochetov
4f133ae036
Merge branch 'master' into refactor-actions-dag
2021-03-10 12:40:55 +03:00
Vladimir
6ec19b2632
Merge pull request #19885 from ClickHouse/vdimir/join-cast-types-v2
2021-03-09 09:30:50 +03:00
Nikolai Kochetov
a669f7d641
Merge branch 'master' into refactor-actions-dag
2021-03-05 18:21:14 +03:00
vdimir
b0f6f30298
Revert "Refactor join: make IJoin implementations independent from TableJoin"
...
This reverts commit e6406c3f4c
.
2021-03-05 17:34:43 +03:00
Nikolai Kochetov
fc415952ce
Try fix test.
2021-03-05 16:56:44 +03:00
vdimir
e6406c3f4c
Refactor join: make IJoin implementations independent from TableJoin
2021-03-05 16:38:49 +03:00
Amos Bird
fac832227c
Fix again
2021-03-04 19:43:03 +08:00
Amos Bird
9205fad8c7
Better
2021-03-04 19:43:03 +08:00
Amos Bird
93b661ad5a
partition id pruning
2021-03-04 19:43:03 +08:00
vdimir
456414beea
Fix converting join on keys, move actions into TableJoin
2021-02-19 14:28:41 +03:00
vdimir
a378bd08aa
Perform implicit type conversion for JOIN ON keys
2021-02-19 14:28:40 +03:00
vdimir
9b79ab2ac0
Fix style in appendJoin
2021-02-19 14:28:40 +03:00
vdimir
435f63f42b
Calculate common type for join using in TreeRewriter
...
Split before_join and converting_join_columns dags
Add more detailed comments for column type conversion for join using
2021-02-19 14:28:32 +03:00
vdimir
d15c1a203b
Fix TableJoin, upd 01675_join_implicit_cast
2021-02-19 14:24:34 +03:00
vdimir
4c36cd1737
Add converting step for 'join using'
2021-02-19 14:24:28 +03:00
Denis Glazachev
99a04b6c64
Merge branch 'master' into row-policy-with-prewhere
...
* master: (759 commits)
Suppress UBSan report in Decimal comparison
Suppress UBSan report in Decimal comparison
Fix UBSan report in arrayDifference
Update README.md
Non significant change in AggregationCommon
Print stack trace on SIGTRAP
Fix dependent test
Fix tests for better parallel run
Add test for already working code
Revert "Fix access control manager destruction order"
Update index.md
Update index.md
Update index.md
Bit more complicated example for isIPv4String - ru
Bit more complicated example for isIPv4String
cleanup
Replace database with ordinary
Added comments
Split tests to make them stable
Fixes
...
# Conflicts:
# src/Storages/MergeTree/MergeTreeRangeReader.cpp
2021-02-14 02:24:00 +04:00
Denis Glazachev
79592b73f8
Store filter info in prewhere info instead of multiple prewheres
...
Some cleanups
2021-02-14 02:07:13 +04:00
Alexander Kuzmenkov
5519e4c134
unbounded following frame end
2021-01-30 04:16:44 +03:00
Alexander Kuzmenkov
703731c547
something works
2021-01-13 22:29:52 +03:00
Alexander Kuzmenkov
5bd025a180
fix DISTINCT and ORDER BY
2020-12-25 06:13:30 +03:00
Alexander Kuzmenkov
844239b1c3
tmp fixes (split me)
2020-12-24 07:03:33 +03:00
Alexander Kuzmenkov
f2b25c708c
review fixes
2020-12-22 22:01:15 +03:00
Alexander Kuzmenkov
52ace7a3d1
one plan step per window
2020-12-22 04:37:45 +03:00
Alexander Kuzmenkov
a75ca3cb79
Merge remote-tracking branch 'origin/master' into tmp
2020-12-15 03:36:43 +03:00
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
Alexander Kuzmenkov
88e7bc5b60
Merge origin/master into tmp (using imerge)
2020-12-10 22:12:42 +03:00
Alexander Kuzmenkov
ac8b896f36
returning constant column as window function
2020-12-10 22:06:52 +03:00
Alexander Kuzmenkov
eb0c817bf2
expression analyzer part
2020-12-09 14:14:40 +03:00
philip.han
93ec2db45b
Fix typo
2020-12-04 18:24:42 +09:00
Alexander Kuzmenkov
8ee86e35d2
debug
2020-12-02 21:16:31 +03:00
alexey-milovidov
49af4ff7c9
Merge pull request #16988 from CurtizJ/fix-perf-storage-merge
...
Fix performance with Merge table over huge number of MergeTree tables
2020-11-29 20:46:29 +03:00
Anton Popov
1e24d6085a
fix performance with Merge table over huge number of MergeTree tables
2020-11-13 18:56:25 +03:00
Nikolai Kochetov
58c4a7b890
Some renames.
2020-11-11 19:52:27 +03:00
Nikolai Kochetov
9aeb757da4
Merge branch 'master' into actions-dag-f14
2020-11-06 15:04:20 +03:00
Nikolai Kochetov
7b61f5d641
Refactor more
2020-11-03 22:05:47 +03:00
Nikolai Kochetov
07a7c46b89
Refactor ExpressionActions [Part 3]
2020-11-03 14:28:28 +03:00
Nikolai Kochetov
ceb83602b8
Refactor
2020-11-02 15:07:01 +03:00
nikitamikhaylov
d908cddb49
done
2020-10-23 22:09:02 +03:00
Nikolai Kochetov
23afd74e1c
Update InterpreterSelectQuery.
2020-10-13 17:55:22 +03:00
Nikolai Kochetov
53d4e5d195
Merge branch 'master' into expression-dag
2020-09-29 12:15:50 +03:00
Artem Zuikov
28afbafa08
fix crash in RIGHT or FULL JOIN switch
2020-09-18 19:25:20 +03:00
Nikolai Kochetov
4aed515e19
Add ExpressionDAG [Part 5].
2020-09-13 16:51:31 +03:00
Nikolai Kochetov
b461f97e4a
Add ExpressionDAG [Part 4].
2020-09-11 15:24:41 +03:00
Nikolai Kochetov
1cae264eae
Add ExpressionDAG [Part 3].
2020-09-10 21:36:51 +03:00
Nikolai Kochetov
c1469aff93
Add ExpressionDAG [Part 2].
2020-09-10 19:01:41 +03:00
alexey-milovidov
f2e9a09b11
Merge pull request #14585 from ClickHouse/join-processor
...
Remove Join from ExpressionActions
2020-09-08 23:56:09 +03:00
Nikolai Kochetov
39aad9979a
Remove Join from ExpressionActions.
2020-09-08 13:40:53 +03:00
Nikolai Kochetov
acfd35a908
Update QueryPipeline::addCreatingSetsTransform
2020-09-02 16:04:54 +03:00
Nikolai Kochetov
85d0f1a480
Add ARRAY JOIN to ActionsChain
2020-08-14 21:24:19 +03:00
Nikolai Kochetov
95bbda3667
Specify columns after ARRAY JOIN and JOIN.
...
Add ArrayJoinTransform and ArrayJoinStep.
2020-08-14 21:24:03 +03:00
Artem Zuikov
2afd123eda
Refactoring: extract TreeOptimizer from SyntaxAnalyzer ( #12645 )
2020-07-22 20:13:05 +03:00
Artem Zuikov
d573005b04
place left join keys in before_join actions
2020-06-26 02:10:37 +03:00
Artem Zuikov
9637dad462
keep ArrayJoin optimisation
2020-06-25 23:59:10 +03:00
Artem Zuikov
801efc387a
extract JOIN in own plan step
2020-06-25 20:40:25 +03:00
alesapin
b9e74f4e82
Merge branch 'master' into atomic_metadata5
2020-06-22 12:03:53 +03:00
Nikolai Kochetov
819ea4fb89
Fix tests.
2020-06-20 16:48:21 +03:00
alesapin
d4c49816ab
Really atomic metadata
2020-06-18 14:02:31 +03:00
alesapin
ba04d02f1e
Compilable sorting key in metadata
2020-06-17 14:05:11 +03:00
alesapin
62f2c17a66
Secondary indices in StorageInMemoryMetadata
2020-06-17 12:38:47 +03:00
Alexey Milovidov
2cd82a25f5
Remove trivial count query optimization if row-level security is set #11352
2020-06-13 23:59:20 +03:00
Dmitry
47778c0259
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-21 23:45:12 +03:00
Artem Zuikov
9b38324028
fix JOIN with PREWHERE with second analyze() ( #11051 )
2020-05-20 12:29:23 +03:00
Dmitry
d9ac0e8fef
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-26 14:44:06 +03:00
Alexey Milovidov
0a7edce036
Checkpoint
2020-04-22 09:01:33 +03:00
Dmitry
25cd4ce132
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-18 12:56:34 +03:00
Artem Zuikov
8d6f641796
join over dictionary concept
2020-04-08 21:59:52 +03:00
Artem Zuikov
8297683972
renames: AnalyzedJoin -> TableJoin, Join -> HashJoin ( #10065 )
2020-04-07 12:48:47 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00