You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
1. Implement bit_count() distributed function.
2. Handle hexadecimal string literals in buildReturnedColumn().
This commit is contained in:
@ -365,6 +365,23 @@ public:
|
||||
};
|
||||
|
||||
|
||||
/** @brief Func_bit_count class
|
||||
*/
|
||||
class Func_bit_count : public Func_Int
|
||||
{
|
||||
public:
|
||||
Func_bit_count() : Func_Int("bit_count") {}
|
||||
virtual ~Func_bit_count() {}
|
||||
|
||||
execplan::CalpontSystemCatalog::ColType operationType(FunctionParm& fp, execplan::CalpontSystemCatalog::ColType& resultType);
|
||||
|
||||
int64_t getIntVal(rowgroup::Row& row,
|
||||
FunctionParm& fp,
|
||||
bool& isNull,
|
||||
execplan::CalpontSystemCatalog::ColType& op_ct);
|
||||
};
|
||||
|
||||
|
||||
/** @brief Func_hour class
|
||||
*/
|
||||
class Func_hour : public Func_Int
|
||||
|
Reference in New Issue
Block a user