Skip to content

Conversation

@alinaliBQ
Copy link
Contributor

@alinaliBQ alinaliBQ commented Nov 4, 2025

Rationale for this change

Implement SQLDescribeCol which "returns the result descriptor - column name,type, column size, decimal digits, and nullability - for one column in the result set. This information also is available in the fields of the IRD." (Microsoft doc reference)

What changes are included in this PR?

  • SQLDescribeCol & Tests

Are these changes tested?

Tested locally on MSVC Windows

Are there any user-facing changes?

n/a

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

⚠️ GitHub issue #47724 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added awaiting review Awaiting review awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Nov 4, 2025
@alinaliBQ alinaliBQ force-pushed the gh-47724-sql-describe-col branch from 3651989 to cbaabaf Compare November 10, 2025 23:59
@alinaliBQ alinaliBQ changed the title GH-47724: [C++][FlightRPC] WIP: ODBC descriptor column attribute value GH-47724: [C++][FlightRPC] ODBC descriptor column attribute value Nov 10, 2025
@alinaliBQ
Copy link
Contributor Author

@lidavidm this draft PR is ready for review! Please have a look. Please note: #48052 (comment)

@alinaliBQ alinaliBQ force-pushed the gh-47724-sql-describe-col branch 3 times, most recently from b9480f8 to b6fdfd6 Compare December 4, 2025 23:29
@alinaliBQ alinaliBQ force-pushed the gh-47724-sql-describe-col branch 2 times, most recently from e7e471b to 1cf04e2 Compare December 15, 2025 22:27
@alinaliBQ alinaliBQ force-pushed the gh-47724-sql-describe-col branch from 1cf04e2 to d6a9d12 Compare January 2, 2026 19:56
@alinaliBQ alinaliBQ marked this pull request as ready for review January 2, 2026 19:56
@alinaliBQ alinaliBQ requested a review from lidavidm as a code owner January 2, 2026 19:56
@lidavidm lidavidm changed the title GH-47724: [C++][FlightRPC] ODBC descriptor column attribute value GH-47724: [C++][FlightRPC] ODBC: implement SQLDescribeCol Jan 5, 2026
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better way to name these than '2' and '3'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I have changed ODBC2 to ODBCVer2 and ODBC3 to ODBCVer3 for better readability

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Jan 5, 2026
alinaliBQ and others added 2 commits January 6, 2026 11:46
This PR depends on SQLColAttribute for descriptor fixes, SQLColumns, SQLTables, and SQLGetTypeInfo for tests

Co-Authored-By: rscales <[email protected]>
Work on David's comment.
@alinaliBQ alinaliBQ force-pushed the gh-47724-sql-describe-col branch from d6a9d12 to 69fa019 Compare January 6, 2026 19:59
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants