{"action":"opened","issue":{"url":"https://api.github.com/repos/yandex/clickhouse-jdbc/issues/226","repository_url":"https://api.github.com/repos/yandex/clickhouse-jdbc","labels_url":"https://api.github.com/repos/yandex/clickhouse-jdbc/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/yandex/clickhouse-jdbc/issues/226/comments","events_url":"https://api.github.com/repos/yandex/clickhouse-jdbc/issues/226/events","html_url":"https://github.com/yandex/clickhouse-jdbc/issues/226","id":352568341,"node_id":"MDU6SXNzdWUzNTI1NjgzNDE=","number":226,"title":"CREATE TABLE IF NOT EXISTS should not throw an exception when the table exists.","user":{"login":"HunterSherms","id":8989579,"node_id":"MDQ6VXNlcjg5ODk1Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/8989579?v=4","gravatar_id":"","url":"https://api.github.com/users/HunterSherms","html_url":"https://github.com/HunterSherms","followers_url":"https://api.github.com/users/HunterSherms/followers","following_url":"https://api.github.com/users/HunterSherms/following{/other_user}","gists_url":"https://api.github.com/users/HunterSherms/gists{/gist_id}","starred_url":"https://api.github.com/users/HunterSherms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HunterSherms/subscriptions","organizations_url":"https://api.github.com/users/HunterSherms/orgs","repos_url":"https://api.github.com/users/HunterSherms/repos","events_url":"https://api.github.com/users/HunterSherms/events{/privacy}","received_events_url":"https://api.github.com/users/HunterSherms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T14:29:08Z","updated_at":"2018-08-21T14:29:08Z","closed_at":null,"author_association":"NONE","body":"\"IF NOT EXISTS\" implies that nothing should be done if the table already exists.\r\n\r\nCurrently an exception is thrown:\r\n\r\n```Caused by: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 253, host: xxx.xx.xx.xx, port: xxxx; Code: 253, e.displayText() = DB::Exception: There was an error on ip-xxx-xx-xx-xx.ec2.internal: Code: 253, e.displayText() = DB::Exception: Replica /clickhouse/tables/13/table_name/replicas/hostname-us-east-1 already exists., e.what() = DB::Exception, e.what() = DB::Exception```"}}
{"actor":{"display_login":"HunterSherms"}}