{"action":"created","comment":{"url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/comments/190406274","pull_request_review_id":122770232,"id":190406274,"diff_hunk":"@@ -122,6 +126,7 @@ func (sc *snowflakeConn) exec(\n \tsc.QueryID = data.Data.QueryID\n \tsc.SQLState = data.Data.SQLState\n \tsc.populateSessionParameters(data.Data.Parameters)\n+\tsc.startHeartBeat()","path":"connection.go","position":15,"original_position":15,"commit_id":"b4d08c49891a5bf2a9a504fa752d7b341ba8ee42","original_commit_id":"b4d08c49891a5bf2a9a504fa752d7b341ba8ee42","user":{"login":"tjj5036","id":1668558,"avatar_url":"https://avatars2.githubusercontent.com/u/1668558?v=4","gravatar_id":"","url":"https://api.github.com/users/tjj5036","html_url":"https://github.com/tjj5036","followers_url":"https://api.github.com/users/tjj5036/followers","following_url":"https://api.github.com/users/tjj5036/following{/other_user}","gists_url":"https://api.github.com/users/tjj5036/gists{/gist_id}","starred_url":"https://api.github.com/users/tjj5036/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjj5036/subscriptions","organizations_url":"https://api.github.com/users/tjj5036/orgs","repos_url":"https://api.github.com/users/tjj5036/repos","events_url":"https://api.github.com/users/tjj5036/events{/privacy}","received_events_url":"https://api.github.com/users/tjj5036/received_events","type":"User","site_admin":false},"body":"Does this start heartbeating after a successful connection is made? ","created_at":"2018-05-23T21:34:51Z","updated_at":"2018-05-23T21:36:45Z","html_url":"https://github.com/snowflakedb/gosnowflake/pull/164#discussion_r190406274","pull_request_url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/comments/190406274"},"html":{"href":"https://github.com/snowflakedb/gosnowflake/pull/164#discussion_r190406274"},"pull_request":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164"}}},"pull_request":{"url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164","id":189480037,"html_url":"https://github.com/snowflakedb/gosnowflake/pull/164","diff_url":"https://github.com/snowflakedb/gosnowflake/pull/164.diff","patch_url":"https://github.com/snowflakedb/gosnowflake/pull/164.patch","issue_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/164","number":164,"state":"open","locked":false,"title":"Heartbeat","user":{"login":"smtakeda","id":169573,"avatar_url":"https://avatars3.githubusercontent.com/u/169573?v=4","gravatar_id":"","url":"https://api.github.com/users/smtakeda","html_url":"https://github.com/smtakeda","followers_url":"https://api.github.com/users/smtakeda/followers","following_url":"https://api.github.com/users/smtakeda/following{/other_user}","gists_url":"https://api.github.com/users/smtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/smtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smtakeda/subscriptions","organizations_url":"https://api.github.com/users/smtakeda/orgs","repos_url":"https://api.github.com/users/smtakeda/repos","events_url":"https://api.github.com/users/smtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/smtakeda/received_events","type":"User","site_admin":false},"body":"### Description\r\nAdded CLIENT_SESSION_KEEP_ALIVE option support that keeps the connection alive by heartbeating it.\r\n\r\n### Checklist\r\n- [x] Code compiles correctly\r\n- [x] Run ``make fmt`` to fix inconsistent formats\r\n- [x] Run ``make lint`` to get lint errors and fix all of them\r\n- [x] Created tests which fail without the change (if possible)\r\n- [x] All tests passing\r\n- [x] Extended the README / documentation, if necessary\r\n","created_at":"2018-05-21T20:30:09Z","updated_at":"2018-05-23T21:36:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9c9152a2e572ffb8ae08e47ad3ac174f42f861b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164/commits","review_comments_url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164/comments","review_comment_url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/164/comments","statuses_url":"https://api.github.com/repos/snowflakedb/gosnowflake/statuses/b4d08c49891a5bf2a9a504fa752d7b341ba8ee42","head":{"label":"snowflakedb:heartbeat","ref":"heartbeat","sha":"b4d08c49891a5bf2a9a504fa752d7b341ba8ee42","user":{"login":"snowflakedb","id":6453780,"avatar_url":"https://avatars1.githubusercontent.com/u/6453780?v=4","gravatar_id":"","url":"https://api.github.com/users/snowflakedb","html_url":"https://github.com/snowflakedb","followers_url":"https://api.github.com/users/snowflakedb/followers","following_url":"https://api.github.com/users/snowflakedb/following{/other_user}","gists_url":"https://api.github.com/users/snowflakedb/gists{/gist_id}","starred_url":"https://api.github.com/users/snowflakedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowflakedb/subscriptions","organizations_url":"https://api.github.com/users/snowflakedb/orgs","repos_url":"https://api.github.com/users/snowflakedb/repos","events_url":"https://api.github.com/users/snowflakedb/events{/privacy}","received_events_url":"https://api.github.com/users/snowflakedb/received_events","type":"Organization","site_admin":false},"repo":{"id":69611909,"name":"gosnowflake","full_name":"snowflakedb/gosnowflake","owner":{"login":"snowflakedb","id":6453780,"avatar_url":"https://avatars1.githubusercontent.com/u/6453780?v=4","gravatar_id":"","url":"https://api.github.com/users/snowflakedb","html_url":"https://github.com/snowflakedb","followers_url":"https://api.github.com/users/snowflakedb/followers","following_url":"https://api.github.com/users/snowflakedb/following{/other_user}","gists_url":"https://api.github.com/users/snowflakedb/gists{/gist_id}","starred_url":"https://api.github.com/users/snowflakedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowflakedb/subscriptions","organizations_url":"https://api.github.com/users/snowflakedb/orgs","repos_url":"https://api.github.com/users/snowflakedb/repos","events_url":"https://api.github.com/users/snowflakedb/events{/privacy}","received_events_url":"https://api.github.com/users/snowflakedb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snowflakedb/gosnowflake","description":"Go Snowflake Driver","fork":false,"url":"https://api.github.com/repos/snowflakedb/gosnowflake","forks_url":"https://api.github.com/repos/snowflakedb/gosnowflake/forks","keys_url":"https://api.github.com/repos/snowflakedb/gosnowflake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snowflakedb/gosnowflake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snowflakedb/gosnowflake/teams","hooks_url":"https://api.github.com/repos/snowflakedb/gosnowflake/hooks","issue_events_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/events{/number}","events_url":"https://api.github.com/repos/snowflakedb/gosnowflake/events","assignees_url":"https://api.github.com/repos/snowflakedb/gosnowflake/assignees{/user}","branches_url":"https://api.github.com/repos/snowflakedb/gosnowflake/branches{/branch}","tags_url":"https://api.github.com/repos/snowflakedb/gosnowflake/tags","blobs_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/refs{/sha}","trees_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snowflakedb/gosnowflake/statuses/{sha}","languages_url":"https://api.github.com/repos/snowflakedb/gosnowflake/languages","stargazers_url":"https://api.github.com/repos/snowflakedb/gosnowflake/stargazers","contributors_url":"https://api.github.com/repos/snowflakedb/gosnowflake/contributors","subscribers_url":"https://api.github.com/repos/snowflakedb/gosnowflake/subscribers","subscription_url":"https://api.github.com/repos/snowflakedb/gosnowflake/subscription","commits_url":"https://api.github.com/repos/snowflakedb/gosnowflake/commits{/sha}","git_commits_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/commits{/sha}","comments_url":"https://api.github.com/repos/snowflakedb/gosnowflake/comments{/number}","issue_comment_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/comments{/number}","contents_url":"https://api.github.com/repos/snowflakedb/gosnowflake/contents/{+path}","compare_url":"https://api.github.com/repos/snowflakedb/gosnowflake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snowflakedb/gosnowflake/merges","archive_url":"https://api.github.com/repos/snowflakedb/gosnowflake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snowflakedb/gosnowflake/downloads","issues_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues{/number}","pulls_url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls{/number}","milestones_url":"https://api.github.com/repos/snowflakedb/gosnowflake/milestones{/number}","notifications_url":"https://api.github.com/repos/snowflakedb/gosnowflake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snowflakedb/gosnowflake/labels{/name}","releases_url":"https://api.github.com/repos/snowflakedb/gosnowflake/releases{/id}","deployments_url":"https://api.github.com/repos/snowflakedb/gosnowflake/deployments","created_at":"2016-09-29T22:09:11Z","updated_at":"2018-05-23T19:26:31Z","pushed_at":"2018-05-23T19:26:30Z","git_url":"git://github.com/snowflakedb/gosnowflake.git","ssh_url":"git@github.com:snowflakedb/gosnowflake.git","clone_url":"https://github.com/snowflakedb/gosnowflake.git","svn_url":"https://github.com/snowflakedb/gosnowflake","homepage":"","size":6574,"stargazers_count":16,"watchers_count":16,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":10,"open_issues":7,"watchers":16,"default_branch":"master"}},"base":{"label":"snowflakedb:master","ref":"master","sha":"d241de92102cf48672a517edc8f80805224f9f67","user":{"login":"snowflakedb","id":6453780,"avatar_url":"https://avatars1.githubusercontent.com/u/6453780?v=4","gravatar_id":"","url":"https://api.github.com/users/snowflakedb","html_url":"https://github.com/snowflakedb","followers_url":"https://api.github.com/users/snowflakedb/followers","following_url":"https://api.github.com/users/snowflakedb/following{/other_user}","gists_url":"https://api.github.com/users/snowflakedb/gists{/gist_id}","starred_url":"https://api.github.com/users/snowflakedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowflakedb/subscriptions","organizations_url":"https://api.github.com/users/snowflakedb/orgs","repos_url":"https://api.github.com/users/snowflakedb/repos","events_url":"https://api.github.com/users/snowflakedb/events{/privacy}","received_events_url":"https://api.github.com/users/snowflakedb/received_events","type":"Organization","site_admin":false},"repo":{"id":69611909,"name":"gosnowflake","full_name":"snowflakedb/gosnowflake","owner":{"login":"snowflakedb","id":6453780,"avatar_url":"https://avatars1.githubusercontent.com/u/6453780?v=4","gravatar_id":"","url":"https://api.github.com/users/snowflakedb","html_url":"https://github.com/snowflakedb","followers_url":"https://api.github.com/users/snowflakedb/followers","following_url":"https://api.github.com/users/snowflakedb/following{/other_user}","gists_url":"https://api.github.com/users/snowflakedb/gists{/gist_id}","starred_url":"https://api.github.com/users/snowflakedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowflakedb/subscriptions","organizations_url":"https://api.github.com/users/snowflakedb/orgs","repos_url":"https://api.github.com/users/snowflakedb/repos","events_url":"https://api.github.com/users/snowflakedb/events{/privacy}","received_events_url":"https://api.github.com/users/snowflakedb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snowflakedb/gosnowflake","description":"Go Snowflake Driver","fork":false,"url":"https://api.github.com/repos/snowflakedb/gosnowflake","forks_url":"https://api.github.com/repos/snowflakedb/gosnowflake/forks","keys_url":"https://api.github.com/repos/snowflakedb/gosnowflake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snowflakedb/gosnowflake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snowflakedb/gosnowflake/teams","hooks_url":"https://api.github.com/repos/snowflakedb/gosnowflake/hooks","issue_events_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/events{/number}","events_url":"https://api.github.com/repos/snowflakedb/gosnowflake/events","assignees_url":"https://api.github.com/repos/snowflakedb/gosnowflake/assignees{/user}","branches_url":"https://api.github.com/repos/snowflakedb/gosnowflake/branches{/branch}","tags_url":"https://api.github.com/repos/snowflakedb/gosnowflake/tags","blobs_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/refs{/sha}","trees_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snowflakedb/gosnowflake/statuses/{sha}","languages_url":"https://api.github.com/repos/snowflakedb/gosnowflake/languages","stargazers_url":"https://api.github.com/repos/snowflakedb/gosnowflake/stargazers","contributors_url":"https://api.github.com/repos/snowflakedb/gosnowflake/contributors","subscribers_url":"https://api.github.com/repos/snowflakedb/gosnowflake/subscribers","subscription_url":"https://api.github.com/repos/snowflakedb/gosnowflake/subscription","commits_url":"https://api.github.com/repos/snowflakedb/gosnowflake/commits{/sha}","git_commits_url":"https://api.github.com/repos/snowflakedb/gosnowflake/git/commits{/sha}","comments_url":"https://api.github.com/repos/snowflakedb/gosnowflake/comments{/number}","issue_comment_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/comments{/number}","contents_url":"https://api.github.com/repos/snowflakedb/gosnowflake/contents/{+path}","compare_url":"https://api.github.com/repos/snowflakedb/gosnowflake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snowflakedb/gosnowflake/merges","archive_url":"https://api.github.com/repos/snowflakedb/gosnowflake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snowflakedb/gosnowflake/downloads","issues_url":"https://api.github.com/repos/snowflakedb/gosnowflake/issues{/number}","pulls_url":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls{/number}","milestones_url":"https://api.github.com/repos/snowflakedb/gosnowflake/milestones{/number}","notifications_url":"https://api.github.com/repos/snowflakedb/gosnowflake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snowflakedb/gosnowflake/labels{/name}","releases_url":"https://api.github.com/repos/snowflakedb/gosnowflake/releases{/id}","deployments_url":"https://api.github.com/repos/snowflakedb/gosnowflake/deployments","created_at":"2016-09-29T22:09:11Z","updated_at":"2018-05-23T19:26:31Z","pushed_at":"2018-05-23T19:26:30Z","git_url":"git://github.com/snowflakedb/gosnowflake.git","ssh_url":"git@github.com:snowflakedb/gosnowflake.git","clone_url":"https://github.com/snowflakedb/gosnowflake.git","svn_url":"https://github.com/snowflakedb/gosnowflake","homepage":"","size":6574,"stargazers_count":16,"watchers_count":16,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":10,"open_issues":7,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164"},"html":{"href":"https://github.com/snowflakedb/gosnowflake/pull/164"},"issue":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/164"},"comments":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/issues/164/comments"},"review_comments":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164/comments"},"review_comment":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/pulls/164/commits"},"statuses":{"href":"https://api.github.com/repos/snowflakedb/gosnowflake/statuses/b4d08c49891a5bf2a9a504fa752d7b341ba8ee42"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tjj5036"}}