Closed aboisvert closed 1 month ago
@aboisvert thanks, this looks great
Let me know if you want to submit further PRs, if so I'll wait for those to land before releasing. If not I can cut a release now for this one
Great, thanks! I'd prefer releasing now since we need this fix. That will give me more time to address the others.
@aboisvert 0.1.10 should be out
When doing a
.leftJoin()
operation, it's often the case that the right hand side will consist of all null values if the join expression does not match a row.In my case, I was using an
java.time.Instant
-typed field, and I was getting exceptions such as,The short of it is that
Dialect.InstantType
, which is aTypeMapper[Instant]
didn't allow NULL values to go through.The fix is trivial - just adding a
null
pass-through for the match expression.PS: Similar to InstantType, I noticed that some other TypeMappers do not pass NULL values through. If this PR looks like the right approach to solve this, I can submit a different PR that addresses these other issues.