[C++][FlightRPC][ODBC] Enable DSN default values on macOS
Open
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
Assessment
This issue has not been assessed yet.