ClickHouse/programs/copier
Amos Bird 264cff6415
Projections
TODO (suggested by Nikolai)

1. Build query plan fro current query (inside storage::read) up to WithMergableState
2. Check, that plan is simple enough: Aggregating - Expression - Filter - ReadFromStorage (or simplier)
3. Check, that filter is the same as filter in projection, and also expression calculates the same aggregation keys as in projection
4. Return WithMergableState if projection applies

3 will be easier to do with ActionsDAG, cause it sees all functions, and dependencies are direct (but it is possible with ExpressionActions also)

Also need to figure out how prewhere works for projections, and
row_filter_policies.

wip
2021-05-11 18:12:23 +08:00
..
Aliases.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
clickhouse-copier.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
ClusterCopier.cpp Projections 2021-05-11 18:12:23 +08:00
ClusterCopier.h Replace all Context references with std::weak_ptr (#22297) 2021-04-11 02:33:54 +03:00
ClusterCopierApp.cpp Replace all Context references with std::weak_ptr (#22297) 2021-04-11 02:33:54 +03:00
ClusterCopierApp.h Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
ClusterPartition.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Maybe better support for paths with whitespaces 2021-04-24 22:47:52 +03:00
Internals.cpp Readability of error message for ORDER BY 2021-04-11 20:40:00 -04:00
Internals.h try enable atomic database by default 2020-09-21 13:55:34 +03:00
ShardPartition.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
ShardPartitionPiece.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
TaskCluster.h [ClickHouse][Copier] Improve copier work 2021-03-19 20:51:29 +08:00
TaskTableAndShard.h remove more stringstreams 2020-11-10 21:22:26 +03:00
ZooKeeperStaff.h Avoid errors due to implicit int<->bool conversions when using ZK API 2020-06-12 18:09:12 +03:00