rubenada commented on PR #5213:
URL: https://github.com/apache/calcite/pull/5213#issuecomment-7098294430

   LGTM.
   
   There seems to be some inconsistencies or outdated statements on the 
description compared to the actual code (but this is not blocking IMO):
   - _Schema factories check required operands with requireNonNull, so a 
missing operand fails with NullPointerException naming it (host for Cassandra, 
database for MongoDB, sqlFilePath and ibdDataFileBasePath for InnoDB, 
locatorHost and locatorPort for Geode)_ => the code uses `castNonNull` instead 
of `requireNonNull`, so no NPE would happen.
   - _DruidQuery.isValidLeafCast ... return false for a type without a family_ 
=> new code is `castNonNull(toFamily).contains(...)`, so it still throws an NPE
   - _JsonFunctions.jsonObjectAggAdd and jsonArrayAggAdd take Map<String, 
@Nullable Object> and List<@Nullable Object> instead of raw types_ => does not 
seem to be the case
   
   Apart from that:
   - Should we consider this a breaking change? In the sense that 
`checker-qual` is no longer exported, so downstream code importing its 
annotations transitively would stop compiling, wouldn't it? In that case, maybe 
a new item in `history.md` breaking changes section for next release would be 
adequate to not forget about it.
   - Should we create a follow-up ticket to conduct this change in Avatica?
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to