{"action":"created","issue":{"url":"https://api.github.com/repos/ibmdb/go_ibm_db/issues/38","repository_url":"https://api.github.com/repos/ibmdb/go_ibm_db","labels_url":"https://api.github.com/repos/ibmdb/go_ibm_db/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ibmdb/go_ibm_db/issues/38/comments","events_url":"https://api.github.com/repos/ibmdb/go_ibm_db/issues/38/events","html_url":"https://github.com/ibmdb/go_ibm_db/issues/38","id":501311560,"node_id":"MDU6SXNzdWU1MDEzMTE1NjA=","number":38,"title":"\"unsupported column type 16\" error when running SELECT on BOOLEAN columns","user":{"login":"xartishuk","id":24360955,"node_id":"MDQ6VXNlcjI0MzYwOTU1","avatar_url":"https://avatars0.githubusercontent.com/u/24360955?v=4","gravatar_id":"","url":"https://api.github.com/users/xartishuk","html_url":"https://github.com/xartishuk","followers_url":"https://api.github.com/users/xartishuk/followers","following_url":"https://api.github.com/users/xartishuk/following{/other_user}","gists_url":"https://api.github.com/users/xartishuk/gists{/gist_id}","starred_url":"https://api.github.com/users/xartishuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xartishuk/subscriptions","organizations_url":"https://api.github.com/users/xartishuk/orgs","repos_url":"https://api.github.com/users/xartishuk/repos","events_url":"https://api.github.com/users/xartishuk/events{/privacy}","received_events_url":"https://api.github.com/users/xartishuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-02T06:54:27Z","updated_at":"2019-10-03T04:56:30Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nI have a table `T` with a `BOOLEAN` column `IS_ACTIVE`. If i run `SELECT IS_ACTIVE FROM T;` I get \"unsupported column type 16\" error. INSERT works fine.\r\nI tried running `SELECT CAST(IS_ACTIVE AS BOOLEAN) FROM T;` - that doesn't work either.\r\nAs a temporary fix i'm running `SELECT CAST(IS_ACTIVE AS CHAR(1)) FROM T;`.\r\n\r\nI'm on go1.13, Windows. This issue doesn't reproduce via jdbc driver, so I assume it's go_ibm_db."},"comment":{"url":"https://api.github.com/repos/ibmdb/go_ibm_db/issues/comments/537786421","html_url":"https://github.com/ibmdb/go_ibm_db/issues/38#issuecomment-537786421","issue_url":"https://api.github.com/repos/ibmdb/go_ibm_db/issues/38","id":537786421,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNzc4NjQyMQ==","user":{"login":"akhilravuri1","id":32290825,"node_id":"MDQ6VXNlcjMyMjkwODI1","avatar_url":"https://avatars3.githubusercontent.com/u/32290825?v=4","gravatar_id":"","url":"https://api.github.com/users/akhilravuri1","html_url":"https://github.com/akhilravuri1","followers_url":"https://api.github.com/users/akhilravuri1/followers","following_url":"https://api.github.com/users/akhilravuri1/following{/other_user}","gists_url":"https://api.github.com/users/akhilravuri1/gists{/gist_id}","starred_url":"https://api.github.com/users/akhilravuri1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhilravuri1/subscriptions","organizations_url":"https://api.github.com/users/akhilravuri1/orgs","repos_url":"https://api.github.com/users/akhilravuri1/repos","events_url":"https://api.github.com/users/akhilravuri1/events{/privacy}","received_events_url":"https://api.github.com/users/akhilravuri1/received_events","type":"User","site_admin":false},"created_at":"2019-10-03T04:56:30Z","updated_at":"2019-10-03T04:56:30Z","author_association":"COLLABORATOR","body":"Hi @xartishuk \r\nI was not able to reproduce the issue.\r\nPlease do go get again and try to run the program.\r\n\r\nThanks,\r\nAkhil"}}
{"actor":{"display_login":"akhilravuri1"}}