You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/04/06 00:58:37 UTC

[GitHub] [incubator-pinot] Jackie-Jiang opened a new pull request #6745: Format large long values into string in the json query response

Jackie-Jiang opened a new pull request #6745:
URL: https://github.com/apache/incubator-pinot/pull/6745


   ## Description
   For issue: #5829 
   JavaScript has a safe integer range that it can preserve the exact integral value. If a number is out of the range, representing it using JavaScript Number will lose precision.
   This PR formats the non-safe values within the json query response into string so that the client (including the Query Console UI) can parse the values correctly.
   
   ## Release Notes
   The non-safe integral numbers (not in range (-2^53 to 2^53)) will be converted to string within the json response. The client code should not assume the values are always numbers for number result types.


-- 
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.

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


[GitHub] [incubator-pinot] Jackie-Jiang closed pull request #6745: Format large long values into string in the json query response

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang closed pull request #6745:
URL: https://github.com/apache/incubator-pinot/pull/6745


   


-- 
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.

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


[GitHub] [incubator-pinot] Jackie-Jiang commented on pull request #6745: Format large long values into string in the json query response

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on pull request #6745:
URL: https://github.com/apache/incubator-pinot/pull/6745#issuecomment-820834260


   This change could potentially break the client code. Decide to handle the large values in the pinot query console UI.


-- 
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.

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