ClickHouse / ClickHouse/clickhouse-odbc

OracleBI Clickhouse connection with odbc driver string datatype problem

Open
#389 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
285
Forks
105
Avg merge
3h 56m
Merged PRs (30d)
3

Description

hi,

we want to connect oracle bi 12c 2.1.4.0 version to clickhouse using odbc driver. We did configurations and connected to clickhouse default db with oracle bi. we fetch data types of numbers and dates but we can't fetch string data types.

clickhouse-odbc-1.1.10-Linux.tar.gz
libclickhouseodbc.so

odbc.ini file info
--------------------------------
[ClickHouse]
Driver=/u01/middleware/bi/modules/oracle.bi.datadirect.odbc/7.1.6/lib/libclickhouseodbc.so
# Optional settings:
Description = ClickHouse
server = 10.0.157.81
database = default
#uid = default
port = 8123
#sslmode = require
Timeout=300000
--------------------------

odbcinst.ini file info
--------------------------------------
[ClickHouse]
Driver=/u01/middleware/bi/modules/oracle.bi.datadirect.odbc/7.1.6/lib/libclickhouseodbc.so
Setup=/u01/middleware/bi/modules/oracle.bi.datadirect.odbc/7.1.6/lib/libclickhouseodbc.so
----------------------------------------

Sample Analyses with date and numeric data type columns
![sampleDateNumber](https://user-images.githubusercontent.com/98466433/151171460-a778584f-233b-4cb0-ad62-e65c1eb5fff4.png)

Sample Analyses with string and numeric data type columns, looks no value it doesn't gives any error.
![stringDataType](https://user-images.githubusercontent.com/98466433/151171463-82ca6e38-a61e-4db4-a34a-309e57801d36.png)

With dbeaver screenshot.
![stringColumnValues](https://user-images.githubusercontent.com/98466433/151172142-3fa487b1-69c4-4feb-ac07-c8c2873623b5.png)

Contributor guide

Open the contributing guide

Research direction

Start with the odbc.ini and odbcinst.ini configuration and the ClickHouse ODBC driver version shown in the report. Reproduce the difference between Oracle BI and DBeaver for string columns, then trace how the driver exposes string data to Oracle BI. Done means string values are returned correctly in Oracle BI without breaking the working numeric and date columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.