{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/toy/dump/pulls/17","id":28894186,"html_url":"https://github.com/toy/dump/pull/17","diff_url":"https://github.com/toy/dump/pull/17.diff","patch_url":"https://github.com/toy/dump/pull/17.patch","issue_url":"https://api.github.com/repos/toy/dump/issues/17","number":17,"state":"open","locked":false,"title":"handles MS SQL server table chunk","user":{"login":"iamdionysus","id":4635504,"avatar_url":"https://avatars.githubusercontent.com/u/4635504?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdionysus","html_url":"https://github.com/iamdionysus","followers_url":"https://api.github.com/users/iamdionysus/followers","following_url":"https://api.github.com/users/iamdionysus/following{/other_user}","gists_url":"https://api.github.com/users/iamdionysus/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdionysus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdionysus/subscriptions","organizations_url":"https://api.github.com/users/iamdionysus/orgs","repos_url":"https://api.github.com/users/iamdionysus/repos","events_url":"https://api.github.com/users/iamdionysus/events{/privacy}","received_events_url":"https://api.github.com/users/iamdionysus/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nWhen the size of table is larger than `CHUNK_SIZE_MAX = 3_000`, it enters each_table_row method in TableManipulation. However, the SQL syntax there is using \"LIMIT\" which is not supported in MS SQL server. So I added syntax for SQL server which is using TOP based on the `ActiveRecord::Base.connection_config[:adapter]`","created_at":"2015-02-09T03:22:54Z","updated_at":"2015-02-09T03:22:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"725375b92bbf849543a7e83ddc19bbcd2afb2310","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/toy/dump/pulls/17/commits","review_comments_url":"https://api.github.com/repos/toy/dump/pulls/17/comments","review_comment_url":"https://api.github.com/repos/toy/dump/pulls/comments/{number}","comments_url":"https://api.github.com/repos/toy/dump/issues/17/comments","statuses_url":"https://api.github.com/repos/toy/dump/statuses/6df3d4ffe2272528146525853bcd7b4e7eb58f08","head":{"label":"iamdionysus:master","ref":"master","sha":"6df3d4ffe2272528146525853bcd7b4e7eb58f08","user":{"login":"iamdionysus","id":4635504,"avatar_url":"https://avatars.githubusercontent.com/u/4635504?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdionysus","html_url":"https://github.com/iamdionysus","followers_url":"https://api.github.com/users/iamdionysus/followers","following_url":"https://api.github.com/users/iamdionysus/following{/other_user}","gists_url":"https://api.github.com/users/iamdionysus/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdionysus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdionysus/subscriptions","organizations_url":"https://api.github.com/users/iamdionysus/orgs","repos_url":"https://api.github.com/users/iamdionysus/repos","events_url":"https://api.github.com/users/iamdionysus/events{/privacy}","received_events_url":"https://api.github.com/users/iamdionysus/received_events","type":"User","site_admin":false},"repo":{"id":30402674,"name":"dump","full_name":"iamdionysus/dump","owner":{"login":"iamdionysus","id":4635504,"avatar_url":"https://avatars.githubusercontent.com/u/4635504?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdionysus","html_url":"https://github.com/iamdionysus","followers_url":"https://api.github.com/users/iamdionysus/followers","following_url":"https://api.github.com/users/iamdionysus/following{/other_user}","gists_url":"https://api.github.com/users/iamdionysus/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdionysus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdionysus/subscriptions","organizations_url":"https://api.github.com/users/iamdionysus/orgs","repos_url":"https://api.github.com/users/iamdionysus/repos","events_url":"https://api.github.com/users/iamdionysus/events{/privacy}","received_events_url":"https://api.github.com/users/iamdionysus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamdionysus/dump","description":"Rails app rake and capistrano tasks to create and restore dumps of database and assets","fork":true,"url":"https://api.github.com/repos/iamdionysus/dump","forks_url":"https://api.github.com/repos/iamdionysus/dump/forks","keys_url":"https://api.github.com/repos/iamdionysus/dump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamdionysus/dump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamdionysus/dump/teams","hooks_url":"https://api.github.com/repos/iamdionysus/dump/hooks","issue_events_url":"https://api.github.com/repos/iamdionysus/dump/issues/events{/number}","events_url":"https://api.github.com/repos/iamdionysus/dump/events","assignees_url":"https://api.github.com/repos/iamdionysus/dump/assignees{/user}","branches_url":"https://api.github.com/repos/iamdionysus/dump/branches{/branch}","tags_url":"https://api.github.com/repos/iamdionysus/dump/tags","blobs_url":"https://api.github.com/repos/iamdionysus/dump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamdionysus/dump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamdionysus/dump/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamdionysus/dump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamdionysus/dump/statuses/{sha}","languages_url":"https://api.github.com/repos/iamdionysus/dump/languages","stargazers_url":"https://api.github.com/repos/iamdionysus/dump/stargazers","contributors_url":"https://api.github.com/repos/iamdionysus/dump/contributors","subscribers_url":"https://api.github.com/repos/iamdionysus/dump/subscribers","subscription_url":"https://api.github.com/repos/iamdionysus/dump/subscription","commits_url":"https://api.github.com/repos/iamdionysus/dump/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamdionysus/dump/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamdionysus/dump/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamdionysus/dump/issues/comments/{number}","contents_url":"https://api.github.com/repos/iamdionysus/dump/contents/{+path}","compare_url":"https://api.github.com/repos/iamdionysus/dump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamdionysus/dump/merges","archive_url":"https://api.github.com/repos/iamdionysus/dump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamdionysus/dump/downloads","issues_url":"https://api.github.com/repos/iamdionysus/dump/issues{/number}","pulls_url":"https://api.github.com/repos/iamdionysus/dump/pulls{/number}","milestones_url":"https://api.github.com/repos/iamdionysus/dump/milestones{/number}","notifications_url":"https://api.github.com/repos/iamdionysus/dump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamdionysus/dump/labels{/name}","releases_url":"https://api.github.com/repos/iamdionysus/dump/releases{/id}","created_at":"2015-02-06T08:32:21Z","updated_at":"2015-02-06T09:07:47Z","pushed_at":"2015-02-06T09:07:47Z","git_url":"git://github.com/iamdionysus/dump.git","ssh_url":"git@github.com:iamdionysus/dump.git","clone_url":"https://github.com/iamdionysus/dump.git","svn_url":"https://github.com/iamdionysus/dump","homepage":"","size":682,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"toy:master","ref":"master","sha":"d344a129e1f53b5453303893d4e295cef470debc","user":{"login":"toy","id":18144,"avatar_url":"https://avatars.githubusercontent.com/u/18144?v=3","gravatar_id":"","url":"https://api.github.com/users/toy","html_url":"https://github.com/toy","followers_url":"https://api.github.com/users/toy/followers","following_url":"https://api.github.com/users/toy/following{/other_user}","gists_url":"https://api.github.com/users/toy/gists{/gist_id}","starred_url":"https://api.github.com/users/toy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toy/subscriptions","organizations_url":"https://api.github.com/users/toy/orgs","repos_url":"https://api.github.com/users/toy/repos","events_url":"https://api.github.com/users/toy/events{/privacy}","received_events_url":"https://api.github.com/users/toy/received_events","type":"User","site_admin":false},"repo":{"id":42589,"name":"dump","full_name":"toy/dump","owner":{"login":"toy","id":18144,"avatar_url":"https://avatars.githubusercontent.com/u/18144?v=3","gravatar_id":"","url":"https://api.github.com/users/toy","html_url":"https://github.com/toy","followers_url":"https://api.github.com/users/toy/followers","following_url":"https://api.github.com/users/toy/following{/other_user}","gists_url":"https://api.github.com/users/toy/gists{/gist_id}","starred_url":"https://api.github.com/users/toy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toy/subscriptions","organizations_url":"https://api.github.com/users/toy/orgs","repos_url":"https://api.github.com/users/toy/repos","events_url":"https://api.github.com/users/toy/events{/privacy}","received_events_url":"https://api.github.com/users/toy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toy/dump","description":"Rails app rake and capistrano tasks to create and restore dumps of database and assets","fork":false,"url":"https://api.github.com/repos/toy/dump","forks_url":"https://api.github.com/repos/toy/dump/forks","keys_url":"https://api.github.com/repos/toy/dump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toy/dump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toy/dump/teams","hooks_url":"https://api.github.com/repos/toy/dump/hooks","issue_events_url":"https://api.github.com/repos/toy/dump/issues/events{/number}","events_url":"https://api.github.com/repos/toy/dump/events","assignees_url":"https://api.github.com/repos/toy/dump/assignees{/user}","branches_url":"https://api.github.com/repos/toy/dump/branches{/branch}","tags_url":"https://api.github.com/repos/toy/dump/tags","blobs_url":"https://api.github.com/repos/toy/dump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toy/dump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toy/dump/git/refs{/sha}","trees_url":"https://api.github.com/repos/toy/dump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toy/dump/statuses/{sha}","languages_url":"https://api.github.com/repos/toy/dump/languages","stargazers_url":"https://api.github.com/repos/toy/dump/stargazers","contributors_url":"https://api.github.com/repos/toy/dump/contributors","subscribers_url":"https://api.github.com/repos/toy/dump/subscribers","subscription_url":"https://api.github.com/repos/toy/dump/subscription","commits_url":"https://api.github.com/repos/toy/dump/commits{/sha}","git_commits_url":"https://api.github.com/repos/toy/dump/git/commits{/sha}","comments_url":"https://api.github.com/repos/toy/dump/comments{/number}","issue_comment_url":"https://api.github.com/repos/toy/dump/issues/comments/{number}","contents_url":"https://api.github.com/repos/toy/dump/contents/{+path}","compare_url":"https://api.github.com/repos/toy/dump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toy/dump/merges","archive_url":"https://api.github.com/repos/toy/dump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toy/dump/downloads","issues_url":"https://api.github.com/repos/toy/dump/issues{/number}","pulls_url":"https://api.github.com/repos/toy/dump/pulls{/number}","milestones_url":"https://api.github.com/repos/toy/dump/milestones{/number}","notifications_url":"https://api.github.com/repos/toy/dump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toy/dump/labels{/name}","releases_url":"https://api.github.com/repos/toy/dump/releases{/id}","created_at":"2008-08-14T11:33:34Z","updated_at":"2015-02-08T01:35:16Z","pushed_at":"2015-02-08T01:36:37Z","git_url":"git://github.com/toy/dump.git","ssh_url":"git@github.com:toy/dump.git","clone_url":"https://github.com/toy/dump.git","svn_url":"https://github.com/toy/dump","homepage":"","size":1034,"stargazers_count":74,"watchers_count":74,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/toy/dump/pulls/17"},"html":{"href":"https://github.com/toy/dump/pull/17"},"issue":{"href":"https://api.github.com/repos/toy/dump/issues/17"},"comments":{"href":"https://api.github.com/repos/toy/dump/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/toy/dump/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/toy/dump/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/toy/dump/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/toy/dump/statuses/6df3d4ffe2272528146525853bcd7b4e7eb58f08"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":19,"deletions":4,"changed_files":1}}