nizarhejazi commented on code in PR #8503: URL: https://github.com/apache/pinot/pull/8503#discussion_r860288151
########## pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/JsonToPinotSchema.java: ########## @@ -78,6 +78,10 @@ public class JsonToPinotSchema extends AbstractBaseAdminCommand implements Comma + "JSON string, can be NONE/NON_PRIMITIVE/ALL") String _collectionNotUnnestedToJson; + @CommandLine.Option(names = {"-parseExactBigDecimal"}, description = "Whether to parse exact BigDecimal or parse " + + "BigDecimal as doubles, default to false") + Boolean _parseExactBigDecimal = false; Review Comment: The problem here is that attempting to parse BigDecimal as is may result in doubles (in some occasions) being parsed as BigDecimal and sometimes float being parsed as BigDecimal which is a backward incompatible change. -- 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-unsubscr...@pinot.apache.org 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