-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
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.
arrow/cpp/src/arrow/flight/sql/odbc/odbc_impl/get_info_cache.cc
Lines 409 to 411 in ced400e
| case SqlInfoOptions::SQL_DDL_TABLE: { | |
| bool supports_table_ddl = | |
| reinterpret_cast<BooleanScalar*>(scalar->child_value().get())->value; |
arrow/cpp/src/arrow/flight/sql/odbc/odbc_impl/get_info_cache.cc
Lines 397 to 399 in ced400e
| case SqlInfoOptions::SQL_DDL_SCHEMA: { | |
| bool supports_schema_ddl = | |
| reinterpret_cast<BooleanScalar*>(scalar->child_value().get())->value; |
Component(s)
FlightRPC, C++
Reactions are currently unavailable