{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/19993","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/19993/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/19993/comments","events_url":"https://api.github.com/repos/apache/spark/issues/19993/events","html_url":"https://github.com/apache/spark/pull/19993","id":282509298,"number":19993,"title":"[SPARK-22799][ML] Bucketizer should throw exception if single- and multi-column params are both set","user":{"login":"mgaido91","id":8821783,"avatar_url":"https://avatars1.githubusercontent.com/u/8821783?v=4","gravatar_id":"","url":"https://api.github.com/users/mgaido91","html_url":"https://github.com/mgaido91","followers_url":"https://api.github.com/users/mgaido91/followers","following_url":"https://api.github.com/users/mgaido91/following{/other_user}","gists_url":"https://api.github.com/users/mgaido91/gists{/gist_id}","starred_url":"https://api.github.com/users/mgaido91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgaido91/subscriptions","organizations_url":"https://api.github.com/users/mgaido91/orgs","repos_url":"https://api.github.com/users/mgaido91/repos","events_url":"https://api.github.com/users/mgaido91/events{/privacy}","received_events_url":"https://api.github.com/users/mgaido91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-12-15T18:23:42Z","updated_at":"2017-12-19T18:30:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/19993","html_url":"https://github.com/apache/spark/pull/19993","diff_url":"https://github.com/apache/spark/pull/19993.diff","patch_url":"https://github.com/apache/spark/pull/19993.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nCurrently there is a mixed situation when both single- and multi-column are supported. In some cases exceptions are thrown, in others only a warning log is emitted. In this discussion https://issues.apache.org/jira/browse/SPARK-8418?focusedCommentId=16275049&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16275049, the decision was to throw an exception.\r\n\r\nThe PR throws an exception in `Bucketizer`, instead of logging a warning.\r\n\r\n## How was this patch tested?\r\n\r\nmodified UT\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/352845868","html_url":"https://github.com/apache/spark/pull/19993#issuecomment-352845868","issue_url":"https://api.github.com/repos/apache/spark/issues/19993","id":352845868,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars1.githubusercontent.com/u/8108735?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T18:30:25Z","updated_at":"2017-12-19T18:30:25Z","author_association":"NONE","body":"**[Test build #85124 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/85124/testReport)** for PR 19993 at commit [`9f56800`](https://github.com/apache/spark/commit/9f5680032e93ef392fb76d4518ab8a4b0f479aae).\n * This patch **fails MiMa tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}