You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "alinaliBQ (via GitHub)" <gi...@apache.org> on 2025/10/17 22:58:41 UTC
[I] [C++][Arrow Flight SQL ODBC] Create different SQLGetInfo properties in `GetSqlInfo` [arrow]
alinaliBQ opened a new issue, #47855:
URL: https://github.com/apache/arrow/issues/47855
### Describe the enhancement requested
This issue is an optional one to consider.
Currently, `GetSqlInfo` doesn't have any additional properties. One can create custom properties in `GetSqlInfo` so that the ODBC can use these properties directly. The goals is to have 1 property per `case` statement For example, instead of:
```
case SqlInfoOptions::FLIGHT_SQL_SERVER_NAME: {
std::string server_name(
reinterpret_cast<StringScalar*>(scalar->child_value().get())->view());
info_[SQL_SERVER_NAME] = server_name;
info_[SQL_DBMS_NAME] = server_name;
info_[SQL_DATABASE_NAME] = server_name;
break;
}
```
we have:
```
case SqlInfoOptions::FLIGHT_SQL_SERVER_NAME: {
info_[SQL_SERVER_NAME] = server_name;
break;
}
case SQL_DBMS_NAME: {
info_[SQL_DBMS_NAME] = dbms_name;
break;
}
case SQL_DATABASE_NAME: {
info_[SQL_DATABASE_NAME] = database_name;
break;
}
```
`GetSqlInfo` current definition:
https://github.com/apache/arrow/blob/bab558061696ddc1841148d6210424b12923d48e/cpp/src/arrow/flight/sql/client.cc#L558-L564
### Component(s)
FlightRPC, C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Arrow Flight SQL ODBC] Create different SQLGetInfo properties in `GetSqlInfo` [arrow]
Posted by "github-actions[bot] (via GitHub) via issues" <is...@arrow.apache.org>.
github-actions[bot] closed issue #47855: [C++][Arrow Flight SQL ODBC] Create different SQLGetInfo properties in `GetSqlInfo`
URL: https://github.com/apache/arrow/issues/47855
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++][Arrow Flight SQL ODBC] Create different SQLGetInfo properties in `GetSqlInfo` [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #47855:
URL: https://github.com/apache/arrow/issues/47855#issuecomment-6266037178
This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org