{"action":"opened","number":245,"pull_request":{"url":"https://api.github.com/repos/vertica/vertica-python/pulls/245","id":239199016,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MTk5MDE2","html_url":"https://github.com/vertica/vertica-python/pull/245","diff_url":"https://github.com/vertica/vertica-python/pull/245.diff","patch_url":"https://github.com/vertica/vertica-python/pull/245.patch","issue_url":"https://api.github.com/repos/vertica/vertica-python/issues/245","number":245,"state":"open","locked":false,"title":"Add lost connectivity error","user":{"login":"ianze","id":1321852,"node_id":"MDQ6VXNlcjEzMjE4NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1321852?v=4","gravatar_id":"","url":"https://api.github.com/users/ianze","html_url":"https://github.com/ianze","followers_url":"https://api.github.com/users/ianze/followers","following_url":"https://api.github.com/users/ianze/following{/other_user}","gists_url":"https://api.github.com/users/ianze/gists{/gist_id}","starred_url":"https://api.github.com/users/ianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianze/subscriptions","organizations_url":"https://api.github.com/users/ianze/orgs","repos_url":"https://api.github.com/users/ianze/repos","events_url":"https://api.github.com/users/ianze/events{/privacy}","received_events_url":"https://api.github.com/users/ianze/received_events","type":"User","site_admin":false},"body":"This PR adds a mapping of the ERRCODE_LOST_CONNECTIVITY as it is documented here:\r\nhttps://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/ErrorCodes/SqlState-V1001.htm\r\n\r\nI considered just mapping this error code to the previous one that was mapped (08006 - ConnectionFailure) or just using the generic ConnectionError class. However based on the documentation is seems Vertica treats this condition as a very unique case and I preferred to add an additional class for it.","created_at":"2018-12-17T16:09:13Z","updated_at":"2018-12-17T16:09:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vertica/vertica-python/pulls/245/commits","review_comments_url":"https://api.github.com/repos/vertica/vertica-python/pulls/245/comments","review_comment_url":"https://api.github.com/repos/vertica/vertica-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vertica/vertica-python/issues/245/comments","statuses_url":"https://api.github.com/repos/vertica/vertica-python/statuses/c5bff00ea39d54e2b77b9f296d9dfd1f4b40a4e8","head":{"label":"ianze:lost_connectivity","ref":"lost_connectivity","sha":"c5bff00ea39d54e2b77b9f296d9dfd1f4b40a4e8","user":{"login":"ianze","id":1321852,"node_id":"MDQ6VXNlcjEzMjE4NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1321852?v=4","gravatar_id":"","url":"https://api.github.com/users/ianze","html_url":"https://github.com/ianze","followers_url":"https://api.github.com/users/ianze/followers","following_url":"https://api.github.com/users/ianze/following{/other_user}","gists_url":"https://api.github.com/users/ianze/gists{/gist_id}","starred_url":"https://api.github.com/users/ianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianze/subscriptions","organizations_url":"https://api.github.com/users/ianze/orgs","repos_url":"https://api.github.com/users/ianze/repos","events_url":"https://api.github.com/users/ianze/events{/privacy}","received_events_url":"https://api.github.com/users/ianze/received_events","type":"User","site_admin":false},"repo":{"id":162153728,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIxNTM3Mjg=","name":"vertica-python","full_name":"ianze/vertica-python","private":false,"owner":{"login":"ianze","id":1321852,"node_id":"MDQ6VXNlcjEzMjE4NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1321852?v=4","gravatar_id":"","url":"https://api.github.com/users/ianze","html_url":"https://github.com/ianze","followers_url":"https://api.github.com/users/ianze/followers","following_url":"https://api.github.com/users/ianze/following{/other_user}","gists_url":"https://api.github.com/users/ianze/gists{/gist_id}","starred_url":"https://api.github.com/users/ianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianze/subscriptions","organizations_url":"https://api.github.com/users/ianze/orgs","repos_url":"https://api.github.com/users/ianze/repos","events_url":"https://api.github.com/users/ianze/events{/privacy}","received_events_url":"https://api.github.com/users/ianze/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ianze/vertica-python","description":"vertica-python is a native Python adapter for the Vertica (http://www.vertica.com) database.","fork":true,"url":"https://api.github.com/repos/ianze/vertica-python","forks_url":"https://api.github.com/repos/ianze/vertica-python/forks","keys_url":"https://api.github.com/repos/ianze/vertica-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ianze/vertica-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ianze/vertica-python/teams","hooks_url":"https://api.github.com/repos/ianze/vertica-python/hooks","issue_events_url":"https://api.github.com/repos/ianze/vertica-python/issues/events{/number}","events_url":"https://api.github.com/repos/ianze/vertica-python/events","assignees_url":"https://api.github.com/repos/ianze/vertica-python/assignees{/user}","branches_url":"https://api.github.com/repos/ianze/vertica-python/branches{/branch}","tags_url":"https://api.github.com/repos/ianze/vertica-python/tags","blobs_url":"https://api.github.com/repos/ianze/vertica-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ianze/vertica-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ianze/vertica-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/ianze/vertica-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ianze/vertica-python/statuses/{sha}","languages_url":"https://api.github.com/repos/ianze/vertica-python/languages","stargazers_url":"https://api.github.com/repos/ianze/vertica-python/stargazers","contributors_url":"https://api.github.com/repos/ianze/vertica-python/contributors","subscribers_url":"https://api.github.com/repos/ianze/vertica-python/subscribers","subscription_url":"https://api.github.com/repos/ianze/vertica-python/subscription","commits_url":"https://api.github.com/repos/ianze/vertica-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/ianze/vertica-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/ianze/vertica-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/ianze/vertica-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/ianze/vertica-python/contents/{+path}","compare_url":"https://api.github.com/repos/ianze/vertica-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ianze/vertica-python/merges","archive_url":"https://api.github.com/repos/ianze/vertica-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ianze/vertica-python/downloads","issues_url":"https://api.github.com/repos/ianze/vertica-python/issues{/number}","pulls_url":"https://api.github.com/repos/ianze/vertica-python/pulls{/number}","milestones_url":"https://api.github.com/repos/ianze/vertica-python/milestones{/number}","notifications_url":"https://api.github.com/repos/ianze/vertica-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ianze/vertica-python/labels{/name}","releases_url":"https://api.github.com/repos/ianze/vertica-python/releases{/id}","deployments_url":"https://api.github.com/repos/ianze/vertica-python/deployments","created_at":"2018-12-17T15:46:19Z","updated_at":"2018-12-17T15:46:22Z","pushed_at":"2018-12-17T15:58:26Z","git_url":"git://github.com/ianze/vertica-python.git","ssh_url":"git@github.com:ianze/vertica-python.git","clone_url":"https://github.com/ianze/vertica-python.git","svn_url":"https://github.com/ianze/vertica-python","homepage":"","size":452,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"vertica:master","ref":"master","sha":"4f09d6eb49ffcb6fc93514e51d5a7904e0f9d651","user":{"login":"vertica","id":10060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDYw","avatar_url":"https://avatars0.githubusercontent.com/u/10060?v=4","gravatar_id":"","url":"https://api.github.com/users/vertica","html_url":"https://github.com/vertica","followers_url":"https://api.github.com/users/vertica/followers","following_url":"https://api.github.com/users/vertica/following{/other_user}","gists_url":"https://api.github.com/users/vertica/gists{/gist_id}","starred_url":"https://api.github.com/users/vertica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertica/subscriptions","organizations_url":"https://api.github.com/users/vertica/orgs","repos_url":"https://api.github.com/users/vertica/repos","events_url":"https://api.github.com/users/vertica/events{/privacy}","received_events_url":"https://api.github.com/users/vertica/received_events","type":"Organization","site_admin":false},"repo":{"id":11957229,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk1NzIyOQ==","name":"vertica-python","full_name":"vertica/vertica-python","private":false,"owner":{"login":"vertica","id":10060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDYw","avatar_url":"https://avatars0.githubusercontent.com/u/10060?v=4","gravatar_id":"","url":"https://api.github.com/users/vertica","html_url":"https://github.com/vertica","followers_url":"https://api.github.com/users/vertica/followers","following_url":"https://api.github.com/users/vertica/following{/other_user}","gists_url":"https://api.github.com/users/vertica/gists{/gist_id}","starred_url":"https://api.github.com/users/vertica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertica/subscriptions","organizations_url":"https://api.github.com/users/vertica/orgs","repos_url":"https://api.github.com/users/vertica/repos","events_url":"https://api.github.com/users/vertica/events{/privacy}","received_events_url":"https://api.github.com/users/vertica/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vertica/vertica-python","description":"vertica-python is a native Python adapter for the Vertica (http://www.vertica.com) database.","fork":false,"url":"https://api.github.com/repos/vertica/vertica-python","forks_url":"https://api.github.com/repos/vertica/vertica-python/forks","keys_url":"https://api.github.com/repos/vertica/vertica-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vertica/vertica-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vertica/vertica-python/teams","hooks_url":"https://api.github.com/repos/vertica/vertica-python/hooks","issue_events_url":"https://api.github.com/repos/vertica/vertica-python/issues/events{/number}","events_url":"https://api.github.com/repos/vertica/vertica-python/events","assignees_url":"https://api.github.com/repos/vertica/vertica-python/assignees{/user}","branches_url":"https://api.github.com/repos/vertica/vertica-python/branches{/branch}","tags_url":"https://api.github.com/repos/vertica/vertica-python/tags","blobs_url":"https://api.github.com/repos/vertica/vertica-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vertica/vertica-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vertica/vertica-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/vertica/vertica-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vertica/vertica-python/statuses/{sha}","languages_url":"https://api.github.com/repos/vertica/vertica-python/languages","stargazers_url":"https://api.github.com/repos/vertica/vertica-python/stargazers","contributors_url":"https://api.github.com/repos/vertica/vertica-python/contributors","subscribers_url":"https://api.github.com/repos/vertica/vertica-python/subscribers","subscription_url":"https://api.github.com/repos/vertica/vertica-python/subscription","commits_url":"https://api.github.com/repos/vertica/vertica-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/vertica/vertica-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/vertica/vertica-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/vertica/vertica-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/vertica/vertica-python/contents/{+path}","compare_url":"https://api.github.com/repos/vertica/vertica-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vertica/vertica-python/merges","archive_url":"https://api.github.com/repos/vertica/vertica-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vertica/vertica-python/downloads","issues_url":"https://api.github.com/repos/vertica/vertica-python/issues{/number}","pulls_url":"https://api.github.com/repos/vertica/vertica-python/pulls{/number}","milestones_url":"https://api.github.com/repos/vertica/vertica-python/milestones{/number}","notifications_url":"https://api.github.com/repos/vertica/vertica-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vertica/vertica-python/labels{/name}","releases_url":"https://api.github.com/repos/vertica/vertica-python/releases{/id}","deployments_url":"https://api.github.com/repos/vertica/vertica-python/deployments","created_at":"2013-08-07T18:25:15Z","updated_at":"2018-12-14T22:48:32Z","pushed_at":"2018-12-14T22:48:29Z","git_url":"git://github.com/vertica/vertica-python.git","ssh_url":"git@github.com:vertica/vertica-python.git","clone_url":"https://github.com/vertica/vertica-python.git","svn_url":"https://github.com/vertica/vertica-python","homepage":"","size":452,"stargazers_count":217,"watchers_count":217,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"archived":false,"open_issues_count":21,"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":114,"open_issues":21,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vertica/vertica-python/pulls/245"},"html":{"href":"https://github.com/vertica/vertica-python/pull/245"},"issue":{"href":"https://api.github.com/repos/vertica/vertica-python/issues/245"},"comments":{"href":"https://api.github.com/repos/vertica/vertica-python/issues/245/comments"},"review_comments":{"href":"https://api.github.com/repos/vertica/vertica-python/pulls/245/comments"},"review_comment":{"href":"https://api.github.com/repos/vertica/vertica-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vertica/vertica-python/pulls/245/commits"},"statuses":{"href":"https://api.github.com/repos/vertica/vertica-python/statuses/c5bff00ea39d54e2b77b9f296d9dfd1f4b40a4e8"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":6,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ianze"}}