incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sushanth Sowmyan <khorg...@gmail.com>
Subject Re: Selective updates using HCatOutputFormat.setSchema()?
Date Fri, 04 Nov 2011 21:48:46 GMT
Yes, it is possible to do that, and it is intended :) - your table
still has col1 and col3 as part of its schema, and when people read
that table, they will get nulls for col1 and col3.

-Sushanth

On Thu, Nov 3, 2011 at 2:57 PM, Francis Christopher Liu
<fcliu@yahoo-inc.com> wrote:
> Hi,
> I'd like to clarify wether this selective column updates are supported as
> part of HCatOutputFormat.setSchema().
> If I have an unpartitioned table:
> foo(int col1, int col2, int col3)
> Would it be possible for me to just pass column "col2" when calling
> setSchema? For columnar stores (ie Hbase) it would be more efficient just to
> write out the values that we want updated instead of the entire row.
> -Francis

Mime
View raw message