Skip to content

Implement system_dsn for Mac - #154

Merged
justing-bq merged 1 commit into
apache-odbcfrom
macSystemDsn
Feb 11, 2026
Merged

Implement system_dsn for Mac#154
justing-bq merged 1 commit into
apache-odbcfrom
macSystemDsn

Conversation

@justing-bq

Copy link
Copy Markdown

Rationale for this change

Tests were disabled due to system_dsn only being for Windows.

What changes are included in this PR?

system_dsn.h/cc have been reworked so they build on both Mac and Windows

Are these changes tested?

Yes

Are there any user-facing changes?

Yes

@justing-bq justing-bq closed this Jan 29, 2026
@justing-bq justing-bq reopened this Jan 29, 2026
Comment thread cpp/src/arrow/flight/sql/odbc/odbc_impl/CMakeLists.txt
@justing-bq
justing-bq marked this pull request as draft January 29, 2026 18:04
@justing-bq
justing-bq force-pushed the macSystemDsn branch 26 times, most recently from 36bb302 to 97a053f Compare February 2, 2026 23:26
@justing-bq
justing-bq force-pushed the macSystemDsn branch 12 times, most recently from 1101033 to 5187728 Compare February 6, 2026 20:31
@justing-bq
justing-bq force-pushed the macSystemDsn branch 5 times, most recently from ef4d391 to b29790d Compare February 7, 2026 00:29
@justing-bq
justing-bq force-pushed the macSystemDsn branch 2 times, most recently from 5b7c87e to 83ee4c5 Compare February 10, 2026 19:54
@justing-bq
justing-bq marked this pull request as ready for review February 10, 2026 19:55
@alinaliBQ
alinaliBQ self-requested a review February 10, 2026 21:17

@alinaliBQ alinaliBQ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@justing-bq Seems the workflow is failing, could you re-run the workflow to see if that fixes it?
Log: https://github.com/Bit-Quill/arrow/actions/runs/21880194655/job/63160219264?pr=154

Comment thread ci/scripts/cpp_test.sh
Comment on lines 60 to 63
Darwin)
n_jobs=$(sysctl -n hw.ncpu)
exclude_tests+=("arrow-flight-sql-odbc-test")
# TODO: https://github.com/apache/arrow/issues/40410

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for making this change. I think the test error is flakey and can still occur if we run the workflow multiple times.

@justing-bq
justing-bq merged commit 1894997 into apache-odbc Feb 11, 2026
21 of 24 checks passed
@justing-bq
justing-bq deleted the macSystemDsn branch February 11, 2026 17:54
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