Reply
Explorer
Posts: 11
Registered: ‎07-28-2016

How to read Decimal variables differently in Apache Phoenix?

When I am inserting a data in a collumn with a Decimal data type, as 10 it is getting inserted.

 

Now, when I access the data with Select Query, it is being read as 1E+1..

I want to read it as 10 only...

 

How can I do the same, what could be the issue?

Posts: 1,903
Kudos: 435
Solutions: 307
Registered: ‎07-31-2013

Re: How to read Decimal variables differently in Apache Phoenix?

Please add details on what client you use to query your Phoenix data.

The issue is more of a client display one vs. the data itself being morphed in that form in storage.