Syntax to pass a databag to a UDF (or the built in function SIZEOF)

9 views
Skip to first unread message

Santhosh Swaminathan

unread,
Feb 3, 2016, 3:41:53 PM2/3/16
to cubert-users
I am looking for syntax to pass the entire databag to a UDF. I found out that the SIZEOF built in function takes a databag and outputs a tuple. But could you please share an example of how a databag can be passed while scripting? In pig we can achieve this by passing the relation as the argument of the UDF. But in Cubert, I get compile error.
 
Reply all
Reply to author
Forward
0 new messages