Skip to content

Add handling of SQL_TINYINT and SQL_BIGINT, fix SQL_FLOAT in ODBC Bridge#7491

Merged
akuzm merged 1 commit intoClickHouse:masterfrom
traceon:odbc-bridge-type-mapping-fix
Oct 28, 2019
Merged

Add handling of SQL_TINYINT and SQL_BIGINT, fix SQL_FLOAT in ODBC Bridge#7491
akuzm merged 1 commit intoClickHouse:masterfrom
traceon:odbc-bridge-type-mapping-fix

Conversation

@traceon
Copy link
Copy Markdown
Contributor

@traceon traceon commented Oct 25, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Bug Fix

Short description (up to few sentences):

Add handling of SQL_TINYINT and SQL_BIGINT, and fix handling of SQL_FLOAT data source types in ODBC Bridge.

@akuzm
Copy link
Copy Markdown
Contributor

akuzm commented Oct 25, 2019

Should we add an integration test for this?

@alex-zaitsev
Copy link
Copy Markdown
Contributor

Should we add an integration test for this?

We can, but with MySQL the problem with SQL_FLOAT was not reproducible, because it reports different data types. So extending MySQL integration test would not help. We've faced this issue with MSSQL. I am not sure it makes sense to have MSSQL in integration tests just for this purpose.

@akuzm akuzm merged commit c3ea942 into ClickHouse:master Oct 28, 2019
@traceon traceon deleted the odbc-bridge-type-mapping-fix branch October 28, 2019 10:32
@alexey-milovidov
Copy link
Copy Markdown
Member

We should add integration test with MS SQL Server if the license permits:
https://hub.docker.com/_/microsoft-mssql-server

@alexey-milovidov
Copy link
Copy Markdown
Member

The purpose of integration tests is to test as many integrations as possible.

@alexey-milovidov
Copy link
Copy Markdown
Member

But first please add integration test of ClickHouse connection to ClickHouse through its own ODBC driver.

@akuzm akuzm added the pr-bugfix Pull request with bugfix, not backported by default label Oct 29, 2019
akuzm added a commit that referenced this pull request Oct 29, 2019
Add handling of SQL_TINYINT and SQL_BIGINT, fix SQL_FLOAT in ODBC Bridge

(cherry picked from commit c3ea942)
akuzm added a commit that referenced this pull request Oct 29, 2019
Add handling of SQL_TINYINT and SQL_BIGINT, fix SQL_FLOAT in ODBC Bridge

(cherry picked from commit c3ea942)
vitlibar pushed a commit that referenced this pull request Dec 26, 2019
Add handling of SQL_TINYINT and SQL_BIGINT, fix SQL_FLOAT in ODBC Bridge

(cherry picked from commit c3ea942)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants