You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "adarshvijayaraghavan (via GitHub)" <gi...@apache.org> on 2026/08/04 14:35:03 UTC
[I] [C++][FlightSQL][ODBC][SQLForeignKeys] Implement SQLForeignKeys catalog function [arrow]
adarshvijayaraghavan opened a new issue, #50806:
URL: https://github.com/apache/arrow/issues/50806
### Describe the enhancement requested
`SQLForeignKeys` is currently an unimplemented placeholder in the Arrow Flight SQL ODBC driver. In `cpp/src/arrow/flight/sql/odbc/entry_points.cc`, the entry point logs its arguments and then throws:
```
arrow::flight::sql::odbc::DriverException("SQLForeignKeysW is not implemented", "IM001")
```
The placeholder was added in #47725 with the intent that follow-up PRs would implement each API. This issue tracks implementing `SQLForeignKeys`.
The underlying capability already exists on the Flight SQL C++ client (`cpp/src/arrow/flight/sql/client.h`). Per the ODBC spec, `SQLForeignKeys` maps to different RPCs depending on which table arguments are provided: `GetExportedKeys()` (PK table only), `GetImportedKeys()` (FK table only), and `GetCrossReference()` (both).
Ref (SQLForeignKeys spec): https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlforeignkeys-function
Parent issue: https://github.com/apache/arrow/issues/30622
### Component(s)
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++][FlightSQL][ODBC][SQLForeignKeys] Implement SQLForeignKeys catalog function [arrow]
Posted by "apurvapm (via GitHub)" <gi...@apache.org>.
apurvapm commented on issue #50806:
URL: https://github.com/apache/arrow/issues/50806#issuecomment-5225473105
take
--
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