armitage420 commented on code in PR #5584: URL: https://github.com/apache/hive/pull/5584#discussion_r1902989986
########## serde/src/java/org/apache/hadoop/hive/serde2/json/HiveJsonReader.java: ########## @@ -172,7 +173,7 @@ public HiveJsonReader(ObjectInspector oi) { public HiveJsonReader(ObjectInspector oi, TimestampParser tsParser) { this.tsParser = tsParser; this.oi = oi; - this.objectMapper = new ObjectMapper(); + this.objectMapper = new ObjectMapper().enable(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS); Review Comment: @Indhumathi27 Thank you so much for your review! The changes are required for all decimal types as jackson is not using BigDecimal even for big numbers. Hence the numbers are getting rounded off. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org