apache / apache/arrow

[C++][FlightRPC][ODBC] Read booleans for applicable SqlInfoOptions

Open
#49,500 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

In SQLGetInfo, read the boolean values for `SqlInfoOptions::SQL_DDL_SCHEMA` and `SqlInfoOptions::SQL_DDL_TABLE` options, and determine the respective SQLGetInfo return value based on that boolean.

In example code below, `bool supports_*_ddl` variables are ignored.

https://github.com/apache/arrow/blob/ced400eddf21d6be98e74fa716f5228e0c9913c2/cpp/src/arrow/flight/sql/odbc/odbc_impl/get_info_cache.cc#L409-L411

https://github.com/apache/arrow/blob/ced400eddf21d6be98e74fa716f5228e0c9913c2/cpp/src/arrow/flight/sql/odbc/odbc_impl/get_info_cache.cc#L397-L399

### Component(s)

FlightRPC, C++

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.