1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Implement ntile window function.

The current implementation does not allow for a dynamic expression
within the sum function's parameter.
This commit is contained in:
Vicențiu Ciorbaru
2016-04-04 17:06:12 +03:00
parent a5d300814c
commit be3902fceb
8 changed files with 588 additions and 1 deletions

View File

@ -1745,6 +1745,7 @@ bool Window_func_runner::setup(THD *thd)
case Item_sum::AVG_FUNC:
case Item_sum::PERCENT_RANK_FUNC:
case Item_sum::CUME_DIST_FUNC:
case Item_sum::NTILE_FUNC:
{
/*
Frame-aware window function computation. It does one pass, but