{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21848","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21848/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21848/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21848/events","html_url":"https://github.com/apache/spark/pull/21848","id":343726340,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMjkwNTQ5","number":21848,"title":"[SPARK-24890] [SQL] Short circuiting the `if` condition when `trueValue` and `falseValue` are the same","user":{"login":"dbtsai","id":1134574,"node_id":"MDQ6VXNlcjExMzQ1NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1134574?v=4","gravatar_id":"","url":"https://api.github.com/users/dbtsai","html_url":"https://github.com/dbtsai","followers_url":"https://api.github.com/users/dbtsai/followers","following_url":"https://api.github.com/users/dbtsai/following{/other_user}","gists_url":"https://api.github.com/users/dbtsai/gists{/gist_id}","starred_url":"https://api.github.com/users/dbtsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbtsai/subscriptions","organizations_url":"https://api.github.com/users/dbtsai/orgs","repos_url":"https://api.github.com/users/dbtsai/repos","events_url":"https://api.github.com/users/dbtsai/events{/privacy}","received_events_url":"https://api.github.com/users/dbtsai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-07-23T17:32:52Z","updated_at":"2018-07-24T23:20:34Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21848","html_url":"https://github.com/apache/spark/pull/21848","diff_url":"https://github.com/apache/spark/pull/21848.diff","patch_url":"https://github.com/apache/spark/pull/21848.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWhen `trueValue` and `falseValue` are semantic equivalence, the condition expression in `if` can be removed to avoid extra computation in runtime.\r\n\r\n## How was this patch tested?\r\n\r\nTest added."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/407582750","html_url":"https://github.com/apache/spark/pull/21848#issuecomment-407582750","issue_url":"https://api.github.com/repos/apache/spark/issues/21848","id":407582750,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzU4Mjc1MA==","user":{"login":"dbtsai","id":1134574,"node_id":"MDQ6VXNlcjExMzQ1NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1134574?v=4","gravatar_id":"","url":"https://api.github.com/users/dbtsai","html_url":"https://github.com/dbtsai","followers_url":"https://api.github.com/users/dbtsai/followers","following_url":"https://api.github.com/users/dbtsai/following{/other_user}","gists_url":"https://api.github.com/users/dbtsai/gists{/gist_id}","starred_url":"https://api.github.com/users/dbtsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbtsai/subscriptions","organizations_url":"https://api.github.com/users/dbtsai/orgs","repos_url":"https://api.github.com/users/dbtsai/repos","events_url":"https://api.github.com/users/dbtsai/events{/privacy}","received_events_url":"https://api.github.com/users/dbtsai/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T23:20:34Z","updated_at":"2018-07-24T23:20:34Z","author_association":"MEMBER","body":"Here is a followup PR for making `AssertTrue` and `AssertNotNull` `non-deterministic` https://issues.apache.org/jira/browse/SPARK-24913"}}
{"actor":{"display_login":"dbtsai"}}