Skip to content

Conversation

@alinaliBQ
Copy link
Contributor

@alinaliBQ alinaliBQ commented Nov 3, 2025

Rationale for this change

Add implementation for ODBC basic data fetching and retrieval

What changes are included in this PR?

  • SQLFetch & SQLGetData implementation, data retrieval bug fixes under odbc_impl
  • tests

Are these changes tested?

Tested on local MSVC.

Are there any user-facing changes?

N/A

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

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

@alinaliBQ alinaliBQ force-pushed the gh-47713-sql-fetch-get-data branch from 26304de to 7145d4a Compare November 10, 2025 19:24
@alinaliBQ alinaliBQ changed the title GH-47713: [C++][FlightRPC] WIP: ODBC Basic Data Retrieval GH-47713: [C++][FlightRPC] ODBC Basic Data Retrieval Nov 10, 2025
@alinaliBQ alinaliBQ force-pushed the gh-47713-sql-fetch-get-data branch 2 times, most recently from a0b2ecf to a5ad706 Compare November 10, 2025 21:56
@alinaliBQ
Copy link
Contributor Author

@lidavidm this draft PR is ready for review! Please have a look

@alinaliBQ alinaliBQ force-pushed the gh-47713-sql-fetch-get-data branch from a5ad706 to 62fd08d Compare December 3, 2025 22:03
Fix doxygen

Use `\return` not `\returns`

Co-Authored-By: alinalibq <[email protected]>
@alinaliBQ alinaliBQ force-pushed the gh-47713-sql-fetch-get-data branch from 62fd08d to eab3069 Compare December 4, 2025 22:52
Copy link
Contributor Author

@alinaliBQ alinaliBQ left a comment

Choose a reason for hiding this comment

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

Rebased and removed SQLFetchScroll tests as these tests will be added in #48041

using TestTypes = ::testing::Types<StatementMockTest, StatementRemoteTest>;
TYPED_TEST_SUITE(StatementTest, TestTypes);

TYPED_TEST(StatementTest, TestSQLExecDirectSimpleQuery) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some tests are from #48032. This PR enables the data fetching part of the test as SQLGetData and SQLFetch are implemented

@alinaliBQ alinaliBQ marked this pull request as ready for review December 4, 2025 22:54
@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Dec 4, 2025
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Dec 5, 2025
@lidavidm lidavidm merged commit 1f599f4 into apache:main Dec 5, 2025
48 of 49 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label Dec 5, 2025
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 1f599f4.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

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