{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10737","labels_url":"https://api.github.com/repos/apache/spark/issues/10737/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10737/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10737/events","html_url":"https://github.com/apache/spark/pull/10737","id":126363481,"number":10737,"title":"[SPARK-12771][SQL] Improve CaseWhen codegen by removing \"got\" variable with \"if/else\"","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-13T07:53:09Z","updated_at":"2016-01-14T10:01:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10737","html_url":"https://github.com/apache/spark/pull/10737","diff_url":"https://github.com/apache/spark/pull/10737.diff","patch_url":"https://github.com/apache/spark/pull/10737.patch"},"body":"JIRA: https://issues.apache.org/jira/browse/SPARK-12771\r\n\r\nFrom JIRA description: The generated code for CaseWhen uses a control variable \"got\" to make sure we do not evaluate more branches once a branch is true. Changing that to generate just simple \"if / else\" would be slightly more efficient.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/171592803","html_url":"https://github.com/apache/spark/pull/10737#issuecomment-171592803","issue_url":"https://api.github.com/repos/apache/spark/issues/10737","id":171592803,"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":"2016-01-14T10:01:54Z","updated_at":"2016-01-14T10:01:54Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49393/\nTest PASSed."}}