{"action":"opened","issue":{"url":"https://api.github.com/repos/mymarilyn/clickhouse-driver/issues/54","repository_url":"https://api.github.com/repos/mymarilyn/clickhouse-driver","labels_url":"https://api.github.com/repos/mymarilyn/clickhouse-driver/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/mymarilyn/clickhouse-driver/issues/54/comments","events_url":"https://api.github.com/repos/mymarilyn/clickhouse-driver/issues/54/events","html_url":"https://github.com/mymarilyn/clickhouse-driver/issues/54","id":362138569,"node_id":"MDU6SXNzdWUzNjIxMzg1Njk=","number":54,"title":"Column names","user":{"login":"ghuname","id":15207713,"node_id":"MDQ6VXNlcjE1MjA3NzEz","avatar_url":"https://avatars2.githubusercontent.com/u/15207713?v=4","gravatar_id":"","url":"https://api.github.com/users/ghuname","html_url":"https://github.com/ghuname","followers_url":"https://api.github.com/users/ghuname/followers","following_url":"https://api.github.com/users/ghuname/following{/other_user}","gists_url":"https://api.github.com/users/ghuname/gists{/gist_id}","starred_url":"https://api.github.com/users/ghuname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghuname/subscriptions","organizations_url":"https://api.github.com/users/ghuname/orgs","repos_url":"https://api.github.com/users/ghuname/repos","events_url":"https://api.github.com/users/ghuname/events{/privacy}","received_events_url":"https://api.github.com/users/ghuname/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T11:12:45Z","updated_at":"2018-09-20T11:12:45Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI can execute:\r\n\r\nclient.execute('SELECT * FROM test3')\r\n\r\nor\r\n\r\nclient.execute('SELECT a, b, c FROM test3')\r\n\r\nand I will get list of tuples (one tuple for each row), but I don't have column names.\r\n\r\nIs it somehow possible to get all columns names (named tuple, or something) with the data itself, in order to simplify further data manipulation?\r\n\r\nFor example, after getting result set from client.execute('SELECT * FROM test3'), I have to manually find out all column names and than provide that information to the pandas dataframe.\r\n\r\nRegards."}}
{"actor":{"display_login":"ghuname"}}