[feature](window-func) support percent_rank window function (#30926)

This commit is contained in:
yangshijie
2024-02-08 14:13:34 +08:00
committed by yiguolei
parent 5cfd7c2a1c
commit 40e1326bc9
18 changed files with 513 additions and 4 deletions

View File

@ -353,7 +353,7 @@ Status VAnalyticEvalNode::_get_next_for_range(size_t current_block_rows) {
_window_end_position < current_block_rows) {
if (_current_row_position >= _order_by_end.pos) {
_update_order_by_range();
_executor.execute(_order_by_start.pos, _order_by_end.pos, _order_by_start.pos,
_executor.execute(_partition_by_start.pos, _partition_by_end.pos, _order_by_start.pos,
_order_by_end.pos);
}
_executor.insert_result(current_block_rows);