[C++][FlightRPC][ODBC] Add SQLGetInfo missing tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with the existing ConnectionInfoRemoteTest tests and the ConnectionInfoHandleTest typed-test setup. Add coverage for SQL_CREATE_TABLE and SQL_CREATE_SCHEMA, checking that both return 0 for the Dremio instance. Compare remote and mock expectations and merge the tests through the typed setup if their values match.
Written by the indexing model from the issue text.
Description
Describe the enhancement requested
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_SCHEMA
If the expected value from the remote is same as the mock server, then we can merge the remote test with the mock test by usingTYPED_TEST(ConnectionInfoHandleTest.
Theoretically these tests should also return 0 to signal table and schema DDL is not supported in Dremio instance. It also explains why we were only seeing inconsistencies in SQL_DROP_TABLE and SQL_DROP_SCHEMA in https://github.com/apache/arrow/issues/49482.
Component(s)
C++, FlightRPC
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 95
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.
More from apache/arrow
-
Component: Continuous Integration Component: MATLAB Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Component: C++ Component: Parquet Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Component: C++ Component: Parquet
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Component: C++ Type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Component: Archery Component: Continuous Integration Component: Developer Tools Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
mlcommons/mobile_app_open#1182 ·
-
Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/winget-cli#6547 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·