Matthew-Zong / odbc

Automatically exported from code.google.com/p/odbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

failure with vertica driver #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From user report 
https://community.vertica.com/vertica/topics/syntax_error_at_or_near_at_end_of_t
he_query :

I'm trying to use vertica with Golang over ODBC. I can connect OK and am 
getting an error of "Syntax error at or near "\" at character 31"  for the 
query "select * from public.value_ref" - character 31 would be after the last 
letter of the table. No variations to the query have resolved error. This does 
work through JDBC and isql over ODBC with this same DSN.

Also https://groups.google.com/d/msg/golang-nuts/ysqaztTjQaA/Tcfk9f84qCQJ

Alex

Original issue reported on code.google.com by alex.bra...@gmail.com on 4 Aug 2014 at 12:30

GoogleCodeExporter commented 9 years ago
The fix https://codereview.appspot.com/120500043/

Alex

Original comment by alex.bra...@gmail.com on 4 Aug 2014 at 12:57

GoogleCodeExporter commented 9 years ago
Applied fix and now getting data out of Vertica database, thanks.

Original comment by Allan.Co...@gmail.com on 4 Aug 2014 at 3:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 725ec3d9cede.

Original comment by alex.bra...@gmail.com on 5 Aug 2014 at 2:42

GoogleCodeExporter commented 9 years ago
Allan.Cochrane, thank you for confirmation.

Alex

Original comment by alex.bra...@gmail.com on 5 Aug 2014 at 2:42