Awesome ClickHouseODBC

ClickHouse/clickhouse-odbc

⭐ 286 C repository created 2017-03-17

The project "clickhouse-odbc" is the official ODBC driver implementation designed to enable access to ClickHouse as a data source. ClickHouse is a fast open-source column-oriented database management system, and this driver facilitates connectivity between ClickHouse and applications that support ODBC (Open Database Connectivity) standards. The driver supports multiple platforms including Windows, macOS, and Linux, with pre-built binary packages available for common platforms. It is primarily tested against ClickHouse server version 21.3 but is compatible with other versions as well, though some older versions may have limitations related to handling null values, wire protocol support, and timezone conversions. The driver works through ODBC driver managers, which act as intermediaries between applications and the driver. It supports three main ODBC providers: MDAC/WDAC for Windows, UnixODBC for Unix-like systems, and iODBC, which is the standard on macOS. Users must ensure that the driver architecture (32-bit or 64-bit) matches the application and that the same ODBC provider is used at runtime. Installation can be done via native packages or by building from source, with detailed instructions provided for various operating systems. The driver requires proper configuration, including registration with the ODBC provider and defining Data Source Names (DSNs) with driver-specific parameters. Configuration files or registry keys must be edited depending on the platform and ODBC provider used. The project includes comprehensive documentation on installation, configuration, troubleshooting, and building from source. It also provides information on runtime dependencies for different operating systems. The driver is maintained with continuous integration workflows for Linux, macOS, and Windows to ensure build and test reliability. Overall, this project is essential for users who want to integrate ClickHouse with applications that use ODBC for database connectivity, providing a robust and cross-platform solution for accessing ClickHouse data.

https://github.com/ClickHouse/clickhouse-odbc

building-from-sourceclickhouseconfigurationcontinuous-integrationcross-platformdata-sourcedatabase-connectivitydriver-managerdsninstallationiodbclinuxmacosmdacodbcodbc-driverruntime-dependenciesunixodbcwdacwindows