HI all,
We're currently importing dictionaries into a Clickhouse 18.5.1 server from a Postgres server via ODBC. Clickhouse is installed from the Yandex APT repo, onto Ubuntu Xenial and Bionic.
I've not been able to get ODBC working with the same configuration with any Clickhouse version from 18.6.0 onwards. A simple test like:
:) select * from odbc('DSN=wombat', 'node_text');
works fine on 18.5.1, but fails when the machine is upgraded to later versions with:
Received exception from server (version 19.11.3):
Code: 86. DB::Exception: Received from localhost:9000. DB::Exception: Received error from remote server /columns_info?connection_string=DSN%3Dwombat&table=node_text. HTTP status code: 500 Internal Server Error, body: Error getting columns from ODBC 'Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Connection attempt failed: Connection:Not applicable
Server:wombat
===========================
ODBC Diagnostic record #1:
===========================
SQLSTATE = 01000
Native Error Code = 0
[unixODBC][Driver Manager]Can't open lib 'psqlodbcw.so' : file not found
Wireshark shows that no traffic is sent to the Postgres server. isql continues to work normally.
I think that 18.6.0 was when Clickhouse switched to using clickhouse-odbc-bridge. Is there some extra setup magic this needs that I've missed?
Thanks.