haridsv opened a new pull request, #2160: URL: https://github.com/apache/phoenix/pull/2160
When a NULL is bound to a parameter that is inside a CASE expression of an UPSERT statement, an NPE is being generated in both client side and server side. This patch adds a null check in both places and adds a few tests. The tests that actully fail without the fix are: - testBindWithComplexCasePHOENIX_7615 - testBindNullOnDuplicateKeyIsNull - testBindNullOnDuplicateKeyIsNotNull2 Others were added to confirm that there is no issue and have been left to prevent regression. -- 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]
