{"action":"closed","number":113,"pull_request":{"url":"https://api.github.com/repos/treasure-data/td-client-java/pulls/113","id":210308764,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzA4NzY0","html_url":"https://github.com/treasure-data/td-client-java/pull/113","diff_url":"https://github.com/treasure-data/td-client-java/pull/113.diff","patch_url":"https://github.com/treasure-data/td-client-java/pull/113.patch","issue_url":"https://api.github.com/repos/treasure-data/td-client-java/issues/113","number":113,"state":"closed","locked":false,"title":"Support `num_record` attribute at `TDJob`","user":{"login":"serihiro","id":681496,"node_id":"MDQ6VXNlcjY4MTQ5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/681496?v=4","gravatar_id":"","url":"https://api.github.com/users/serihiro","html_url":"https://github.com/serihiro","followers_url":"https://api.github.com/users/serihiro/followers","following_url":"https://api.github.com/users/serihiro/following{/other_user}","gists_url":"https://api.github.com/users/serihiro/gists{/gist_id}","starred_url":"https://api.github.com/users/serihiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serihiro/subscriptions","organizations_url":"https://api.github.com/users/serihiro/orgs","repos_url":"https://api.github.com/users/serihiro/repos","events_url":"https://api.github.com/users/serihiro/events{/privacy}","received_events_url":"https://api.github.com/users/serihiro/received_events","type":"User","site_admin":false},"body":"# About this PR\r\n- This PR add `num_record` property at `TDJob`\r\n- `num_record` property is an item contained in TD api endpoint response, and current version of `TDJob` does not map this property.\r\n\r\n# Motivation\r\n- In digdag, I want to set `num_record` of last td job into params, and use like this\r\n\r\n```yml\r\n+task1:\r\n  td_run> saved_query\r\n\r\n+task2:\r\n  sh>: task_that_needs_num_record.sh ${td.last_job_num_record}\r\n```","created_at":"2018-08-23T01:47:02Z","updated_at":"2018-08-28T18:47:10Z","closed_at":"2018-08-28T18:47:10Z","merged_at":"2018-08-28T18:47:10Z","merge_commit_sha":"7a9bc359f20104942c5709340248b41bfc78aa7b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/treasure-data/td-client-java/pulls/113/commits","review_comments_url":"https://api.github.com/repos/treasure-data/td-client-java/pulls/113/comments","review_comment_url":"https://api.github.com/repos/treasure-data/td-client-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/treasure-data/td-client-java/issues/113/comments","statuses_url":"https://api.github.com/repos/treasure-data/td-client-java/statuses/1db4c8b51445af98e6917e50ccc7d56e61b87e79","head":{"label":"serihiro:support-job_num_records","ref":"support-job_num_records","sha":"1db4c8b51445af98e6917e50ccc7d56e61b87e79","user":{"login":"serihiro","id":681496,"node_id":"MDQ6VXNlcjY4MTQ5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/681496?v=4","gravatar_id":"","url":"https://api.github.com/users/serihiro","html_url":"https://github.com/serihiro","followers_url":"https://api.github.com/users/serihiro/followers","following_url":"https://api.github.com/users/serihiro/following{/other_user}","gists_url":"https://api.github.com/users/serihiro/gists{/gist_id}","starred_url":"https://api.github.com/users/serihiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serihiro/subscriptions","organizations_url":"https://api.github.com/users/serihiro/orgs","repos_url":"https://api.github.com/users/serihiro/repos","events_url":"https://api.github.com/users/serihiro/events{/privacy}","received_events_url":"https://api.github.com/users/serihiro/received_events","type":"User","site_admin":false},"repo":{"id":144791266,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ3OTEyNjY=","name":"td-client-java","full_name":"serihiro/td-client-java","owner":{"login":"serihiro","id":681496,"node_id":"MDQ6VXNlcjY4MTQ5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/681496?v=4","gravatar_id":"","url":"https://api.github.com/users/serihiro","html_url":"https://github.com/serihiro","followers_url":"https://api.github.com/users/serihiro/followers","following_url":"https://api.github.com/users/serihiro/following{/other_user}","gists_url":"https://api.github.com/users/serihiro/gists{/gist_id}","starred_url":"https://api.github.com/users/serihiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serihiro/subscriptions","organizations_url":"https://api.github.com/users/serihiro/orgs","repos_url":"https://api.github.com/users/serihiro/repos","events_url":"https://api.github.com/users/serihiro/events{/privacy}","received_events_url":"https://api.github.com/users/serihiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/serihiro/td-client-java","description":"Java Client Library for Treasure Data","fork":true,"url":"https://api.github.com/repos/serihiro/td-client-java","forks_url":"https://api.github.com/repos/serihiro/td-client-java/forks","keys_url":"https://api.github.com/repos/serihiro/td-client-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serihiro/td-client-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serihiro/td-client-java/teams","hooks_url":"https://api.github.com/repos/serihiro/td-client-java/hooks","issue_events_url":"https://api.github.com/repos/serihiro/td-client-java/issues/events{/number}","events_url":"https://api.github.com/repos/serihiro/td-client-java/events","assignees_url":"https://api.github.com/repos/serihiro/td-client-java/assignees{/user}","branches_url":"https://api.github.com/repos/serihiro/td-client-java/branches{/branch}","tags_url":"https://api.github.com/repos/serihiro/td-client-java/tags","blobs_url":"https://api.github.com/repos/serihiro/td-client-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serihiro/td-client-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serihiro/td-client-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/serihiro/td-client-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serihiro/td-client-java/statuses/{sha}","languages_url":"https://api.github.com/repos/serihiro/td-client-java/languages","stargazers_url":"https://api.github.com/repos/serihiro/td-client-java/stargazers","contributors_url":"https://api.github.com/repos/serihiro/td-client-java/contributors","subscribers_url":"https://api.github.com/repos/serihiro/td-client-java/subscribers","subscription_url":"https://api.github.com/repos/serihiro/td-client-java/subscription","commits_url":"https://api.github.com/repos/serihiro/td-client-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/serihiro/td-client-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/serihiro/td-client-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/serihiro/td-client-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/serihiro/td-client-java/contents/{+path}","compare_url":"https://api.github.com/repos/serihiro/td-client-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serihiro/td-client-java/merges","archive_url":"https://api.github.com/repos/serihiro/td-client-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serihiro/td-client-java/downloads","issues_url":"https://api.github.com/repos/serihiro/td-client-java/issues{/number}","pulls_url":"https://api.github.com/repos/serihiro/td-client-java/pulls{/number}","milestones_url":"https://api.github.com/repos/serihiro/td-client-java/milestones{/number}","notifications_url":"https://api.github.com/repos/serihiro/td-client-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serihiro/td-client-java/labels{/name}","releases_url":"https://api.github.com/repos/serihiro/td-client-java/releases{/id}","deployments_url":"https://api.github.com/repos/serihiro/td-client-java/deployments","created_at":"2018-08-15T01:40:42Z","updated_at":"2018-08-28T06:50:25Z","pushed_at":"2018-08-28T07:40:39Z","git_url":"git://github.com/serihiro/td-client-java.git","ssh_url":"git@github.com:serihiro/td-client-java.git","clone_url":"https://github.com/serihiro/td-client-java.git","svn_url":"https://github.com/serihiro/td-client-java","homepage":"http://docs.treasuredata.com/articles/java","size":1682,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"treasure-data:master","ref":"master","sha":"215a7830724f597cfbc8d3abd2d59a0fa075fb0d","user":{"login":"treasure-data","id":747746,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0Nzc0Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/747746?v=4","gravatar_id":"","url":"https://api.github.com/users/treasure-data","html_url":"https://github.com/treasure-data","followers_url":"https://api.github.com/users/treasure-data/followers","following_url":"https://api.github.com/users/treasure-data/following{/other_user}","gists_url":"https://api.github.com/users/treasure-data/gists{/gist_id}","starred_url":"https://api.github.com/users/treasure-data/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treasure-data/subscriptions","organizations_url":"https://api.github.com/users/treasure-data/orgs","repos_url":"https://api.github.com/users/treasure-data/repos","events_url":"https://api.github.com/users/treasure-data/events{/privacy}","received_events_url":"https://api.github.com/users/treasure-data/received_events","type":"Organization","site_admin":false},"repo":{"id":3625270,"node_id":"MDEwOlJlcG9zaXRvcnkzNjI1Mjcw","name":"td-client-java","full_name":"treasure-data/td-client-java","owner":{"login":"treasure-data","id":747746,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0Nzc0Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/747746?v=4","gravatar_id":"","url":"https://api.github.com/users/treasure-data","html_url":"https://github.com/treasure-data","followers_url":"https://api.github.com/users/treasure-data/followers","following_url":"https://api.github.com/users/treasure-data/following{/other_user}","gists_url":"https://api.github.com/users/treasure-data/gists{/gist_id}","starred_url":"https://api.github.com/users/treasure-data/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treasure-data/subscriptions","organizations_url":"https://api.github.com/users/treasure-data/orgs","repos_url":"https://api.github.com/users/treasure-data/repos","events_url":"https://api.github.com/users/treasure-data/events{/privacy}","received_events_url":"https://api.github.com/users/treasure-data/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/treasure-data/td-client-java","description":"Java Client Library for Treasure Data","fork":false,"url":"https://api.github.com/repos/treasure-data/td-client-java","forks_url":"https://api.github.com/repos/treasure-data/td-client-java/forks","keys_url":"https://api.github.com/repos/treasure-data/td-client-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/treasure-data/td-client-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/treasure-data/td-client-java/teams","hooks_url":"https://api.github.com/repos/treasure-data/td-client-java/hooks","issue_events_url":"https://api.github.com/repos/treasure-data/td-client-java/issues/events{/number}","events_url":"https://api.github.com/repos/treasure-data/td-client-java/events","assignees_url":"https://api.github.com/repos/treasure-data/td-client-java/assignees{/user}","branches_url":"https://api.github.com/repos/treasure-data/td-client-java/branches{/branch}","tags_url":"https://api.github.com/repos/treasure-data/td-client-java/tags","blobs_url":"https://api.github.com/repos/treasure-data/td-client-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/treasure-data/td-client-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/treasure-data/td-client-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/treasure-data/td-client-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/treasure-data/td-client-java/statuses/{sha}","languages_url":"https://api.github.com/repos/treasure-data/td-client-java/languages","stargazers_url":"https://api.github.com/repos/treasure-data/td-client-java/stargazers","contributors_url":"https://api.github.com/repos/treasure-data/td-client-java/contributors","subscribers_url":"https://api.github.com/repos/treasure-data/td-client-java/subscribers","subscription_url":"https://api.github.com/repos/treasure-data/td-client-java/subscription","commits_url":"https://api.github.com/repos/treasure-data/td-client-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/treasure-data/td-client-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/treasure-data/td-client-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/treasure-data/td-client-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/treasure-data/td-client-java/contents/{+path}","compare_url":"https://api.github.com/repos/treasure-data/td-client-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/treasure-data/td-client-java/merges","archive_url":"https://api.github.com/repos/treasure-data/td-client-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/treasure-data/td-client-java/downloads","issues_url":"https://api.github.com/repos/treasure-data/td-client-java/issues{/number}","pulls_url":"https://api.github.com/repos/treasure-data/td-client-java/pulls{/number}","milestones_url":"https://api.github.com/repos/treasure-data/td-client-java/milestones{/number}","notifications_url":"https://api.github.com/repos/treasure-data/td-client-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/treasure-data/td-client-java/labels{/name}","releases_url":"https://api.github.com/repos/treasure-data/td-client-java/releases{/id}","deployments_url":"https://api.github.com/repos/treasure-data/td-client-java/deployments","created_at":"2012-03-05T08:45:22Z","updated_at":"2018-08-28T03:08:34Z","pushed_at":"2018-08-28T18:47:10Z","git_url":"git://github.com/treasure-data/td-client-java.git","ssh_url":"git@github.com:treasure-data/td-client-java.git","clone_url":"https://github.com/treasure-data/td-client-java.git","svn_url":"https://github.com/treasure-data/td-client-java","homepage":"http://docs.treasuredata.com/articles/java","size":1681,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":15,"open_issues":3,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/treasure-data/td-client-java/pulls/113"},"html":{"href":"https://github.com/treasure-data/td-client-java/pull/113"},"issue":{"href":"https://api.github.com/repos/treasure-data/td-client-java/issues/113"},"comments":{"href":"https://api.github.com/repos/treasure-data/td-client-java/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/treasure-data/td-client-java/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/treasure-data/td-client-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/treasure-data/td-client-java/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/treasure-data/td-client-java/statuses/1db4c8b51445af98e6917e50ccc7d56e61b87e79"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"muga","id":127959,"node_id":"MDQ6VXNlcjEyNzk1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/127959?v=4","gravatar_id":"","url":"https://api.github.com/users/muga","html_url":"https://github.com/muga","followers_url":"https://api.github.com/users/muga/followers","following_url":"https://api.github.com/users/muga/following{/other_user}","gists_url":"https://api.github.com/users/muga/gists{/gist_id}","starred_url":"https://api.github.com/users/muga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muga/subscriptions","organizations_url":"https://api.github.com/users/muga/orgs","repos_url":"https://api.github.com/users/muga/repos","events_url":"https://api.github.com/users/muga/events{/privacy}","received_events_url":"https://api.github.com/users/muga/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":13,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"muga"}}