summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorVarun Gupta <varunraiko1803@gmail.com>2017-06-22 21:43:45 +0530
committerVarun Gupta <varunraiko1803@gmail.com>2017-11-01 23:13:01 +0530
commit280945bf29095da1c8aacdcba37aecce605fc127 (patch)
treeee666aac083d2b402212cee2455c9056366ac924 /sql/item_sum.h
parentfadfe447e8d9b1244341bd5ed94bb7f8eb623f18 (diff)
downloadmariadb-git-280945bf29095da1c8aacdcba37aecce605fc127.tar.gz
MDEV-12985: support percentile and median window functions
Finalised the synatax and have started implementing the class for the PERCENTILE_DISC
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index 7845ed3318f..467a77c8983 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -354,7 +354,8 @@ public:
VARIANCE_FUNC, SUM_BIT_FUNC, UDF_SUM_FUNC, GROUP_CONCAT_FUNC,
ROW_NUMBER_FUNC, RANK_FUNC, DENSE_RANK_FUNC, PERCENT_RANK_FUNC,
CUME_DIST_FUNC, NTILE_FUNC, FIRST_VALUE_FUNC, LAST_VALUE_FUNC,
- NTH_VALUE_FUNC, LEAD_FUNC, LAG_FUNC
+ NTH_VALUE_FUNC, LEAD_FUNC, LAG_FUNC, PERCENTILE_CONT_FUNC,
+ PERCENTILE_DISC_FUNC
};
Item **ref_by; /* pointer to a ref to the object used to register it */