Closed bsuligoj closed 3 years ago
@Shark4109
This sounds like your driver configuration issue.
I do not know how to configure every driver available. You should ask people who built your driver.
Sorry, but I cannot help you.
Alex
@alexbrainman
You are correct, it was the driver issue. For some reason The driver didn't care about the Driver=/opt/mapr/drill/lib/64/libdrillodbc_sb64.so
part. When I put this into code e.g. db, err := sql.Open("odbc", "DSN=local;Driver=/opt/mapr/drill/lib/64/libdrillodbc_sb64.so")
it worked.
Thanks for help anyway, and great work on ODBC imlepmentation 👍 .
Hi guys, I came across this issue and I have no idea how to proceed.
The driver I am using is for Apache Drill (maprdrill-1.5.1.1002-1.el7.x86_64.rpm), and the OS I am using is CentOS 7 (vagrant).
The driver works just fine with Python, also isql can see and use datasource without any problems.
My code looks fairly simple:
My /etc/odbc.ini looks like this:
My /etc/odbcinst.ini looks like this:
What I've tried so far:
Any help would be appreciated.
EDIT: I've tested the same code with the same configuration on Debian 10 and it works, both done on completely fresh instances in Vagrant.