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
clickhouse-copier.cpp
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
ClusterPartition.h
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
ShardPartition.h
ShardPartitionPiece.h
TaskCluster.h [ClickHouse][Copier] Improve copier work 2021-03-19 20:51:29 +08:00
TaskTableAndShard.h
ZooKeeperStaff.h