Clone
Volodymyr Vysotskyi <vvovyk@gmail.com>
committed
on 22 Nov
DRILL-7450: Improve performance for ANALYZE command
- Implement two-phase aggregation for the lowest metadata aggregate to optimize performa… Show more
DRILL-7450: Improve performance for ANALYZE command

- Implement two-phase aggregation for the lowest metadata aggregate to optimize performance

- Allow using complex functions with hash aggregate

- Use hash aggregation for PHASE_1of2 for ANALYZE to reduce memory usage and avoid sorting non-aggregated data

- Add sort above hash aggregation to fix correctness of merge exchange and stream aggregate

closes #1907

Show less