You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
MCOL-1698 get DISTINCT working for UDAnF
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
#define UTILS_WF_UDAF_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <tr1/unordered_set>
|
||||
#include <tr1/unordered_map>
|
||||
#else
|
||||
#include <unordered_set>
|
||||
#include <unordered_map>
|
||||
#endif
|
||||
#include "windowfunctiontype.h"
|
||||
#include "mcsv1_udaf.h"
|
||||
@@ -83,6 +83,11 @@ public:
|
||||
return fDistinct;
|
||||
}
|
||||
|
||||
void setDistinct(bool d = true)
|
||||
{
|
||||
fDistinct = d;
|
||||
}
|
||||
|
||||
protected:
|
||||
void SetUDAFValue(static_any::any& valOut, int64_t colOut, int64_t b, int64_t e, int64_t c);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user