You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-523 Add UDAF and UDAnF SDK
This commit is contained in:
6
dbcon/execplan/objectreader.cpp
Normal file → Executable file
6
dbcon/execplan/objectreader.cpp
Normal file → Executable file
@ -32,6 +32,7 @@
|
||||
#include "treenode.h"
|
||||
#include "returnedcolumn.h"
|
||||
#include "aggregatecolumn.h"
|
||||
#include "udafcolumn.h"
|
||||
#include "arithmeticcolumn.h"
|
||||
#include "constantcolumn.h"
|
||||
#include "functioncolumn.h"
|
||||
@ -121,6 +122,9 @@ TreeNode* ObjectReader::createTreeNode(messageqcpp::ByteStream& b) {
|
||||
case GROUPCONCATCOLUMN:
|
||||
ret = new GroupConcatColumn();
|
||||
break;
|
||||
case UDAFCOLUMN:
|
||||
ret = new UDAFColumn();
|
||||
break;
|
||||
case ARITHMETICCOLUMN:
|
||||
ret = new ArithmeticColumn();
|
||||
break;
|
||||
@ -293,6 +297,8 @@ void ObjectReader::checkType(messageqcpp::ByteStream& b, const CLASSID id)
|
||||
throw UnserializeException("Not a CalpontSelectExecutionPlan");
|
||||
case NULL_CLASS:
|
||||
throw UnserializeException("Not NULL"); // ??
|
||||
case MCSV1_CONTEXT:
|
||||
throw UnserializeException("Not a MCSV1_CONTEXT");
|
||||
default:
|
||||
throw UnserializeException("Bad id");
|
||||
}
|
||||
|
Reference in New Issue
Block a user