That's a typo - the max precision is 38. Would you mind filing a JIRA so we don't forget to update it? Thanks, James
On Monday, September 15, 2014, Chagarlamudi, Prasanth < [email protected]> wrote: > Good afternoon, > Is the max precision of DECIMAL data type 18 or is it a typo? > > I noticed the following on the phoenix website > DECIMAL > Data type with fixed precision and scale. The maximum precision is 18 > digits. Mapped to java.math.BigDecimal. The binary representation is binary > comparable, variable length format. When used in a row key, it is > terminated with a null byte unless it is the last column. > Link to the DECIMAL data type page: > http://phoenix.apache.org/language/datatypes.html#decimal_type > > Thanks > Prasanth Chagarlamudi > > ________________________________ > > This e-mail and files transmitted with it are confidential, and are > intended solely for the use of the individual or entity to whom this e-mail > is addressed. If you are not the intended recipient, or the employee or > agent responsible to deliver it to the intended recipient, you are hereby > notified that any dissemination, distribution or copying of this > communication is strictly prohibited. If you are not one of the named > recipient(s) or otherwise have reason to believe that you received this > message in error, please immediately notify sender by e-mail, and destroy > the original message. Thank You. >
