|
|
-
Getting the byte size of a map
Benjamin Juhn 2012-07-27, 17:58
Do I need to create a udf for this is or is there something out there?
Thanks, Ben
+
Benjamin Juhn 2012-07-27, 17:58
-
Re: Getting the byte size of a map
Jonathan Coveney 2012-07-27, 19:05
you'd need to make a UDF afaik, though if you dig around there may be code that already does this (I'd look at Tuple's implementation of getting its own size and see if it has something that does it for maps)
2012/7/27 Benjamin Juhn <[EMAIL PROTECTED]>
> Do I need to create a udf for this is or is there something out there? > > Thanks, > Ben >
+
Jonathan Coveney 2012-07-27, 19:05
-
Re: Getting the byte size of a map
Harsh J 2012-07-29, 19:31
Byte size as in the runtime memory size of the map object or its serialized byte size? Cause the latter can get complex to compute with different storages and different storage options, right?
Or if you meant a trivial thing such as Map.size(), then nvm.
On Sat, Jul 28, 2012 at 12:35 AM, Jonathan Coveney <[EMAIL PROTECTED]> wrote: > you'd need to make a UDF afaik, though if you dig around there may be code > that already does this (I'd look at Tuple's implementation of getting its > own size and see if it has something that does it for maps) > > 2012/7/27 Benjamin Juhn <[EMAIL PROTECTED]> > >> Do I need to create a udf for this is or is there something out there? >> >> Thanks, >> Ben >>
-- Harsh J
+
Harsh J 2012-07-29, 19:31
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext