Grokbase Groups Hive user May 2011
FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categorieshive, hadoop
postedMay 6, '11 at 10:07p
activeMay 6, '11 at 10:07p
posts1
users1
websitehive.apache.org

1 user in discussion

Jonathan Bender: 1 post

People

Translate

site design / logo © 2021 Grokbase