{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10484","labels_url":"https://api.github.com/repos/apache/spark/issues/10484/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10484/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10484/events","html_url":"https://github.com/apache/spark/pull/10484","id":123943087,"number":10484,"title":"[SPARK-12520] [PySpark] [1.5] Ensure the join type is `inner` for equi-Join. ","user":{"login":"gatorsmile","id":11567269,"avatar_url":"https://avatars.githubusercontent.com/u/11567269?v=3","gravatar_id":"","url":"https://api.github.com/users/gatorsmile","html_url":"https://github.com/gatorsmile","followers_url":"https://api.github.com/users/gatorsmile/followers","following_url":"https://api.github.com/users/gatorsmile/following{/other_user}","gists_url":"https://api.github.com/users/gatorsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gatorsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatorsmile/subscriptions","organizations_url":"https://api.github.com/users/gatorsmile/orgs","repos_url":"https://api.github.com/users/gatorsmile/repos","events_url":"https://api.github.com/users/gatorsmile/events{/privacy}","received_events_url":"https://api.github.com/users/gatorsmile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-26T18:28:15Z","updated_at":"2015-12-28T07:45:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10484","html_url":"https://github.com/apache/spark/pull/10484","diff_url":"https://github.com/apache/spark/pull/10484.diff","patch_url":"https://github.com/apache/spark/pull/10484.patch"},"body":"This PR is to add `assert` to ensure the join type is `inner` for equi-Join. \r\n\r\nJIRA: https://issues.apache.org/jira/browse/SPARK-12520\r\n \r\nIn the JIRA, users specify the join type `outer` when using the equi-join. However, the result we returned is the `inner` join, which is the only type Spark 1.5 supports. (Note, starting from Spark 1.6, we can support the other types for equi-join). \r\n\r\nFor example, \r\n```scala\r\njoined_table = left_table.join(right_table, \"joining_column\", \"outer\")\r\n```\r\n\r\nShould we also back port it to 1.4? @davies @JoshRosen Thanks!"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/167506415","html_url":"https://github.com/apache/spark/pull/10484#issuecomment-167506415","issue_url":"https://api.github.com/repos/apache/spark/issues/10484","id":167506415,"user":{"login":"gatorsmile","id":11567269,"avatar_url":"https://avatars.githubusercontent.com/u/11567269?v=3","gravatar_id":"","url":"https://api.github.com/users/gatorsmile","html_url":"https://github.com/gatorsmile","followers_url":"https://api.github.com/users/gatorsmile/followers","following_url":"https://api.github.com/users/gatorsmile/following{/other_user}","gists_url":"https://api.github.com/users/gatorsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gatorsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatorsmile/subscriptions","organizations_url":"https://api.github.com/users/gatorsmile/orgs","repos_url":"https://api.github.com/users/gatorsmile/repos","events_url":"https://api.github.com/users/gatorsmile/events{/privacy}","received_events_url":"https://api.github.com/users/gatorsmile/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T07:45:52Z","updated_at":"2015-12-28T07:45:52Z","body":"Thank you!"}}