Hey all,

I have a quick question about using a select statement as an input to a user
defined function.

I have a table TABLE, with columns (segment_ID STRING, user_IDs
map<STRING,STRING>)

I have a UDF myfunction (map<STRING,STRING> A).

If i did tried to do this statement: myfunction(SELECT user_IDs from TABLE
WHERE segment_ID = "foo"), could I get the actual stored map object out of
that or would that mismatch types?  Any elegant way of doing this?

Cheers,
Jon

Reply via email to