jackjlli opened a new pull request #6005:
URL: https://github.com/apache/incubator-pinot/pull/6005


   ## Description
   This PR fixes the extract method in AvroRecordExtractor class.
   
   When `_extractAll` is true, the generic record will be first converted to a 
json String and then parse to a json map, whereas json object has its precision 
limitation:
   https://developers.google.com/discovery/v1/type-format
   
   E.g. the column1 was originally of long type. But when it was converted to 
json string and then parse to a json map, the type would be changed to int. 
Thus, the actual value will be incorrect from the json map comparing to the 
actual value from generic record.
   
   This PR fixes it by fetching the actual value directly from the original 
generic record.
   


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to