Re: Nested types in ORC

2014-09-09 Thread Prasanth Jayachandran
Yes. It does now. Thanks Prasanth Jayachandran On Sep 9, 2014, at 12:30 AM, Abhishek Agarwal wrote: > Thanks Prasanth. Does it also mean that a query reading nested.k column will > invariably read nested.v as well even if nested.v column in not used in the > query? > > On Mon, Sep 8, 2014

Re: Nested types in ORC

2014-09-09 Thread Abhishek Agarwal
Thanks Prasanth. Does it also mean that a query reading nested.k column will invariably read nested.v as well even if nested.v column in not used in the query? On Mon, Sep 8, 2014 at 11:29 PM, Prasanth Jayachandran < pjayachand...@hortonworks.com> wrote: > Hi > > ORC stores nested fields as separ

Re: Nested types in ORC

2014-09-08 Thread Prasanth Jayachandran
Hi ORC stores nested fields as separate columns. For example: The following table create table orc_nested (key string, nested struct, zip long) stored as orc; will be flattened and stored as separated columns like below key, nested, nested.k, nested.v, zip you can have a look at the structure of