{"action":"created","issue":{"url":"https://api.github.com/repos/dinedal/textql/issues/38","labels_url":"https://api.github.com/repos/dinedal/textql/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/dinedal/textql/issues/38/comments","events_url":"https://api.github.com/repos/dinedal/textql/issues/38/events","html_url":"https://github.com/dinedal/textql/issues/38","id":53067865,"number":38,"title":"Column name with \"index\" throws a syntax error","user":{"login":"AshwinJay","id":222056,"avatar_url":"https://avatars.githubusercontent.com/u/222056?v=3","gravatar_id":"","url":"https://api.github.com/users/AshwinJay","html_url":"https://github.com/AshwinJay","followers_url":"https://api.github.com/users/AshwinJay/followers","following_url":"https://api.github.com/users/AshwinJay/following{/other_user}","gists_url":"https://api.github.com/users/AshwinJay/gists{/gist_id}","starred_url":"https://api.github.com/users/AshwinJay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshwinJay/subscriptions","organizations_url":"https://api.github.com/users/AshwinJay/orgs","repos_url":"https://api.github.com/users/AshwinJay/repos","events_url":"https://api.github.com/users/AshwinJay/events{/privacy}","received_events_url":"https://api.github.com/users/AshwinJay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-29T20:08:56Z","updated_at":"2015-12-18T06:24:49Z","closed_at":"2015-12-18T06:24:49Z","body":"Hi, this is a nice utility you've built, thanks. \r\n\r\nI just wanted to let you know that header columns with name like \"index\" throws:\r\n\r\n`2014/12/29 12:00:22 near \"index\": syntax error`\r\n\r\nI renamed it from \"index\" to \"fooindex\" and it worked!"},"comment":{"url":"https://api.github.com/repos/dinedal/textql/issues/comments/165687378","html_url":"https://github.com/dinedal/textql/issues/38#issuecomment-165687378","issue_url":"https://api.github.com/repos/dinedal/textql/issues/38","id":165687378,"user":{"login":"dinedal","id":606028,"avatar_url":"https://avatars.githubusercontent.com/u/606028?v=3","gravatar_id":"","url":"https://api.github.com/users/dinedal","html_url":"https://github.com/dinedal","followers_url":"https://api.github.com/users/dinedal/followers","following_url":"https://api.github.com/users/dinedal/following{/other_user}","gists_url":"https://api.github.com/users/dinedal/gists{/gist_id}","starred_url":"https://api.github.com/users/dinedal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinedal/subscriptions","organizations_url":"https://api.github.com/users/dinedal/orgs","repos_url":"https://api.github.com/users/dinedal/repos","events_url":"https://api.github.com/users/dinedal/events{/privacy}","received_events_url":"https://api.github.com/users/dinedal/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T06:24:49Z","updated_at":"2015-12-18T06:24:49Z","body":"This has been fixed in the latest version:\r\n\r\n```bash\r\n$ cat data2.csv\r\nid,name,index\r\n1,John,a\r\n2,Jacob,b\r\n3,Jingleheimer,c\r\n4,schmidt,d\r\n$ textql -header -sql 'select [index] from data2' data2.csv\r\na\r\nb\r\nc\r\nd\r\n```"}}