Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: BigDecimal support in hive

$
0
0

Using string values in the HBase price table mapped to a hive decimal datatype column in the hive table defaults to decimal(10,0).
My data is visible, but has no decimal places … not very useful.

My input prices come in with different precisions/scales.
That’s why I need to map then to java BigDecimals on the input side.
I know I can store the price value as a string or BigDecimal in the Hbase column
I know I can map the string hbase value to a string hive value.

I need to know if hive can map either the string or binary column value to a useful numeric hive datatype.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>