Type definition in ExprFunctions.hpp

I need to write a self-defined function in ExprFunctions.hpp, which is called in a GSQL query. One of the arguments of the function is a MapAccum<int, edge_tuple>, where edge_tuple is a self-defined tuple type. But I keep getting errors saying the function is not defined when trying to install the query. My guess is that the MapAccum<int, edge_tuple> doesn’t match the type defined in the function, but I’m not sure how to fix it. Thanks.

Please find the example below

template
inline void test_map (MapAccum<int64_t, tup> map) {
return;
}

1 Like