Re: define global constants in pig script

2012-07-29 Thread Haitao Yao
Yes, this is just what I'm looking for. thanks. Haitao Yao yao.e...@gmail.com weibo: @haitao_yao Skype: haitao.yao.final 在 2012-7-27,下午5:26, Jonathan Coveney 写道: > Pig already has this! :) > http://pig.apache.org/docs/r0.10.0/cont.html#parameter-sub > > Unless I'm really misunderstanding what

Re: Getting the byte size of a map

2012-07-29 Thread Harsh J
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