Re: DECIMAL precision is too small

2014-06-28 Thread Lefty Leverenz
What was your work-around? (If it's generally applicable, we could include it in the documentation.) -- Lefty On Sat, Jun 28, 2014 at 10:08 AM, Brian Jeltema < brian.jelt...@digitalenvoy.net> wrote: > Hive doesn’t support a BigDecimal data type, as far as I know. It supports > a Decimal type t

Re: DECIMAL precision is too small

2014-06-28 Thread Brian Jeltema
Hive doesn’t support a BigDecimal data type, as far as I know. It supports a Decimal type that is based on BigDecimal, but the precision is limited to 38 digits. However, I found a way to work around the limitation, so it’s no longer an issue for me. Brian On Jun 28, 2014, at 8:22 AM, sumit gh

Re: DECIMAL precision is too small

2014-06-28 Thread sumit ghosh
Did you try BigDecimal? It is the same datatype as Java BigDecimal. On Thursday, 26 June 2014 8:34 AM, Brian Jeltema wrote: Sorry, I meant 128 bit On Jun 26, 2014, at 11:31 AM, Brian Jeltema wrote: > I need to represent an unsigned 64-bit value as a Hive DECIMAL. The current > precisi