hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mahender bigdata <Mahender.BigD...@outlook.com>
Subject How to set default value for a certain field
Date Fri, 19 Feb 2016 22:47:09 GMT
Hi,

is there Ideal solution in Hive to specify default values at schema 
level. Currently we are using *COALESCE *operator in converting null 
values to default value, this would require reading entire table. But it 
would be nice if some one has different approach of setting default 
values for Columns @ Schema level.

Thanks in advance


Mime
View raw message