opensearch-project / opensearch-project/sql-odbc
ODBC driver does not recognize its support for conversions[BUG]
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
ODBC driver does not recognize its support for conversions of any types. The SQL plugin supports casting of different types and should be reflected by the ODBC driver.
To Reproduce
Steps to reproduce the behavior:
- Install the ODBC driver from https://github.com/opensearch-project/sql/actions/runs/1555197058
- Open ODBCTest
- Click on the
Connbutton - Select
SQLGetInfo - Select
SQL_CONVERT_INTEGER=61 (1.0)for info type - See the result
InfoValuePtr = 0x00000000
Expected behavior
Should not be 0 as that represents unsupported.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the SQLGetInfo query for SQL_CONVERT_INTEGER=61 described in the issue, then trace how the ODBC driver reports conversion support. Done means the result is no longer 0 and reflects the SQL plugin's supported casts; verify the behavior through the same ODBCTest steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100