Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In StreamTableJoinOperator, we currently invoke the user join function again with null record if the first call to join function returns a null. This is not desirable in use cases for anti-join where subsequent invocation of join function could result in different results.
Optional.ofNullable(value) .map(val -> (R) KV.of(key, val) .map(record -> joinOpSpec.getJoinFn().apply(message, record)) .orElseGet(() -> joinOpSpec.getJoinFn().apply(message, null)); // this is the additional invocation that happens if the previous invocation returns a null
Attachments
Attachments
Issue Links
- links to