The documentation for the DECIMAL type on the phoenix docs here: http://phoenix.apache.org/language/datatypes.html#decimal_type
says that the maximum number of digits is 18. This does not match the PDataType.MAX_PRECISION constant of 38. Furthermore, I have tested this by sending by sending a high precision BigDecimal on a round trip through DECIMAL.toBytes() and then DECIMAL.toObject(), and from what I can tell it supports a precision of up to 38 digits. My suspicion then is that the documentation is wrong and the 18 should be 38. Can someone confirm? --Kyle Buzsaki
