{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11294","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11294/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11294/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11294/events","html_url":"https://github.com/apache/spark/pull/11294","id":135267487,"number":11294,"title":"[SPARK-13424][SQL] Improve test coverage of EnsureRequirements [WIP]","user":{"login":"hvanhovell","id":9616802,"avatar_url":"https://avatars.githubusercontent.com/u/9616802?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanhovell","html_url":"https://github.com/hvanhovell","followers_url":"https://api.github.com/users/hvanhovell/followers","following_url":"https://api.github.com/users/hvanhovell/following{/other_user}","gists_url":"https://api.github.com/users/hvanhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanhovell/subscriptions","organizations_url":"https://api.github.com/users/hvanhovell/orgs","repos_url":"https://api.github.com/users/hvanhovell/repos","events_url":"https://api.github.com/users/hvanhovell/events{/privacy}","received_events_url":"https://api.github.com/users/hvanhovell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-21T22:15:56Z","updated_at":"2016-02-21T22:31:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11294","html_url":"https://github.com/apache/spark/pull/11294","diff_url":"https://github.com/apache/spark/pull/11294.diff","patch_url":"https://github.com/apache/spark/pull/11294.patch"},"body":"### What changes were proposed in this pull request?\r\nImprove the testing of the `EnsureRequirements` planner rule. This is a Work-in-Progress. The PR currently only consolidates a number of existing tests, and moves a few which should be in the `org.apache.spark.sql.execution.exchange` package. The plan is to create a test matrix to test every possible combination of the following dimensions:\r\n- Distributions & Partitions\r\n  - UnspecifiedDistribution\r\n  - AllTuples\r\n  - ClusteredDistribution\r\n    - Partial clustered distribution\r\n  - OrderedDistribution\r\n  - BroadcastDistribution\r\n- The number of partitions.\r\n- Sorting\r\n  - Partial ordering\r\n\r\n### How was the this patch tested?\r\nThis is a test-only PR\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/186934695","html_url":"https://github.com/apache/spark/pull/11294#issuecomment-186934695","issue_url":"https://api.github.com/repos/apache/spark/issues/11294","id":186934695,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","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":"2016-02-21T22:31:29Z","updated_at":"2016-02-21T22:31:29Z","body":"**[Test build #51645 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/51645/consoleFull)** for PR 11294 at commit [`4f85344`](https://github.com/apache/spark/commit/4f85344da4875a90694951be3d083357adbaf3cf)."}}