Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Oct 28, 2019

Conversation

traceon
Copy link
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
Contributor

akuzm commented Oct 25, 2019

Should we add an integration test for this?

@alex-zaitsev
Copy link
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
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
Member

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

@alexey-milovidov
Copy link
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.

None yet

7 participants