Here's a recent issue identified by the checker framework. The bug was
committed in CALCITE-4251 a couple of hours ago.
https://github.com/apache/calcite/commit/f3c173c9220a83be0dfa0c80a39b015f384ffcd1#diff-639d388c38e469c9329bdf0456d429be21a5031ea6d59188e8abb7e4173e5e4aR699

org/apache/calcite/rel/rules/LoptMultiJoin.java:723: error:
[dereference.of.nullable] dereference of possibly-null reference colOrigin
      if (colOrigin != null || !*colOrigin.isDerived*()) {
                               * ^*

It means colOrigin.isDerived() would fail with NPE in case colOrigin is null
.

Vladimir

Reply via email to