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

Preliminary implementation for the aggregate sum function as a window function

This implementation does not deal with the case where removal of
elements from the window frame causes the item to turn to a null value.
This commit is contained in:
Vicențiu Ciorbaru
2016-03-14 15:42:00 +02:00
parent ce8a0d8e19
commit a0c06ba1ed
5 changed files with 104 additions and 4 deletions

View File

@ -1584,6 +1584,7 @@ bool JOIN::process_window_functions(List<Item> *curr_fields_list)
}
case Item_sum::COUNT_FUNC:
case Item_sum::SUM_BIT_FUNC:
case Item_sum::SUM_FUNC:
{
/*
Frame-aware window function computation. It does one pass, but