SavtechSolutions commented on issue #3269: NIFI-5960 add compatibility rating to RECORD schemas URL: https://github.com/apache/nifi/pull/3269#issuecomment-465535245 The range goes -1..100, not 0..100. The reason is because a schema with rating 0 (all nullable fields) is still a valid backup choice, if we can't find anything better. So I either had to make the formula more complex, or to have the "incompatible" value be outside of range (I chose the latter). As for why using integers - I prefer not to deal with floating point arithmetic unless it's genuinely necessary.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
