Skip to content

GH-46584 Iterate endpoint - #63

Merged
alinaliBQ merged 19 commits into
apache-odbcfrom
gh-46584-iterate-endpoint
Jul 17, 2025
Merged

GH-46584 Iterate endpoint#63
alinaliBQ merged 19 commits into
apache-odbcfrom
gh-46584-iterate-endpoint

Conversation

@alinaliBQ

@alinaliBQ alinaliBQ commented Jul 10, 2025

Copy link
Copy Markdown

Work on apache#46584

@alinaliBQ
alinaliBQ force-pushed the gh-46584-iterate-endpoint branch from d01f18e to 6cb1ad3 Compare July 12, 2025 00:05
Add `arrow_flight_sql_shared` to enable usages for `TestFlightServer`
Update flight_sql_stream_chunk_buffer_test.cc

Add `FlightStreamChunkBufferTest` unit test

Draft test with `FlightSQLODBCMockEndpointTestBase`
@alinaliBQ
alinaliBQ force-pushed the gh-46584-iterate-endpoint branch from 83b4b45 to b1ad70f Compare July 15, 2025 20:22
Comment on lines 293 to 297
PRIVATE_INCLUDES
"${Protobuf_INCLUDE_DIRS}")
"${Protobuf_INCLUDE_DIRS}"
SHARED_PRIVATE_LINK_LIBS
GTest::gmock)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is the fix for the 12 build errors on the local environment. Rob and I have both seen this issue before. I am not sure why it is only visible in our local environments and not seen in CI

Comment on lines +61 to +63
// Return OK Status. The server should ignore this and just accept any Handshake
// request.
return outgoing->Write(std::string());
return arrow::Status::OK();

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

After the original flightsql-odbc code has been written, Arrow API changed and now would need OK to be returned directly instead of writing strings

@alinaliBQ
alinaliBQ marked this pull request as ready for review July 15, 2025 20:42
@@ -21,38 +21,71 @@
namespace driver {
namespace flight_sql {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The main fix is here

@alinaliBQ

Copy link
Copy Markdown
Author

Fixed merge conflicts

Comment thread cpp/src/arrow/flight/sql/odbc/flight_sql/flight_sql_stream_chunk_buffer.cc Outdated
Comment thread cpp/src/arrow/flight/sql/odbc/flight_sql/flight_sql_stream_chunk_buffer.cc Outdated
@alinaliBQ
alinaliBQ merged commit af9f125 into apache-odbc Jul 17, 2025
24 checks passed
@alinaliBQ
alinaliBQ deleted the gh-46584-iterate-endpoint branch July 17, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants