{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13925","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13925/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13925/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13925/events","html_url":"https://github.com/apache/spark/pull/13925","id":162468369,"number":13925,"title":"[SPARK-16226][SQL]change the way of JDBC commit","user":{"login":"lihongliustc","id":13553336,"avatar_url":"https://avatars.githubusercontent.com/u/13553336?v=3","gravatar_id":"","url":"https://api.github.com/users/lihongliustc","html_url":"https://github.com/lihongliustc","followers_url":"https://api.github.com/users/lihongliustc/followers","following_url":"https://api.github.com/users/lihongliustc/following{/other_user}","gists_url":"https://api.github.com/users/lihongliustc/gists{/gist_id}","starred_url":"https://api.github.com/users/lihongliustc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihongliustc/subscriptions","organizations_url":"https://api.github.com/users/lihongliustc/orgs","repos_url":"https://api.github.com/users/lihongliustc/repos","events_url":"https://api.github.com/users/lihongliustc/events{/privacy}","received_events_url":"https://api.github.com/users/lihongliustc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-27T14:41:01Z","updated_at":"2016-06-28T12:41:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13925","html_url":"https://github.com/apache/spark/pull/13925","diff_url":"https://github.com/apache/spark/pull/13925.diff","patch_url":"https://github.com/apache/spark/pull/13925.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nI change the way of commit.In the original version,it commit once in a partition.I commit after executeBatch.\r\n\r\n\r\n## How was this patch tested?\r\n\r\n unit tests\r\n\r\n\r\n\r\n\r\n\r\nchange the way of JDBC commit"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/229037207","html_url":"https://github.com/apache/spark/pull/13925#issuecomment-229037207","issue_url":"https://api.github.com/repos/apache/spark/issues/13925","id":229037207,"user":{"login":"lihongliustc","id":13553336,"avatar_url":"https://avatars.githubusercontent.com/u/13553336?v=3","gravatar_id":"","url":"https://api.github.com/users/lihongliustc","html_url":"https://github.com/lihongliustc","followers_url":"https://api.github.com/users/lihongliustc/followers","following_url":"https://api.github.com/users/lihongliustc/following{/other_user}","gists_url":"https://api.github.com/users/lihongliustc/gists{/gist_id}","starred_url":"https://api.github.com/users/lihongliustc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihongliustc/subscriptions","organizations_url":"https://api.github.com/users/lihongliustc/orgs","repos_url":"https://api.github.com/users/lihongliustc/repos","events_url":"https://api.github.com/users/lihongliustc/events{/privacy}","received_events_url":"https://api.github.com/users/lihongliustc/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T12:41:20Z","updated_at":"2016-06-28T12:41:20Z","body":"@hvanhovell and @srowen  I just change the way of commits.When there is an exception,it will rollback as usual.The \"commited\" is a flag of the method.Any exception in the try clause will cause the rollback of the partition.It is same as the situation before i changed the commits.It is still atomic .And I am sure that if we do not change commits,it will cause the blocking."}}
{"actor":{"display_login":"lihongliustc"}}