Add new udafs and RMR support to gsprintconsole_ves
[com/gs-lite.git] / cfg / external_fcns.def
index b506319..9a97a5c 100644 (file)
@@ -1,4 +1,4 @@
- ///////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////
 //          Matching predicates
 ///////////////////////////////////////////////////////////
         PRED [LFTA_LEGAL, COST HIGH]str_exists_substr[string, string];
@@ -750,6 +750,12 @@ uint FUN [LFTA_LEGAL, COST EXPENSIVE]
 
        string UDAF [HFTA_ONLY] CAT_aggr fstring8 (string, string);
 
+////////////////////////////////////////////////////////////////
+//     string aggregation via catenation, only collect strings different than the previous
+//////////////////////////////////////////////////////
+
+       string UDAF [HFTA_ONLY,RUNNING] CAT_aggr_diff fstring8 (string);
+
 ///////////////////////////////////////////////////////////
 //               integer array aggregation function
 //     We are going to store 4 values in LFTA in fixed size buffer