apache / apache/arrow

[C++][FlightRPC][ODBC] Enable DSN default values on macOS

Open
#49,387 0 comments 0 reactions 0 assignees View on GitHub
Component: C++ Component: FlightRPC Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

Acceptance Criteria:
1. Enable these DSN default values for ODBC on macOS:
- `useEncryption`
- `useSystemTrustStore`
- `disableCertificateVerification`

2. Remove setting default in `ReadDsnString` since the driver manager on Windows and Mac, Linux implements `SQLGetPrivateProfileString` differently, so the way of passing defaults is consistent across platforms.
3. Document default values

----

Example code for enabling default values:

https://github.com/apache/arrow/blob/2fcc3ec9f04cfe73facef5155e831dac19ead853/cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_connection.cc#L211-L221

### Component(s)

C++, FlightRPC

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.