{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10734","labels_url":"https://api.github.com/repos/apache/spark/issues/10734/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10734/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10734/events","html_url":"https://github.com/apache/spark/pull/10734","id":126333425,"number":10734,"title":"[SPARK-12791][SQL] Simplify CaseWhen by breaking \"branches\" into \"conditions\" and \"values\"","user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-13T03:34:37Z","updated_at":"2016-01-13T07:04:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10734","html_url":"https://github.com/apache/spark/pull/10734","diff_url":"https://github.com/apache/spark/pull/10734.diff","patch_url":"https://github.com/apache/spark/pull/10734.patch"},"body":"This pull request rewrites CaseWhen expression to break the single, monolithic \"branches\" field into a sequence of tuples: (\"conditions\" and \"values\").\r\n\r\nPrior to this pull request, each even position in \"branches\" represents the condition for each branch, and each odd position represents the value for each branch. The use of them have been pretty confusing with a lot sliding windows or grouped(2) calls.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/171197638","html_url":"https://github.com/apache/spark/pull/10734#issuecomment-171197638","issue_url":"https://api.github.com/repos/apache/spark/issues/10734","id":171197638,"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-13T07:04:50Z","updated_at":"2016-01-13T07:04:50Z","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49299/\nTest FAILed."}}