MCPcopy Create free account
hub / github.com/apache/madlib / svec_to_string

Function svec_to_string

methods/svec_util/src/pg_gp/svec_util.c:64–69  ·  view source on GitHub ↗

* svec_to_string - converts a sparse vector to a text */

Source from the content-addressed store, hash-verified

62 * svec_to_string - converts a sparse vector to a text
63 */
64Datum svec_to_string(PG_FUNCTION_ARGS)
65{
66 SvecType *svec = PG_GETARG_SVECTYPE_P(0);
67 char *result = svec_out_internal(svec);
68 PG_RETURN_TEXT_P(cstring_to_text(result));
69}
70
71PG_FUNCTION_INFO_V1(svec_from_string);
72/**

Callers

nothing calls this directly

Calls 1

svec_out_internalFunction · 0.85

Tested by

no test coverage detected