alejandro-anadon commented on pull request #1342: URL: https://github.com/apache/phoenix/pull/1342#issuecomment-962999312
(I apologies if this is not the correct place to say following, but I think that if somebody read this conversation may get the the same doubt that I had about regarding SQL spec) I read the following article I clarified my ideas: https://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/ It remenber me a puzzle that I read in this book (http://www.javapuzzlers.com/) where you can have a instance like this: --- if (a!=a) System.out.println('Hello!! I am here"); --- And the mesage will be shown. How? well... initializating a like: double a = Math.log(-1); In this case, a is 'NaN'; and java spec saiys that 'NaN' is not equal to anything... neither NaN, so ' NaN != NaN' is true. -- 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]
