Skip to content

Use SQLWCHAR array for wide string literals in test suite#161

Merged
justing-bq merged 2 commits intoapache-odbcfrom
wcharArray
Mar 19, 2026
Merged

Use SQLWCHAR array for wide string literals in test suite#161
justing-bq merged 2 commits intoapache-odbcfrom
wcharArray

Conversation

@justing-bq
Copy link
Copy Markdown

@justing-bq justing-bq commented Mar 16, 2026

Rationale for this change

We want to use a SQLWCHAR array for wide string literal inside our test suite instead of a SQLWCHAR vector.

What changes are included in this PR?

SQLWCHAR vector used for wide string literals are replaced with a SQLWCHAR array instead.
Columns tests were refactored to perform assertions over std::string equality rather than wide string equality.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@justing-bq justing-bq marked this pull request as ready for review March 18, 2026 16:57
Copy link
Copy Markdown

@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.

Overall change LGTM, below CI failure is not caused by code changes in this PR.

Error: Unexpected shared dependency found in /Users/runner/work/arrow/arrow/build/cpp/debug/libarrow_flight_sql_odbc.dylib: `libunwind`
Error: Process completed with exit code 1.

@alinaliBQ
Copy link
Copy Markdown

@justing-bq Can you update the PR description before merge?

@justing-bq justing-bq merged commit 3697969 into apache-odbc Mar 19, 2026
38 of 48 checks passed
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.

2 participants