-Re: Simplifying schema?
Jesse Jackson 2012-12-08, 19:28
Good Afternoon Tim,
What I've done is in my next command is something like this:
NewBag = foreach oldBag generate e::d::c::b::a::column1 as column1,
e::d::c::b::a::column2 as column2;
then your down to more manageable names.
On Sat, Dec 8, 2012 at 1:48 PM, Chan, Tim <[EMAIL PROTECTED]> wrote:
> After many joins, my relation's schema because very verbose.
> For example:
> e::d::c::b::a::column1:bytearray, e::d::c::b::a::column2:bytearray
> Is there a way simplify the schema back to:
> column1:bytearray, column2:bytearray
> I seem to be able to achieve this by doing a STORE then LOAD, but this
> doesn't seem very efficient.