You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "lewy-startree (via GitHub)" <gi...@apache.org> on 2023/05/11 14:44:13 UTC

[GitHub] [pinot] lewy-startree commented on issue #10743: RFE: Pinot Java client: option to avoid converting BigDecimal to double when serializing results into JSON

lewy-startree commented on issue #10743:
URL: https://github.com/apache/pinot/issues/10743#issuecomment-1544118709

   The implementation difference is in [bytesToBigDecimal](https://github.com/apache/pinot/blob/master/pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java#L89) . 
   The 0.9.0 version converts it to string, whereas the latest version returns BigDecimal directly
   `return BigDecimalUtils.deserialize(bytes).toString;`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org