Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GH-49482: [C++][FlightRPC][ODBC] Fix inconsistent SQLGetInfo values in global connection #50021
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
base: main
Are you sure you want to change the base?
GH-49482: [C++][FlightRPC][ODBC] Fix inconsistent SQLGetInfo values in global connection #50021
Changes from all commits
4b13ca41864e217a68a25f312558de092edcfb3d10cbb6d27870e2319e47bdfFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the CI build failures from
checked_castin this file:https://github.com/apache/arrow/actions/runs/26406439067/job/77730895486?pr=50021#step:7:4419
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems there's some failing tests - some more test cases need updating?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vanshaj2023 To ensure maximum coverage, please build and run the ODBC tests locally against a Dremio docker instance with documentation here:
arrow/cpp/src/arrow/flight/sql/odbc/README.md
Lines 88 to 89 in cd1811b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope of this PR but helpful to mention, there is a gap that 2 tests are missing from the original implementation:
TEST_F(ConnectionInfoRemoteTest, TestSQLGetInfoCreateTable)forSQL_CREATE_TABLETEST_F(ConnectionInfoRemoteTest, TestSQLGetInfoCreateSchema)forSQL_CREATE_SCHEMATheoretically these tests should also return
0to signal table and schema DDL is not supported in Dremio instance. It also explains why we were only seeing inconsistencies inSQL_DROP_TABLEandSQL_DROP_SCHEMA.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I raised #50828 for this
Uh oh!
There was an error while loading. Please reload this page.