{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7194","labels_url":"https://api.github.com/repos/apache/spark/issues/7194/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7194/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7194/events","html_url":"https://github.com/apache/spark/pull/7194","id":92697612,"number":7194,"title":"[SPARK-8797] [SPARK-9146] [WIP] Fix comparison of NaN values in Spark SQL","user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-07-02T18:03:38Z","updated_at":"2015-07-18T02:01:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7194","html_url":"https://github.com/apache/spark/pull/7194","diff_url":"https://github.com/apache/spark/pull/7194.diff","patch_url":"https://github.com/apache/spark/pull/7194.patch"},"body":"This patch addresses an issue where queries that sorted float or double columns containing NaN values could fail with \"Comparison method violates its general contract!\" errors from TimSort.  The root of this problem is that `NaN > anything`, `NaN == anything`, and `NaN < anything` all return `false`.\r\n\r\nPer the design specified in SPARK-9079, we have decided that `NaN = NaN` should return true and that NaN should appear last when sorting in ascending order (i.e. it is larger than any other numeric value)."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/122468716","html_url":"https://github.com/apache/spark/pull/7194#issuecomment-122468716","issue_url":"https://api.github.com/repos/apache/spark/issues/7194","id":122468716,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T02:01:51Z","updated_at":"2015-07-18T02:01:51Z","body":"Merged build finished. Test FAILed."}}